Amazon Elastic Compute Cloud
GET
GET_AcceptAddressTransfer
{{baseUrl}}/#Action=AcceptAddressTransfer
QUERY PARAMS
Address
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Address=&Action=&Version=#Action=AcceptAddressTransfer");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AcceptAddressTransfer" {:query-params {:Address ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Address=&Action=&Version=#Action=AcceptAddressTransfer"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Address=&Action=&Version=#Action=AcceptAddressTransfer"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Address=&Action=&Version=#Action=AcceptAddressTransfer");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Address=&Action=&Version=#Action=AcceptAddressTransfer"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Address=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Address=&Action=&Version=#Action=AcceptAddressTransfer")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Address=&Action=&Version=#Action=AcceptAddressTransfer"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Address=&Action=&Version=#Action=AcceptAddressTransfer")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Address=&Action=&Version=#Action=AcceptAddressTransfer")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Address=&Action=&Version=#Action=AcceptAddressTransfer');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AcceptAddressTransfer',
params: {Address: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Address=&Action=&Version=#Action=AcceptAddressTransfer';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Address=&Action=&Version=#Action=AcceptAddressTransfer',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Address=&Action=&Version=#Action=AcceptAddressTransfer")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Address=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AcceptAddressTransfer',
qs: {Address: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AcceptAddressTransfer');
req.query({
Address: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AcceptAddressTransfer',
params: {Address: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Address=&Action=&Version=#Action=AcceptAddressTransfer';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Address=&Action=&Version=#Action=AcceptAddressTransfer"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Address=&Action=&Version=#Action=AcceptAddressTransfer" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Address=&Action=&Version=#Action=AcceptAddressTransfer",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Address=&Action=&Version=#Action=AcceptAddressTransfer');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AcceptAddressTransfer');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Address' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AcceptAddressTransfer');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Address' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Address=&Action=&Version=#Action=AcceptAddressTransfer' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Address=&Action=&Version=#Action=AcceptAddressTransfer' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Address=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AcceptAddressTransfer"
querystring = {"Address":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AcceptAddressTransfer"
queryString <- list(
Address = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Address=&Action=&Version=#Action=AcceptAddressTransfer")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Address'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AcceptAddressTransfer";
let querystring = [
("Address", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Address=&Action=&Version=#Action=AcceptAddressTransfer'
http GET '{{baseUrl}}/?Address=&Action=&Version=#Action=AcceptAddressTransfer'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Address=&Action=&Version=#Action=AcceptAddressTransfer'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Address=&Action=&Version=#Action=AcceptAddressTransfer")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AcceptReservedInstancesExchangeQuote
{{baseUrl}}/#Action=AcceptReservedInstancesExchangeQuote
QUERY PARAMS
ReservedInstanceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=AcceptReservedInstancesExchangeQuote");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AcceptReservedInstancesExchangeQuote" {:query-params {:ReservedInstanceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=AcceptReservedInstancesExchangeQuote"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=AcceptReservedInstancesExchangeQuote"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=AcceptReservedInstancesExchangeQuote");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=AcceptReservedInstancesExchangeQuote"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ReservedInstanceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=AcceptReservedInstancesExchangeQuote")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=AcceptReservedInstancesExchangeQuote"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=AcceptReservedInstancesExchangeQuote")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=AcceptReservedInstancesExchangeQuote")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=AcceptReservedInstancesExchangeQuote');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AcceptReservedInstancesExchangeQuote',
params: {ReservedInstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=AcceptReservedInstancesExchangeQuote';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=AcceptReservedInstancesExchangeQuote',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=AcceptReservedInstancesExchangeQuote")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ReservedInstanceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AcceptReservedInstancesExchangeQuote',
qs: {ReservedInstanceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AcceptReservedInstancesExchangeQuote');
req.query({
ReservedInstanceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AcceptReservedInstancesExchangeQuote',
params: {ReservedInstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=AcceptReservedInstancesExchangeQuote';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=AcceptReservedInstancesExchangeQuote"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=AcceptReservedInstancesExchangeQuote" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=AcceptReservedInstancesExchangeQuote",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=AcceptReservedInstancesExchangeQuote');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AcceptReservedInstancesExchangeQuote');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ReservedInstanceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AcceptReservedInstancesExchangeQuote');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ReservedInstanceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=AcceptReservedInstancesExchangeQuote' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=AcceptReservedInstancesExchangeQuote' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ReservedInstanceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AcceptReservedInstancesExchangeQuote"
querystring = {"ReservedInstanceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AcceptReservedInstancesExchangeQuote"
queryString <- list(
ReservedInstanceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=AcceptReservedInstancesExchangeQuote")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ReservedInstanceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AcceptReservedInstancesExchangeQuote";
let querystring = [
("ReservedInstanceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=AcceptReservedInstancesExchangeQuote'
http GET '{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=AcceptReservedInstancesExchangeQuote'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=AcceptReservedInstancesExchangeQuote'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=AcceptReservedInstancesExchangeQuote")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AcceptTransitGatewayMulticastDomainAssociations
{{baseUrl}}/#Action=AcceptTransitGatewayMulticastDomainAssociations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AcceptTransitGatewayMulticastDomainAssociations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AcceptTransitGatewayMulticastDomainAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AcceptTransitGatewayMulticastDomainAssociations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AcceptTransitGatewayMulticastDomainAssociations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AcceptTransitGatewayMulticastDomainAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AcceptTransitGatewayMulticastDomainAssociations');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AcceptTransitGatewayMulticastDomainAssociations');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AcceptTransitGatewayMulticastDomainAssociations"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AcceptTransitGatewayMulticastDomainAssociations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AcceptTransitGatewayMulticastDomainAssociations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations'
http GET '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AcceptTransitGatewayPeeringAttachment
{{baseUrl}}/#Action=AcceptTransitGatewayPeeringAttachment
QUERY PARAMS
TransitGatewayAttachmentId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AcceptTransitGatewayPeeringAttachment" {:query-params {:TransitGatewayAttachmentId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayAttachmentId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AcceptTransitGatewayPeeringAttachment',
params: {TransitGatewayAttachmentId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayAttachmentId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AcceptTransitGatewayPeeringAttachment',
qs: {TransitGatewayAttachmentId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AcceptTransitGatewayPeeringAttachment');
req.query({
TransitGatewayAttachmentId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AcceptTransitGatewayPeeringAttachment',
params: {TransitGatewayAttachmentId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AcceptTransitGatewayPeeringAttachment');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayAttachmentId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AcceptTransitGatewayPeeringAttachment');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayAttachmentId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayAttachmentId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AcceptTransitGatewayPeeringAttachment"
querystring = {"TransitGatewayAttachmentId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AcceptTransitGatewayPeeringAttachment"
queryString <- list(
TransitGatewayAttachmentId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayAttachmentId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AcceptTransitGatewayPeeringAttachment";
let querystring = [
("TransitGatewayAttachmentId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment'
http GET '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AcceptTransitGatewayVpcAttachment
{{baseUrl}}/#Action=AcceptTransitGatewayVpcAttachment
QUERY PARAMS
TransitGatewayAttachmentId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayVpcAttachment");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AcceptTransitGatewayVpcAttachment" {:query-params {:TransitGatewayAttachmentId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayVpcAttachment"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayVpcAttachment"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayVpcAttachment");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayVpcAttachment"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayAttachmentId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayVpcAttachment")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayVpcAttachment"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayVpcAttachment")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayVpcAttachment")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayVpcAttachment');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AcceptTransitGatewayVpcAttachment',
params: {TransitGatewayAttachmentId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayVpcAttachment';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayVpcAttachment',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayVpcAttachment")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayAttachmentId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AcceptTransitGatewayVpcAttachment',
qs: {TransitGatewayAttachmentId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AcceptTransitGatewayVpcAttachment');
req.query({
TransitGatewayAttachmentId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AcceptTransitGatewayVpcAttachment',
params: {TransitGatewayAttachmentId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayVpcAttachment';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayVpcAttachment"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayVpcAttachment" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayVpcAttachment",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayVpcAttachment');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AcceptTransitGatewayVpcAttachment');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayAttachmentId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AcceptTransitGatewayVpcAttachment');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayAttachmentId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayVpcAttachment' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayVpcAttachment' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayAttachmentId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AcceptTransitGatewayVpcAttachment"
querystring = {"TransitGatewayAttachmentId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AcceptTransitGatewayVpcAttachment"
queryString <- list(
TransitGatewayAttachmentId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayVpcAttachment")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayAttachmentId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AcceptTransitGatewayVpcAttachment";
let querystring = [
("TransitGatewayAttachmentId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayVpcAttachment'
http GET '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayVpcAttachment'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayVpcAttachment'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=AcceptTransitGatewayVpcAttachment")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AcceptVpcEndpointConnections
{{baseUrl}}/#Action=AcceptVpcEndpointConnections
QUERY PARAMS
ServiceId
VpcEndpointId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=AcceptVpcEndpointConnections");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AcceptVpcEndpointConnections" {:query-params {:ServiceId ""
:VpcEndpointId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=AcceptVpcEndpointConnections"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=AcceptVpcEndpointConnections"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=AcceptVpcEndpointConnections");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=AcceptVpcEndpointConnections"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ServiceId=&VpcEndpointId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=AcceptVpcEndpointConnections")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=AcceptVpcEndpointConnections"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=AcceptVpcEndpointConnections")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=AcceptVpcEndpointConnections")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=AcceptVpcEndpointConnections');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AcceptVpcEndpointConnections',
params: {ServiceId: '', VpcEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=AcceptVpcEndpointConnections';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=AcceptVpcEndpointConnections',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=AcceptVpcEndpointConnections")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ServiceId=&VpcEndpointId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AcceptVpcEndpointConnections',
qs: {ServiceId: '', VpcEndpointId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AcceptVpcEndpointConnections');
req.query({
ServiceId: '',
VpcEndpointId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AcceptVpcEndpointConnections',
params: {ServiceId: '', VpcEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=AcceptVpcEndpointConnections';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=AcceptVpcEndpointConnections"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=AcceptVpcEndpointConnections" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=AcceptVpcEndpointConnections",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=AcceptVpcEndpointConnections');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AcceptVpcEndpointConnections');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ServiceId' => '',
'VpcEndpointId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AcceptVpcEndpointConnections');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ServiceId' => '',
'VpcEndpointId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=AcceptVpcEndpointConnections' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=AcceptVpcEndpointConnections' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ServiceId=&VpcEndpointId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AcceptVpcEndpointConnections"
querystring = {"ServiceId":"","VpcEndpointId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AcceptVpcEndpointConnections"
queryString <- list(
ServiceId = "",
VpcEndpointId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=AcceptVpcEndpointConnections")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ServiceId'] = ''
req.params['VpcEndpointId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AcceptVpcEndpointConnections";
let querystring = [
("ServiceId", ""),
("VpcEndpointId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=AcceptVpcEndpointConnections'
http GET '{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=AcceptVpcEndpointConnections'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=AcceptVpcEndpointConnections'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=AcceptVpcEndpointConnections")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AcceptVpcPeeringConnection
{{baseUrl}}/#Action=AcceptVpcPeeringConnection
QUERY PARAMS
VpcPeeringConnectionId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=AcceptVpcPeeringConnection");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AcceptVpcPeeringConnection" {:query-params {:VpcPeeringConnectionId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=AcceptVpcPeeringConnection"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=AcceptVpcPeeringConnection"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=AcceptVpcPeeringConnection");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=AcceptVpcPeeringConnection"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpcPeeringConnectionId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=AcceptVpcPeeringConnection")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=AcceptVpcPeeringConnection"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=AcceptVpcPeeringConnection")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=AcceptVpcPeeringConnection")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=AcceptVpcPeeringConnection');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AcceptVpcPeeringConnection',
params: {VpcPeeringConnectionId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=AcceptVpcPeeringConnection';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=AcceptVpcPeeringConnection',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=AcceptVpcPeeringConnection")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpcPeeringConnectionId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AcceptVpcPeeringConnection',
qs: {VpcPeeringConnectionId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AcceptVpcPeeringConnection');
req.query({
VpcPeeringConnectionId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AcceptVpcPeeringConnection',
params: {VpcPeeringConnectionId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=AcceptVpcPeeringConnection';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=AcceptVpcPeeringConnection"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=AcceptVpcPeeringConnection" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=AcceptVpcPeeringConnection",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=AcceptVpcPeeringConnection');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AcceptVpcPeeringConnection');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpcPeeringConnectionId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AcceptVpcPeeringConnection');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpcPeeringConnectionId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=AcceptVpcPeeringConnection' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=AcceptVpcPeeringConnection' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpcPeeringConnectionId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AcceptVpcPeeringConnection"
querystring = {"VpcPeeringConnectionId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AcceptVpcPeeringConnection"
queryString <- list(
VpcPeeringConnectionId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=AcceptVpcPeeringConnection")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpcPeeringConnectionId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AcceptVpcPeeringConnection";
let querystring = [
("VpcPeeringConnectionId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=AcceptVpcPeeringConnection'
http GET '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=AcceptVpcPeeringConnection'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=AcceptVpcPeeringConnection'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=AcceptVpcPeeringConnection")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AdvertiseByoipCidr
{{baseUrl}}/#Action=AdvertiseByoipCidr
QUERY PARAMS
Cidr
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Cidr=&Action=&Version=#Action=AdvertiseByoipCidr");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AdvertiseByoipCidr" {:query-params {:Cidr ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Cidr=&Action=&Version=#Action=AdvertiseByoipCidr"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Cidr=&Action=&Version=#Action=AdvertiseByoipCidr"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Cidr=&Action=&Version=#Action=AdvertiseByoipCidr");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Cidr=&Action=&Version=#Action=AdvertiseByoipCidr"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Cidr=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Cidr=&Action=&Version=#Action=AdvertiseByoipCidr")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Cidr=&Action=&Version=#Action=AdvertiseByoipCidr"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Cidr=&Action=&Version=#Action=AdvertiseByoipCidr")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Cidr=&Action=&Version=#Action=AdvertiseByoipCidr")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Cidr=&Action=&Version=#Action=AdvertiseByoipCidr');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AdvertiseByoipCidr',
params: {Cidr: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Cidr=&Action=&Version=#Action=AdvertiseByoipCidr';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Cidr=&Action=&Version=#Action=AdvertiseByoipCidr',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Cidr=&Action=&Version=#Action=AdvertiseByoipCidr")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Cidr=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AdvertiseByoipCidr',
qs: {Cidr: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AdvertiseByoipCidr');
req.query({
Cidr: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AdvertiseByoipCidr',
params: {Cidr: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Cidr=&Action=&Version=#Action=AdvertiseByoipCidr';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Cidr=&Action=&Version=#Action=AdvertiseByoipCidr"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Cidr=&Action=&Version=#Action=AdvertiseByoipCidr" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Cidr=&Action=&Version=#Action=AdvertiseByoipCidr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Cidr=&Action=&Version=#Action=AdvertiseByoipCidr');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AdvertiseByoipCidr');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Cidr' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AdvertiseByoipCidr');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Cidr' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Cidr=&Action=&Version=#Action=AdvertiseByoipCidr' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Cidr=&Action=&Version=#Action=AdvertiseByoipCidr' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Cidr=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AdvertiseByoipCidr"
querystring = {"Cidr":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AdvertiseByoipCidr"
queryString <- list(
Cidr = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Cidr=&Action=&Version=#Action=AdvertiseByoipCidr")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Cidr'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AdvertiseByoipCidr";
let querystring = [
("Cidr", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Cidr=&Action=&Version=#Action=AdvertiseByoipCidr'
http GET '{{baseUrl}}/?Cidr=&Action=&Version=#Action=AdvertiseByoipCidr'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Cidr=&Action=&Version=#Action=AdvertiseByoipCidr'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Cidr=&Action=&Version=#Action=AdvertiseByoipCidr")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AllocateAddress
{{baseUrl}}/#Action=AllocateAddress
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AllocateAddress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AllocateAddress" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AllocateAddress"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AllocateAddress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AllocateAddress");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AllocateAddress"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=AllocateAddress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AllocateAddress"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AllocateAddress")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=AllocateAddress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=AllocateAddress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AllocateAddress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AllocateAddress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AllocateAddress',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AllocateAddress")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AllocateAddress',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AllocateAddress');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AllocateAddress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AllocateAddress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AllocateAddress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AllocateAddress" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AllocateAddress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=AllocateAddress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AllocateAddress');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AllocateAddress');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AllocateAddress' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AllocateAddress' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AllocateAddress"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AllocateAddress"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AllocateAddress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AllocateAddress";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=AllocateAddress'
http GET '{{baseUrl}}/?Action=&Version=#Action=AllocateAddress'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AllocateAddress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AllocateAddress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"Domain": "standard",
"PublicIp": "198.51.100.0"
}
GET
GET_AllocateHosts
{{baseUrl}}/#Action=AllocateHosts
QUERY PARAMS
AvailabilityZone
Quantity
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?AvailabilityZone=&Quantity=&Action=&Version=#Action=AllocateHosts");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AllocateHosts" {:query-params {:AvailabilityZone ""
:Quantity ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?AvailabilityZone=&Quantity=&Action=&Version=#Action=AllocateHosts"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?AvailabilityZone=&Quantity=&Action=&Version=#Action=AllocateHosts"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?AvailabilityZone=&Quantity=&Action=&Version=#Action=AllocateHosts");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?AvailabilityZone=&Quantity=&Action=&Version=#Action=AllocateHosts"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?AvailabilityZone=&Quantity=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?AvailabilityZone=&Quantity=&Action=&Version=#Action=AllocateHosts")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?AvailabilityZone=&Quantity=&Action=&Version=#Action=AllocateHosts"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?AvailabilityZone=&Quantity=&Action=&Version=#Action=AllocateHosts")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?AvailabilityZone=&Quantity=&Action=&Version=#Action=AllocateHosts")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?AvailabilityZone=&Quantity=&Action=&Version=#Action=AllocateHosts');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AllocateHosts',
params: {AvailabilityZone: '', Quantity: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?AvailabilityZone=&Quantity=&Action=&Version=#Action=AllocateHosts';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?AvailabilityZone=&Quantity=&Action=&Version=#Action=AllocateHosts',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?AvailabilityZone=&Quantity=&Action=&Version=#Action=AllocateHosts")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?AvailabilityZone=&Quantity=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AllocateHosts',
qs: {AvailabilityZone: '', Quantity: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AllocateHosts');
req.query({
AvailabilityZone: '',
Quantity: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AllocateHosts',
params: {AvailabilityZone: '', Quantity: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?AvailabilityZone=&Quantity=&Action=&Version=#Action=AllocateHosts';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?AvailabilityZone=&Quantity=&Action=&Version=#Action=AllocateHosts"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?AvailabilityZone=&Quantity=&Action=&Version=#Action=AllocateHosts" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?AvailabilityZone=&Quantity=&Action=&Version=#Action=AllocateHosts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?AvailabilityZone=&Quantity=&Action=&Version=#Action=AllocateHosts');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AllocateHosts');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'AvailabilityZone' => '',
'Quantity' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AllocateHosts');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'AvailabilityZone' => '',
'Quantity' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?AvailabilityZone=&Quantity=&Action=&Version=#Action=AllocateHosts' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?AvailabilityZone=&Quantity=&Action=&Version=#Action=AllocateHosts' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?AvailabilityZone=&Quantity=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AllocateHosts"
querystring = {"AvailabilityZone":"","Quantity":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AllocateHosts"
queryString <- list(
AvailabilityZone = "",
Quantity = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?AvailabilityZone=&Quantity=&Action=&Version=#Action=AllocateHosts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['AvailabilityZone'] = ''
req.params['Quantity'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AllocateHosts";
let querystring = [
("AvailabilityZone", ""),
("Quantity", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?AvailabilityZone=&Quantity=&Action=&Version=#Action=AllocateHosts'
http GET '{{baseUrl}}/?AvailabilityZone=&Quantity=&Action=&Version=#Action=AllocateHosts'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?AvailabilityZone=&Quantity=&Action=&Version=#Action=AllocateHosts'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?AvailabilityZone=&Quantity=&Action=&Version=#Action=AllocateHosts")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AllocateIpamPoolCidr
{{baseUrl}}/#Action=AllocateIpamPoolCidr
QUERY PARAMS
IpamPoolId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=AllocateIpamPoolCidr");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AllocateIpamPoolCidr" {:query-params {:IpamPoolId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=AllocateIpamPoolCidr"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=AllocateIpamPoolCidr"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=AllocateIpamPoolCidr");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=AllocateIpamPoolCidr"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?IpamPoolId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=AllocateIpamPoolCidr")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=AllocateIpamPoolCidr"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=AllocateIpamPoolCidr")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=AllocateIpamPoolCidr")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=AllocateIpamPoolCidr');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AllocateIpamPoolCidr',
params: {IpamPoolId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=AllocateIpamPoolCidr';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=AllocateIpamPoolCidr',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=AllocateIpamPoolCidr")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?IpamPoolId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AllocateIpamPoolCidr',
qs: {IpamPoolId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AllocateIpamPoolCidr');
req.query({
IpamPoolId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AllocateIpamPoolCidr',
params: {IpamPoolId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=AllocateIpamPoolCidr';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=AllocateIpamPoolCidr"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=AllocateIpamPoolCidr" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=AllocateIpamPoolCidr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=AllocateIpamPoolCidr');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AllocateIpamPoolCidr');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'IpamPoolId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AllocateIpamPoolCidr');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'IpamPoolId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=AllocateIpamPoolCidr' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=AllocateIpamPoolCidr' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?IpamPoolId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AllocateIpamPoolCidr"
querystring = {"IpamPoolId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AllocateIpamPoolCidr"
queryString <- list(
IpamPoolId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=AllocateIpamPoolCidr")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['IpamPoolId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AllocateIpamPoolCidr";
let querystring = [
("IpamPoolId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=AllocateIpamPoolCidr'
http GET '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=AllocateIpamPoolCidr'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=AllocateIpamPoolCidr'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=AllocateIpamPoolCidr")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ApplySecurityGroupsToClientVpnTargetNetwork
{{baseUrl}}/#Action=ApplySecurityGroupsToClientVpnTargetNetwork
QUERY PARAMS
ClientVpnEndpointId
VpcId
SecurityGroupId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ClientVpnEndpointId=&VpcId=&SecurityGroupId=&Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ApplySecurityGroupsToClientVpnTargetNetwork" {:query-params {:ClientVpnEndpointId ""
:VpcId ""
:SecurityGroupId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ClientVpnEndpointId=&VpcId=&SecurityGroupId=&Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ClientVpnEndpointId=&VpcId=&SecurityGroupId=&Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ClientVpnEndpointId=&VpcId=&SecurityGroupId=&Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ClientVpnEndpointId=&VpcId=&SecurityGroupId=&Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ClientVpnEndpointId=&VpcId=&SecurityGroupId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ClientVpnEndpointId=&VpcId=&SecurityGroupId=&Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ClientVpnEndpointId=&VpcId=&SecurityGroupId=&Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&VpcId=&SecurityGroupId=&Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ClientVpnEndpointId=&VpcId=&SecurityGroupId=&Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ClientVpnEndpointId=&VpcId=&SecurityGroupId=&Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ApplySecurityGroupsToClientVpnTargetNetwork',
params: {
ClientVpnEndpointId: '',
VpcId: '',
SecurityGroupId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ClientVpnEndpointId=&VpcId=&SecurityGroupId=&Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ClientVpnEndpointId=&VpcId=&SecurityGroupId=&Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&VpcId=&SecurityGroupId=&Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ClientVpnEndpointId=&VpcId=&SecurityGroupId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ApplySecurityGroupsToClientVpnTargetNetwork',
qs: {
ClientVpnEndpointId: '',
VpcId: '',
SecurityGroupId: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ApplySecurityGroupsToClientVpnTargetNetwork');
req.query({
ClientVpnEndpointId: '',
VpcId: '',
SecurityGroupId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ApplySecurityGroupsToClientVpnTargetNetwork',
params: {
ClientVpnEndpointId: '',
VpcId: '',
SecurityGroupId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ClientVpnEndpointId=&VpcId=&SecurityGroupId=&Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ClientVpnEndpointId=&VpcId=&SecurityGroupId=&Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ClientVpnEndpointId=&VpcId=&SecurityGroupId=&Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ClientVpnEndpointId=&VpcId=&SecurityGroupId=&Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ClientVpnEndpointId=&VpcId=&SecurityGroupId=&Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ApplySecurityGroupsToClientVpnTargetNetwork');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ClientVpnEndpointId' => '',
'VpcId' => '',
'SecurityGroupId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ApplySecurityGroupsToClientVpnTargetNetwork');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ClientVpnEndpointId' => '',
'VpcId' => '',
'SecurityGroupId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ClientVpnEndpointId=&VpcId=&SecurityGroupId=&Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ClientVpnEndpointId=&VpcId=&SecurityGroupId=&Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ClientVpnEndpointId=&VpcId=&SecurityGroupId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ApplySecurityGroupsToClientVpnTargetNetwork"
querystring = {"ClientVpnEndpointId":"","VpcId":"","SecurityGroupId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ApplySecurityGroupsToClientVpnTargetNetwork"
queryString <- list(
ClientVpnEndpointId = "",
VpcId = "",
SecurityGroupId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ClientVpnEndpointId=&VpcId=&SecurityGroupId=&Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ClientVpnEndpointId'] = ''
req.params['VpcId'] = ''
req.params['SecurityGroupId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ApplySecurityGroupsToClientVpnTargetNetwork";
let querystring = [
("ClientVpnEndpointId", ""),
("VpcId", ""),
("SecurityGroupId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ClientVpnEndpointId=&VpcId=&SecurityGroupId=&Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork'
http GET '{{baseUrl}}/?ClientVpnEndpointId=&VpcId=&SecurityGroupId=&Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ClientVpnEndpointId=&VpcId=&SecurityGroupId=&Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ClientVpnEndpointId=&VpcId=&SecurityGroupId=&Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AssignIpv6Addresses
{{baseUrl}}/#Action=AssignIpv6Addresses
QUERY PARAMS
NetworkInterfaceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignIpv6Addresses");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AssignIpv6Addresses" {:query-params {:NetworkInterfaceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignIpv6Addresses"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignIpv6Addresses"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignIpv6Addresses");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignIpv6Addresses"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?NetworkInterfaceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignIpv6Addresses")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignIpv6Addresses"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignIpv6Addresses")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignIpv6Addresses")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignIpv6Addresses');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssignIpv6Addresses',
params: {NetworkInterfaceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignIpv6Addresses';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignIpv6Addresses',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignIpv6Addresses")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?NetworkInterfaceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssignIpv6Addresses',
qs: {NetworkInterfaceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AssignIpv6Addresses');
req.query({
NetworkInterfaceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssignIpv6Addresses',
params: {NetworkInterfaceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignIpv6Addresses';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignIpv6Addresses"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignIpv6Addresses" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignIpv6Addresses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignIpv6Addresses');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssignIpv6Addresses');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'NetworkInterfaceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssignIpv6Addresses');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'NetworkInterfaceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignIpv6Addresses' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignIpv6Addresses' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?NetworkInterfaceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssignIpv6Addresses"
querystring = {"NetworkInterfaceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssignIpv6Addresses"
queryString <- list(
NetworkInterfaceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignIpv6Addresses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['NetworkInterfaceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssignIpv6Addresses";
let querystring = [
("NetworkInterfaceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignIpv6Addresses'
http GET '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignIpv6Addresses'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignIpv6Addresses'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignIpv6Addresses")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AssignPrivateIpAddresses
{{baseUrl}}/#Action=AssignPrivateIpAddresses
QUERY PARAMS
NetworkInterfaceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignPrivateIpAddresses");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AssignPrivateIpAddresses" {:query-params {:NetworkInterfaceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignPrivateIpAddresses"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignPrivateIpAddresses"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignPrivateIpAddresses");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignPrivateIpAddresses"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?NetworkInterfaceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignPrivateIpAddresses")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignPrivateIpAddresses"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignPrivateIpAddresses")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignPrivateIpAddresses")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignPrivateIpAddresses');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssignPrivateIpAddresses',
params: {NetworkInterfaceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignPrivateIpAddresses';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignPrivateIpAddresses',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignPrivateIpAddresses")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?NetworkInterfaceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssignPrivateIpAddresses',
qs: {NetworkInterfaceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AssignPrivateIpAddresses');
req.query({
NetworkInterfaceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssignPrivateIpAddresses',
params: {NetworkInterfaceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignPrivateIpAddresses';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignPrivateIpAddresses"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignPrivateIpAddresses" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignPrivateIpAddresses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignPrivateIpAddresses');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssignPrivateIpAddresses');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'NetworkInterfaceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssignPrivateIpAddresses');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'NetworkInterfaceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignPrivateIpAddresses' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignPrivateIpAddresses' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?NetworkInterfaceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssignPrivateIpAddresses"
querystring = {"NetworkInterfaceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssignPrivateIpAddresses"
queryString <- list(
NetworkInterfaceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignPrivateIpAddresses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['NetworkInterfaceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssignPrivateIpAddresses";
let querystring = [
("NetworkInterfaceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignPrivateIpAddresses'
http GET '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignPrivateIpAddresses'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignPrivateIpAddresses'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=AssignPrivateIpAddresses")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AssignPrivateNatGatewayAddress
{{baseUrl}}/#Action=AssignPrivateNatGatewayAddress
QUERY PARAMS
NatGatewayId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=AssignPrivateNatGatewayAddress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AssignPrivateNatGatewayAddress" {:query-params {:NatGatewayId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=AssignPrivateNatGatewayAddress"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=AssignPrivateNatGatewayAddress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=AssignPrivateNatGatewayAddress");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=AssignPrivateNatGatewayAddress"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?NatGatewayId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=AssignPrivateNatGatewayAddress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=AssignPrivateNatGatewayAddress"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=AssignPrivateNatGatewayAddress")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=AssignPrivateNatGatewayAddress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=AssignPrivateNatGatewayAddress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssignPrivateNatGatewayAddress',
params: {NatGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=AssignPrivateNatGatewayAddress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=AssignPrivateNatGatewayAddress',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=AssignPrivateNatGatewayAddress")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?NatGatewayId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssignPrivateNatGatewayAddress',
qs: {NatGatewayId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AssignPrivateNatGatewayAddress');
req.query({
NatGatewayId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssignPrivateNatGatewayAddress',
params: {NatGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=AssignPrivateNatGatewayAddress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=AssignPrivateNatGatewayAddress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=AssignPrivateNatGatewayAddress" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=AssignPrivateNatGatewayAddress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=AssignPrivateNatGatewayAddress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssignPrivateNatGatewayAddress');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'NatGatewayId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssignPrivateNatGatewayAddress');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'NatGatewayId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=AssignPrivateNatGatewayAddress' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=AssignPrivateNatGatewayAddress' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?NatGatewayId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssignPrivateNatGatewayAddress"
querystring = {"NatGatewayId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssignPrivateNatGatewayAddress"
queryString <- list(
NatGatewayId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=AssignPrivateNatGatewayAddress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['NatGatewayId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssignPrivateNatGatewayAddress";
let querystring = [
("NatGatewayId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=AssignPrivateNatGatewayAddress'
http GET '{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=AssignPrivateNatGatewayAddress'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=AssignPrivateNatGatewayAddress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=AssignPrivateNatGatewayAddress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AssociateAddress
{{baseUrl}}/#Action=AssociateAddress
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AssociateAddress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AssociateAddress" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AssociateAddress"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AssociateAddress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AssociateAddress");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AssociateAddress"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=AssociateAddress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AssociateAddress"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateAddress")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=AssociateAddress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=AssociateAddress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateAddress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateAddress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AssociateAddress',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateAddress")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateAddress',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AssociateAddress');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateAddress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateAddress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AssociateAddress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AssociateAddress" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AssociateAddress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=AssociateAddress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateAddress');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateAddress');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateAddress' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateAddress' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateAddress"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateAddress"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AssociateAddress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateAddress";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=AssociateAddress'
http GET '{{baseUrl}}/?Action=&Version=#Action=AssociateAddress'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AssociateAddress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AssociateAddress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"AssociationId": "eipassoc-2bebb745"
}
GET
GET_AssociateClientVpnTargetNetwork
{{baseUrl}}/#Action=AssociateClientVpnTargetNetwork
QUERY PARAMS
ClientVpnEndpointId
SubnetId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ClientVpnEndpointId=&SubnetId=&Action=&Version=#Action=AssociateClientVpnTargetNetwork");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AssociateClientVpnTargetNetwork" {:query-params {:ClientVpnEndpointId ""
:SubnetId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ClientVpnEndpointId=&SubnetId=&Action=&Version=#Action=AssociateClientVpnTargetNetwork"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ClientVpnEndpointId=&SubnetId=&Action=&Version=#Action=AssociateClientVpnTargetNetwork"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ClientVpnEndpointId=&SubnetId=&Action=&Version=#Action=AssociateClientVpnTargetNetwork");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ClientVpnEndpointId=&SubnetId=&Action=&Version=#Action=AssociateClientVpnTargetNetwork"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ClientVpnEndpointId=&SubnetId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ClientVpnEndpointId=&SubnetId=&Action=&Version=#Action=AssociateClientVpnTargetNetwork")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ClientVpnEndpointId=&SubnetId=&Action=&Version=#Action=AssociateClientVpnTargetNetwork"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&SubnetId=&Action=&Version=#Action=AssociateClientVpnTargetNetwork")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ClientVpnEndpointId=&SubnetId=&Action=&Version=#Action=AssociateClientVpnTargetNetwork")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ClientVpnEndpointId=&SubnetId=&Action=&Version=#Action=AssociateClientVpnTargetNetwork');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateClientVpnTargetNetwork',
params: {ClientVpnEndpointId: '', SubnetId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ClientVpnEndpointId=&SubnetId=&Action=&Version=#Action=AssociateClientVpnTargetNetwork';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ClientVpnEndpointId=&SubnetId=&Action=&Version=#Action=AssociateClientVpnTargetNetwork',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&SubnetId=&Action=&Version=#Action=AssociateClientVpnTargetNetwork")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ClientVpnEndpointId=&SubnetId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateClientVpnTargetNetwork',
qs: {ClientVpnEndpointId: '', SubnetId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AssociateClientVpnTargetNetwork');
req.query({
ClientVpnEndpointId: '',
SubnetId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateClientVpnTargetNetwork',
params: {ClientVpnEndpointId: '', SubnetId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ClientVpnEndpointId=&SubnetId=&Action=&Version=#Action=AssociateClientVpnTargetNetwork';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ClientVpnEndpointId=&SubnetId=&Action=&Version=#Action=AssociateClientVpnTargetNetwork"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ClientVpnEndpointId=&SubnetId=&Action=&Version=#Action=AssociateClientVpnTargetNetwork" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ClientVpnEndpointId=&SubnetId=&Action=&Version=#Action=AssociateClientVpnTargetNetwork",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ClientVpnEndpointId=&SubnetId=&Action=&Version=#Action=AssociateClientVpnTargetNetwork');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateClientVpnTargetNetwork');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ClientVpnEndpointId' => '',
'SubnetId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateClientVpnTargetNetwork');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ClientVpnEndpointId' => '',
'SubnetId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ClientVpnEndpointId=&SubnetId=&Action=&Version=#Action=AssociateClientVpnTargetNetwork' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ClientVpnEndpointId=&SubnetId=&Action=&Version=#Action=AssociateClientVpnTargetNetwork' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ClientVpnEndpointId=&SubnetId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateClientVpnTargetNetwork"
querystring = {"ClientVpnEndpointId":"","SubnetId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateClientVpnTargetNetwork"
queryString <- list(
ClientVpnEndpointId = "",
SubnetId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ClientVpnEndpointId=&SubnetId=&Action=&Version=#Action=AssociateClientVpnTargetNetwork")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ClientVpnEndpointId'] = ''
req.params['SubnetId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateClientVpnTargetNetwork";
let querystring = [
("ClientVpnEndpointId", ""),
("SubnetId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ClientVpnEndpointId=&SubnetId=&Action=&Version=#Action=AssociateClientVpnTargetNetwork'
http GET '{{baseUrl}}/?ClientVpnEndpointId=&SubnetId=&Action=&Version=#Action=AssociateClientVpnTargetNetwork'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ClientVpnEndpointId=&SubnetId=&Action=&Version=#Action=AssociateClientVpnTargetNetwork'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ClientVpnEndpointId=&SubnetId=&Action=&Version=#Action=AssociateClientVpnTargetNetwork")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AssociateDhcpOptions
{{baseUrl}}/#Action=AssociateDhcpOptions
QUERY PARAMS
DhcpOptionsId
VpcId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?DhcpOptionsId=&VpcId=&Action=&Version=#Action=AssociateDhcpOptions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AssociateDhcpOptions" {:query-params {:DhcpOptionsId ""
:VpcId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?DhcpOptionsId=&VpcId=&Action=&Version=#Action=AssociateDhcpOptions"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?DhcpOptionsId=&VpcId=&Action=&Version=#Action=AssociateDhcpOptions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?DhcpOptionsId=&VpcId=&Action=&Version=#Action=AssociateDhcpOptions");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?DhcpOptionsId=&VpcId=&Action=&Version=#Action=AssociateDhcpOptions"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?DhcpOptionsId=&VpcId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?DhcpOptionsId=&VpcId=&Action=&Version=#Action=AssociateDhcpOptions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?DhcpOptionsId=&VpcId=&Action=&Version=#Action=AssociateDhcpOptions"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?DhcpOptionsId=&VpcId=&Action=&Version=#Action=AssociateDhcpOptions")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?DhcpOptionsId=&VpcId=&Action=&Version=#Action=AssociateDhcpOptions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?DhcpOptionsId=&VpcId=&Action=&Version=#Action=AssociateDhcpOptions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateDhcpOptions',
params: {DhcpOptionsId: '', VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?DhcpOptionsId=&VpcId=&Action=&Version=#Action=AssociateDhcpOptions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?DhcpOptionsId=&VpcId=&Action=&Version=#Action=AssociateDhcpOptions',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?DhcpOptionsId=&VpcId=&Action=&Version=#Action=AssociateDhcpOptions")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?DhcpOptionsId=&VpcId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateDhcpOptions',
qs: {DhcpOptionsId: '', VpcId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AssociateDhcpOptions');
req.query({
DhcpOptionsId: '',
VpcId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateDhcpOptions',
params: {DhcpOptionsId: '', VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?DhcpOptionsId=&VpcId=&Action=&Version=#Action=AssociateDhcpOptions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?DhcpOptionsId=&VpcId=&Action=&Version=#Action=AssociateDhcpOptions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?DhcpOptionsId=&VpcId=&Action=&Version=#Action=AssociateDhcpOptions" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?DhcpOptionsId=&VpcId=&Action=&Version=#Action=AssociateDhcpOptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?DhcpOptionsId=&VpcId=&Action=&Version=#Action=AssociateDhcpOptions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateDhcpOptions');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'DhcpOptionsId' => '',
'VpcId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateDhcpOptions');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'DhcpOptionsId' => '',
'VpcId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?DhcpOptionsId=&VpcId=&Action=&Version=#Action=AssociateDhcpOptions' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?DhcpOptionsId=&VpcId=&Action=&Version=#Action=AssociateDhcpOptions' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?DhcpOptionsId=&VpcId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateDhcpOptions"
querystring = {"DhcpOptionsId":"","VpcId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateDhcpOptions"
queryString <- list(
DhcpOptionsId = "",
VpcId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?DhcpOptionsId=&VpcId=&Action=&Version=#Action=AssociateDhcpOptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['DhcpOptionsId'] = ''
req.params['VpcId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateDhcpOptions";
let querystring = [
("DhcpOptionsId", ""),
("VpcId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?DhcpOptionsId=&VpcId=&Action=&Version=#Action=AssociateDhcpOptions'
http GET '{{baseUrl}}/?DhcpOptionsId=&VpcId=&Action=&Version=#Action=AssociateDhcpOptions'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?DhcpOptionsId=&VpcId=&Action=&Version=#Action=AssociateDhcpOptions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?DhcpOptionsId=&VpcId=&Action=&Version=#Action=AssociateDhcpOptions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AssociateEnclaveCertificateIamRole
{{baseUrl}}/#Action=AssociateEnclaveCertificateIamRole
QUERY PARAMS
CertificateArn
RoleArn
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=AssociateEnclaveCertificateIamRole");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AssociateEnclaveCertificateIamRole" {:query-params {:CertificateArn ""
:RoleArn ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=AssociateEnclaveCertificateIamRole"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=AssociateEnclaveCertificateIamRole"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=AssociateEnclaveCertificateIamRole");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=AssociateEnclaveCertificateIamRole"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?CertificateArn=&RoleArn=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=AssociateEnclaveCertificateIamRole")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=AssociateEnclaveCertificateIamRole"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=AssociateEnclaveCertificateIamRole")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=AssociateEnclaveCertificateIamRole")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=AssociateEnclaveCertificateIamRole');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateEnclaveCertificateIamRole',
params: {CertificateArn: '', RoleArn: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=AssociateEnclaveCertificateIamRole';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=AssociateEnclaveCertificateIamRole',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=AssociateEnclaveCertificateIamRole")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?CertificateArn=&RoleArn=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateEnclaveCertificateIamRole',
qs: {CertificateArn: '', RoleArn: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AssociateEnclaveCertificateIamRole');
req.query({
CertificateArn: '',
RoleArn: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateEnclaveCertificateIamRole',
params: {CertificateArn: '', RoleArn: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=AssociateEnclaveCertificateIamRole';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=AssociateEnclaveCertificateIamRole"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=AssociateEnclaveCertificateIamRole" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=AssociateEnclaveCertificateIamRole",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=AssociateEnclaveCertificateIamRole');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateEnclaveCertificateIamRole');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'CertificateArn' => '',
'RoleArn' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateEnclaveCertificateIamRole');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'CertificateArn' => '',
'RoleArn' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=AssociateEnclaveCertificateIamRole' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=AssociateEnclaveCertificateIamRole' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?CertificateArn=&RoleArn=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateEnclaveCertificateIamRole"
querystring = {"CertificateArn":"","RoleArn":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateEnclaveCertificateIamRole"
queryString <- list(
CertificateArn = "",
RoleArn = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=AssociateEnclaveCertificateIamRole")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['CertificateArn'] = ''
req.params['RoleArn'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateEnclaveCertificateIamRole";
let querystring = [
("CertificateArn", ""),
("RoleArn", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=AssociateEnclaveCertificateIamRole'
http GET '{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=AssociateEnclaveCertificateIamRole'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=AssociateEnclaveCertificateIamRole'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=AssociateEnclaveCertificateIamRole")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AssociateIamInstanceProfile
{{baseUrl}}/#Action=AssociateIamInstanceProfile
QUERY PARAMS
IamInstanceProfile
InstanceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?IamInstanceProfile=&InstanceId=&Action=&Version=#Action=AssociateIamInstanceProfile");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AssociateIamInstanceProfile" {:query-params {:IamInstanceProfile ""
:InstanceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?IamInstanceProfile=&InstanceId=&Action=&Version=#Action=AssociateIamInstanceProfile"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?IamInstanceProfile=&InstanceId=&Action=&Version=#Action=AssociateIamInstanceProfile"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?IamInstanceProfile=&InstanceId=&Action=&Version=#Action=AssociateIamInstanceProfile");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?IamInstanceProfile=&InstanceId=&Action=&Version=#Action=AssociateIamInstanceProfile"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?IamInstanceProfile=&InstanceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?IamInstanceProfile=&InstanceId=&Action=&Version=#Action=AssociateIamInstanceProfile")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?IamInstanceProfile=&InstanceId=&Action=&Version=#Action=AssociateIamInstanceProfile"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?IamInstanceProfile=&InstanceId=&Action=&Version=#Action=AssociateIamInstanceProfile")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?IamInstanceProfile=&InstanceId=&Action=&Version=#Action=AssociateIamInstanceProfile")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?IamInstanceProfile=&InstanceId=&Action=&Version=#Action=AssociateIamInstanceProfile');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateIamInstanceProfile',
params: {IamInstanceProfile: '', InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?IamInstanceProfile=&InstanceId=&Action=&Version=#Action=AssociateIamInstanceProfile';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?IamInstanceProfile=&InstanceId=&Action=&Version=#Action=AssociateIamInstanceProfile',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?IamInstanceProfile=&InstanceId=&Action=&Version=#Action=AssociateIamInstanceProfile")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?IamInstanceProfile=&InstanceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateIamInstanceProfile',
qs: {IamInstanceProfile: '', InstanceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AssociateIamInstanceProfile');
req.query({
IamInstanceProfile: '',
InstanceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateIamInstanceProfile',
params: {IamInstanceProfile: '', InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?IamInstanceProfile=&InstanceId=&Action=&Version=#Action=AssociateIamInstanceProfile';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?IamInstanceProfile=&InstanceId=&Action=&Version=#Action=AssociateIamInstanceProfile"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?IamInstanceProfile=&InstanceId=&Action=&Version=#Action=AssociateIamInstanceProfile" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?IamInstanceProfile=&InstanceId=&Action=&Version=#Action=AssociateIamInstanceProfile",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?IamInstanceProfile=&InstanceId=&Action=&Version=#Action=AssociateIamInstanceProfile');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateIamInstanceProfile');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'IamInstanceProfile' => '',
'InstanceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateIamInstanceProfile');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'IamInstanceProfile' => '',
'InstanceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?IamInstanceProfile=&InstanceId=&Action=&Version=#Action=AssociateIamInstanceProfile' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?IamInstanceProfile=&InstanceId=&Action=&Version=#Action=AssociateIamInstanceProfile' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?IamInstanceProfile=&InstanceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateIamInstanceProfile"
querystring = {"IamInstanceProfile":"","InstanceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateIamInstanceProfile"
queryString <- list(
IamInstanceProfile = "",
InstanceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?IamInstanceProfile=&InstanceId=&Action=&Version=#Action=AssociateIamInstanceProfile")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['IamInstanceProfile'] = ''
req.params['InstanceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateIamInstanceProfile";
let querystring = [
("IamInstanceProfile", ""),
("InstanceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?IamInstanceProfile=&InstanceId=&Action=&Version=#Action=AssociateIamInstanceProfile'
http GET '{{baseUrl}}/?IamInstanceProfile=&InstanceId=&Action=&Version=#Action=AssociateIamInstanceProfile'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?IamInstanceProfile=&InstanceId=&Action=&Version=#Action=AssociateIamInstanceProfile'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?IamInstanceProfile=&InstanceId=&Action=&Version=#Action=AssociateIamInstanceProfile")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"IamInstanceProfileAssociation": {
"AssociationId": "iip-assoc-0e7736511a163c209",
"IamInstanceProfile": {
"Arn": "arn:aws:iam::123456789012:instance-profile/admin-role",
"Id": "AIPAJBLK7RKJKWDXVHIEC"
},
"InstanceId": "i-123456789abcde123",
"State": "associating"
}
}
GET
GET_AssociateInstanceEventWindow
{{baseUrl}}/#Action=AssociateInstanceEventWindow
QUERY PARAMS
InstanceEventWindowId
AssociationTarget
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=AssociateInstanceEventWindow");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AssociateInstanceEventWindow" {:query-params {:InstanceEventWindowId ""
:AssociationTarget ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=AssociateInstanceEventWindow"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=AssociateInstanceEventWindow"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=AssociateInstanceEventWindow");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=AssociateInstanceEventWindow"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceEventWindowId=&AssociationTarget=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=AssociateInstanceEventWindow")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=AssociateInstanceEventWindow"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=AssociateInstanceEventWindow")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=AssociateInstanceEventWindow")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=AssociateInstanceEventWindow');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateInstanceEventWindow',
params: {InstanceEventWindowId: '', AssociationTarget: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=AssociateInstanceEventWindow';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=AssociateInstanceEventWindow',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=AssociateInstanceEventWindow")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateInstanceEventWindow',
qs: {InstanceEventWindowId: '', AssociationTarget: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AssociateInstanceEventWindow');
req.query({
InstanceEventWindowId: '',
AssociationTarget: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateInstanceEventWindow',
params: {InstanceEventWindowId: '', AssociationTarget: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=AssociateInstanceEventWindow';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=AssociateInstanceEventWindow"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=AssociateInstanceEventWindow" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=AssociateInstanceEventWindow",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=AssociateInstanceEventWindow');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateInstanceEventWindow');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceEventWindowId' => '',
'AssociationTarget' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateInstanceEventWindow');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceEventWindowId' => '',
'AssociationTarget' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=AssociateInstanceEventWindow' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=AssociateInstanceEventWindow' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateInstanceEventWindow"
querystring = {"InstanceEventWindowId":"","AssociationTarget":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateInstanceEventWindow"
queryString <- list(
InstanceEventWindowId = "",
AssociationTarget = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=AssociateInstanceEventWindow")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceEventWindowId'] = ''
req.params['AssociationTarget'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateInstanceEventWindow";
let querystring = [
("InstanceEventWindowId", ""),
("AssociationTarget", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=AssociateInstanceEventWindow'
http GET '{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=AssociateInstanceEventWindow'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=AssociateInstanceEventWindow'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=AssociateInstanceEventWindow")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AssociateIpamResourceDiscovery
{{baseUrl}}/#Action=AssociateIpamResourceDiscovery
QUERY PARAMS
IpamId
IpamResourceDiscoveryId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?IpamId=&IpamResourceDiscoveryId=&Action=&Version=#Action=AssociateIpamResourceDiscovery");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AssociateIpamResourceDiscovery" {:query-params {:IpamId ""
:IpamResourceDiscoveryId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?IpamId=&IpamResourceDiscoveryId=&Action=&Version=#Action=AssociateIpamResourceDiscovery"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?IpamId=&IpamResourceDiscoveryId=&Action=&Version=#Action=AssociateIpamResourceDiscovery"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?IpamId=&IpamResourceDiscoveryId=&Action=&Version=#Action=AssociateIpamResourceDiscovery");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?IpamId=&IpamResourceDiscoveryId=&Action=&Version=#Action=AssociateIpamResourceDiscovery"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?IpamId=&IpamResourceDiscoveryId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?IpamId=&IpamResourceDiscoveryId=&Action=&Version=#Action=AssociateIpamResourceDiscovery")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?IpamId=&IpamResourceDiscoveryId=&Action=&Version=#Action=AssociateIpamResourceDiscovery"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?IpamId=&IpamResourceDiscoveryId=&Action=&Version=#Action=AssociateIpamResourceDiscovery")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?IpamId=&IpamResourceDiscoveryId=&Action=&Version=#Action=AssociateIpamResourceDiscovery")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?IpamId=&IpamResourceDiscoveryId=&Action=&Version=#Action=AssociateIpamResourceDiscovery');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateIpamResourceDiscovery',
params: {IpamId: '', IpamResourceDiscoveryId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?IpamId=&IpamResourceDiscoveryId=&Action=&Version=#Action=AssociateIpamResourceDiscovery';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?IpamId=&IpamResourceDiscoveryId=&Action=&Version=#Action=AssociateIpamResourceDiscovery',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?IpamId=&IpamResourceDiscoveryId=&Action=&Version=#Action=AssociateIpamResourceDiscovery")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?IpamId=&IpamResourceDiscoveryId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateIpamResourceDiscovery',
qs: {IpamId: '', IpamResourceDiscoveryId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AssociateIpamResourceDiscovery');
req.query({
IpamId: '',
IpamResourceDiscoveryId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateIpamResourceDiscovery',
params: {IpamId: '', IpamResourceDiscoveryId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?IpamId=&IpamResourceDiscoveryId=&Action=&Version=#Action=AssociateIpamResourceDiscovery';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?IpamId=&IpamResourceDiscoveryId=&Action=&Version=#Action=AssociateIpamResourceDiscovery"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?IpamId=&IpamResourceDiscoveryId=&Action=&Version=#Action=AssociateIpamResourceDiscovery" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?IpamId=&IpamResourceDiscoveryId=&Action=&Version=#Action=AssociateIpamResourceDiscovery",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?IpamId=&IpamResourceDiscoveryId=&Action=&Version=#Action=AssociateIpamResourceDiscovery');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateIpamResourceDiscovery');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'IpamId' => '',
'IpamResourceDiscoveryId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateIpamResourceDiscovery');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'IpamId' => '',
'IpamResourceDiscoveryId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?IpamId=&IpamResourceDiscoveryId=&Action=&Version=#Action=AssociateIpamResourceDiscovery' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?IpamId=&IpamResourceDiscoveryId=&Action=&Version=#Action=AssociateIpamResourceDiscovery' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?IpamId=&IpamResourceDiscoveryId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateIpamResourceDiscovery"
querystring = {"IpamId":"","IpamResourceDiscoveryId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateIpamResourceDiscovery"
queryString <- list(
IpamId = "",
IpamResourceDiscoveryId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?IpamId=&IpamResourceDiscoveryId=&Action=&Version=#Action=AssociateIpamResourceDiscovery")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['IpamId'] = ''
req.params['IpamResourceDiscoveryId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateIpamResourceDiscovery";
let querystring = [
("IpamId", ""),
("IpamResourceDiscoveryId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?IpamId=&IpamResourceDiscoveryId=&Action=&Version=#Action=AssociateIpamResourceDiscovery'
http GET '{{baseUrl}}/?IpamId=&IpamResourceDiscoveryId=&Action=&Version=#Action=AssociateIpamResourceDiscovery'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?IpamId=&IpamResourceDiscoveryId=&Action=&Version=#Action=AssociateIpamResourceDiscovery'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?IpamId=&IpamResourceDiscoveryId=&Action=&Version=#Action=AssociateIpamResourceDiscovery")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AssociateNatGatewayAddress
{{baseUrl}}/#Action=AssociateNatGatewayAddress
QUERY PARAMS
NatGatewayId
AllocationId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?NatGatewayId=&AllocationId=&Action=&Version=#Action=AssociateNatGatewayAddress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AssociateNatGatewayAddress" {:query-params {:NatGatewayId ""
:AllocationId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?NatGatewayId=&AllocationId=&Action=&Version=#Action=AssociateNatGatewayAddress"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?NatGatewayId=&AllocationId=&Action=&Version=#Action=AssociateNatGatewayAddress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?NatGatewayId=&AllocationId=&Action=&Version=#Action=AssociateNatGatewayAddress");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?NatGatewayId=&AllocationId=&Action=&Version=#Action=AssociateNatGatewayAddress"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?NatGatewayId=&AllocationId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?NatGatewayId=&AllocationId=&Action=&Version=#Action=AssociateNatGatewayAddress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?NatGatewayId=&AllocationId=&Action=&Version=#Action=AssociateNatGatewayAddress"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?NatGatewayId=&AllocationId=&Action=&Version=#Action=AssociateNatGatewayAddress")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?NatGatewayId=&AllocationId=&Action=&Version=#Action=AssociateNatGatewayAddress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?NatGatewayId=&AllocationId=&Action=&Version=#Action=AssociateNatGatewayAddress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateNatGatewayAddress',
params: {NatGatewayId: '', AllocationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?NatGatewayId=&AllocationId=&Action=&Version=#Action=AssociateNatGatewayAddress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?NatGatewayId=&AllocationId=&Action=&Version=#Action=AssociateNatGatewayAddress',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?NatGatewayId=&AllocationId=&Action=&Version=#Action=AssociateNatGatewayAddress")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?NatGatewayId=&AllocationId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateNatGatewayAddress',
qs: {NatGatewayId: '', AllocationId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AssociateNatGatewayAddress');
req.query({
NatGatewayId: '',
AllocationId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateNatGatewayAddress',
params: {NatGatewayId: '', AllocationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?NatGatewayId=&AllocationId=&Action=&Version=#Action=AssociateNatGatewayAddress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?NatGatewayId=&AllocationId=&Action=&Version=#Action=AssociateNatGatewayAddress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?NatGatewayId=&AllocationId=&Action=&Version=#Action=AssociateNatGatewayAddress" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?NatGatewayId=&AllocationId=&Action=&Version=#Action=AssociateNatGatewayAddress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?NatGatewayId=&AllocationId=&Action=&Version=#Action=AssociateNatGatewayAddress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateNatGatewayAddress');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'NatGatewayId' => '',
'AllocationId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateNatGatewayAddress');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'NatGatewayId' => '',
'AllocationId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?NatGatewayId=&AllocationId=&Action=&Version=#Action=AssociateNatGatewayAddress' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?NatGatewayId=&AllocationId=&Action=&Version=#Action=AssociateNatGatewayAddress' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?NatGatewayId=&AllocationId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateNatGatewayAddress"
querystring = {"NatGatewayId":"","AllocationId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateNatGatewayAddress"
queryString <- list(
NatGatewayId = "",
AllocationId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?NatGatewayId=&AllocationId=&Action=&Version=#Action=AssociateNatGatewayAddress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['NatGatewayId'] = ''
req.params['AllocationId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateNatGatewayAddress";
let querystring = [
("NatGatewayId", ""),
("AllocationId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?NatGatewayId=&AllocationId=&Action=&Version=#Action=AssociateNatGatewayAddress'
http GET '{{baseUrl}}/?NatGatewayId=&AllocationId=&Action=&Version=#Action=AssociateNatGatewayAddress'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?NatGatewayId=&AllocationId=&Action=&Version=#Action=AssociateNatGatewayAddress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?NatGatewayId=&AllocationId=&Action=&Version=#Action=AssociateNatGatewayAddress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AssociateRouteTable
{{baseUrl}}/#Action=AssociateRouteTable
QUERY PARAMS
RouteTableId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=AssociateRouteTable");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AssociateRouteTable" {:query-params {:RouteTableId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=AssociateRouteTable"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=AssociateRouteTable"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=AssociateRouteTable");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=AssociateRouteTable"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?RouteTableId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=AssociateRouteTable")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=AssociateRouteTable"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=AssociateRouteTable")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=AssociateRouteTable")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=AssociateRouteTable');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateRouteTable',
params: {RouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=AssociateRouteTable';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=AssociateRouteTable',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=AssociateRouteTable")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?RouteTableId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateRouteTable',
qs: {RouteTableId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AssociateRouteTable');
req.query({
RouteTableId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateRouteTable',
params: {RouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=AssociateRouteTable';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=AssociateRouteTable"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=AssociateRouteTable" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=AssociateRouteTable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=AssociateRouteTable');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateRouteTable');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'RouteTableId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateRouteTable');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'RouteTableId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=AssociateRouteTable' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=AssociateRouteTable' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?RouteTableId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateRouteTable"
querystring = {"RouteTableId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateRouteTable"
queryString <- list(
RouteTableId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=AssociateRouteTable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['RouteTableId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateRouteTable";
let querystring = [
("RouteTableId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=AssociateRouteTable'
http GET '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=AssociateRouteTable'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=AssociateRouteTable'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=AssociateRouteTable")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"AssociationId": "rtbassoc-781d0d1a"
}
GET
GET_AssociateSubnetCidrBlock
{{baseUrl}}/#Action=AssociateSubnetCidrBlock
QUERY PARAMS
Ipv6CidrBlock
SubnetId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Ipv6CidrBlock=&SubnetId=&Action=&Version=#Action=AssociateSubnetCidrBlock");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AssociateSubnetCidrBlock" {:query-params {:Ipv6CidrBlock ""
:SubnetId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Ipv6CidrBlock=&SubnetId=&Action=&Version=#Action=AssociateSubnetCidrBlock"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Ipv6CidrBlock=&SubnetId=&Action=&Version=#Action=AssociateSubnetCidrBlock"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Ipv6CidrBlock=&SubnetId=&Action=&Version=#Action=AssociateSubnetCidrBlock");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Ipv6CidrBlock=&SubnetId=&Action=&Version=#Action=AssociateSubnetCidrBlock"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Ipv6CidrBlock=&SubnetId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Ipv6CidrBlock=&SubnetId=&Action=&Version=#Action=AssociateSubnetCidrBlock")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Ipv6CidrBlock=&SubnetId=&Action=&Version=#Action=AssociateSubnetCidrBlock"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Ipv6CidrBlock=&SubnetId=&Action=&Version=#Action=AssociateSubnetCidrBlock")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Ipv6CidrBlock=&SubnetId=&Action=&Version=#Action=AssociateSubnetCidrBlock")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Ipv6CidrBlock=&SubnetId=&Action=&Version=#Action=AssociateSubnetCidrBlock');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateSubnetCidrBlock',
params: {Ipv6CidrBlock: '', SubnetId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Ipv6CidrBlock=&SubnetId=&Action=&Version=#Action=AssociateSubnetCidrBlock';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Ipv6CidrBlock=&SubnetId=&Action=&Version=#Action=AssociateSubnetCidrBlock',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Ipv6CidrBlock=&SubnetId=&Action=&Version=#Action=AssociateSubnetCidrBlock")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Ipv6CidrBlock=&SubnetId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateSubnetCidrBlock',
qs: {Ipv6CidrBlock: '', SubnetId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AssociateSubnetCidrBlock');
req.query({
Ipv6CidrBlock: '',
SubnetId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateSubnetCidrBlock',
params: {Ipv6CidrBlock: '', SubnetId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Ipv6CidrBlock=&SubnetId=&Action=&Version=#Action=AssociateSubnetCidrBlock';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Ipv6CidrBlock=&SubnetId=&Action=&Version=#Action=AssociateSubnetCidrBlock"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Ipv6CidrBlock=&SubnetId=&Action=&Version=#Action=AssociateSubnetCidrBlock" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Ipv6CidrBlock=&SubnetId=&Action=&Version=#Action=AssociateSubnetCidrBlock",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Ipv6CidrBlock=&SubnetId=&Action=&Version=#Action=AssociateSubnetCidrBlock');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateSubnetCidrBlock');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Ipv6CidrBlock' => '',
'SubnetId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateSubnetCidrBlock');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Ipv6CidrBlock' => '',
'SubnetId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Ipv6CidrBlock=&SubnetId=&Action=&Version=#Action=AssociateSubnetCidrBlock' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Ipv6CidrBlock=&SubnetId=&Action=&Version=#Action=AssociateSubnetCidrBlock' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Ipv6CidrBlock=&SubnetId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateSubnetCidrBlock"
querystring = {"Ipv6CidrBlock":"","SubnetId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateSubnetCidrBlock"
queryString <- list(
Ipv6CidrBlock = "",
SubnetId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Ipv6CidrBlock=&SubnetId=&Action=&Version=#Action=AssociateSubnetCidrBlock")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Ipv6CidrBlock'] = ''
req.params['SubnetId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateSubnetCidrBlock";
let querystring = [
("Ipv6CidrBlock", ""),
("SubnetId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Ipv6CidrBlock=&SubnetId=&Action=&Version=#Action=AssociateSubnetCidrBlock'
http GET '{{baseUrl}}/?Ipv6CidrBlock=&SubnetId=&Action=&Version=#Action=AssociateSubnetCidrBlock'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Ipv6CidrBlock=&SubnetId=&Action=&Version=#Action=AssociateSubnetCidrBlock'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Ipv6CidrBlock=&SubnetId=&Action=&Version=#Action=AssociateSubnetCidrBlock")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AssociateTransitGatewayMulticastDomain
{{baseUrl}}/#Action=AssociateTransitGatewayMulticastDomain
QUERY PARAMS
TransitGatewayMulticastDomainId
TransitGatewayAttachmentId
SubnetIds
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=AssociateTransitGatewayMulticastDomain");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AssociateTransitGatewayMulticastDomain" {:query-params {:TransitGatewayMulticastDomainId ""
:TransitGatewayAttachmentId ""
:SubnetIds ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=AssociateTransitGatewayMulticastDomain"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=AssociateTransitGatewayMulticastDomain"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=AssociateTransitGatewayMulticastDomain");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=AssociateTransitGatewayMulticastDomain"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=AssociateTransitGatewayMulticastDomain")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=AssociateTransitGatewayMulticastDomain"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=AssociateTransitGatewayMulticastDomain")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=AssociateTransitGatewayMulticastDomain")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=AssociateTransitGatewayMulticastDomain');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateTransitGatewayMulticastDomain',
params: {
TransitGatewayMulticastDomainId: '',
TransitGatewayAttachmentId: '',
SubnetIds: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=AssociateTransitGatewayMulticastDomain';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=AssociateTransitGatewayMulticastDomain',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=AssociateTransitGatewayMulticastDomain")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateTransitGatewayMulticastDomain',
qs: {
TransitGatewayMulticastDomainId: '',
TransitGatewayAttachmentId: '',
SubnetIds: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AssociateTransitGatewayMulticastDomain');
req.query({
TransitGatewayMulticastDomainId: '',
TransitGatewayAttachmentId: '',
SubnetIds: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateTransitGatewayMulticastDomain',
params: {
TransitGatewayMulticastDomainId: '',
TransitGatewayAttachmentId: '',
SubnetIds: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=AssociateTransitGatewayMulticastDomain';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=AssociateTransitGatewayMulticastDomain"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=AssociateTransitGatewayMulticastDomain" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=AssociateTransitGatewayMulticastDomain",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=AssociateTransitGatewayMulticastDomain');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateTransitGatewayMulticastDomain');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayMulticastDomainId' => '',
'TransitGatewayAttachmentId' => '',
'SubnetIds' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateTransitGatewayMulticastDomain');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayMulticastDomainId' => '',
'TransitGatewayAttachmentId' => '',
'SubnetIds' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=AssociateTransitGatewayMulticastDomain' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=AssociateTransitGatewayMulticastDomain' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateTransitGatewayMulticastDomain"
querystring = {"TransitGatewayMulticastDomainId":"","TransitGatewayAttachmentId":"","SubnetIds":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateTransitGatewayMulticastDomain"
queryString <- list(
TransitGatewayMulticastDomainId = "",
TransitGatewayAttachmentId = "",
SubnetIds = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=AssociateTransitGatewayMulticastDomain")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayMulticastDomainId'] = ''
req.params['TransitGatewayAttachmentId'] = ''
req.params['SubnetIds'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateTransitGatewayMulticastDomain";
let querystring = [
("TransitGatewayMulticastDomainId", ""),
("TransitGatewayAttachmentId", ""),
("SubnetIds", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=AssociateTransitGatewayMulticastDomain'
http GET '{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=AssociateTransitGatewayMulticastDomain'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=AssociateTransitGatewayMulticastDomain'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=AssociateTransitGatewayMulticastDomain")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AssociateTransitGatewayPolicyTable
{{baseUrl}}/#Action=AssociateTransitGatewayPolicyTable
QUERY PARAMS
TransitGatewayPolicyTableId
TransitGatewayAttachmentId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayPolicyTable");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AssociateTransitGatewayPolicyTable" {:query-params {:TransitGatewayPolicyTableId ""
:TransitGatewayAttachmentId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayPolicyTable"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayPolicyTable"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayPolicyTable");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayPolicyTable"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayPolicyTable")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayPolicyTable"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayPolicyTable")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayPolicyTable")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayPolicyTable');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateTransitGatewayPolicyTable',
params: {
TransitGatewayPolicyTableId: '',
TransitGatewayAttachmentId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayPolicyTable';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayPolicyTable',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayPolicyTable")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateTransitGatewayPolicyTable',
qs: {
TransitGatewayPolicyTableId: '',
TransitGatewayAttachmentId: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AssociateTransitGatewayPolicyTable');
req.query({
TransitGatewayPolicyTableId: '',
TransitGatewayAttachmentId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateTransitGatewayPolicyTable',
params: {
TransitGatewayPolicyTableId: '',
TransitGatewayAttachmentId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayPolicyTable';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayPolicyTable"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayPolicyTable" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayPolicyTable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayPolicyTable');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateTransitGatewayPolicyTable');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayPolicyTableId' => '',
'TransitGatewayAttachmentId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateTransitGatewayPolicyTable');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayPolicyTableId' => '',
'TransitGatewayAttachmentId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayPolicyTable' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayPolicyTable' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateTransitGatewayPolicyTable"
querystring = {"TransitGatewayPolicyTableId":"","TransitGatewayAttachmentId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateTransitGatewayPolicyTable"
queryString <- list(
TransitGatewayPolicyTableId = "",
TransitGatewayAttachmentId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayPolicyTable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayPolicyTableId'] = ''
req.params['TransitGatewayAttachmentId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateTransitGatewayPolicyTable";
let querystring = [
("TransitGatewayPolicyTableId", ""),
("TransitGatewayAttachmentId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayPolicyTable'
http GET '{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayPolicyTable'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayPolicyTable'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayPolicyTable")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AssociateTransitGatewayRouteTable
{{baseUrl}}/#Action=AssociateTransitGatewayRouteTable
QUERY PARAMS
TransitGatewayRouteTableId
TransitGatewayAttachmentId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayRouteTable");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AssociateTransitGatewayRouteTable" {:query-params {:TransitGatewayRouteTableId ""
:TransitGatewayAttachmentId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayRouteTable"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayRouteTable"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayRouteTable");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayRouteTable"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayRouteTable")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayRouteTable"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayRouteTable")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayRouteTable")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayRouteTable');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateTransitGatewayRouteTable',
params: {
TransitGatewayRouteTableId: '',
TransitGatewayAttachmentId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayRouteTable';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayRouteTable',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayRouteTable")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateTransitGatewayRouteTable',
qs: {
TransitGatewayRouteTableId: '',
TransitGatewayAttachmentId: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AssociateTransitGatewayRouteTable');
req.query({
TransitGatewayRouteTableId: '',
TransitGatewayAttachmentId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateTransitGatewayRouteTable',
params: {
TransitGatewayRouteTableId: '',
TransitGatewayAttachmentId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayRouteTable';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayRouteTable"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayRouteTable" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayRouteTable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayRouteTable');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateTransitGatewayRouteTable');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayRouteTableId' => '',
'TransitGatewayAttachmentId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateTransitGatewayRouteTable');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayRouteTableId' => '',
'TransitGatewayAttachmentId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayRouteTable' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayRouteTable' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateTransitGatewayRouteTable"
querystring = {"TransitGatewayRouteTableId":"","TransitGatewayAttachmentId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateTransitGatewayRouteTable"
queryString <- list(
TransitGatewayRouteTableId = "",
TransitGatewayAttachmentId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayRouteTable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayRouteTableId'] = ''
req.params['TransitGatewayAttachmentId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateTransitGatewayRouteTable";
let querystring = [
("TransitGatewayRouteTableId", ""),
("TransitGatewayAttachmentId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayRouteTable'
http GET '{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayRouteTable'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayRouteTable'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=AssociateTransitGatewayRouteTable")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AssociateTrunkInterface
{{baseUrl}}/#Action=AssociateTrunkInterface
QUERY PARAMS
BranchInterfaceId
TrunkInterfaceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?BranchInterfaceId=&TrunkInterfaceId=&Action=&Version=#Action=AssociateTrunkInterface");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AssociateTrunkInterface" {:query-params {:BranchInterfaceId ""
:TrunkInterfaceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?BranchInterfaceId=&TrunkInterfaceId=&Action=&Version=#Action=AssociateTrunkInterface"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?BranchInterfaceId=&TrunkInterfaceId=&Action=&Version=#Action=AssociateTrunkInterface"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?BranchInterfaceId=&TrunkInterfaceId=&Action=&Version=#Action=AssociateTrunkInterface");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?BranchInterfaceId=&TrunkInterfaceId=&Action=&Version=#Action=AssociateTrunkInterface"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?BranchInterfaceId=&TrunkInterfaceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?BranchInterfaceId=&TrunkInterfaceId=&Action=&Version=#Action=AssociateTrunkInterface")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?BranchInterfaceId=&TrunkInterfaceId=&Action=&Version=#Action=AssociateTrunkInterface"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?BranchInterfaceId=&TrunkInterfaceId=&Action=&Version=#Action=AssociateTrunkInterface")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?BranchInterfaceId=&TrunkInterfaceId=&Action=&Version=#Action=AssociateTrunkInterface")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?BranchInterfaceId=&TrunkInterfaceId=&Action=&Version=#Action=AssociateTrunkInterface');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateTrunkInterface',
params: {BranchInterfaceId: '', TrunkInterfaceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?BranchInterfaceId=&TrunkInterfaceId=&Action=&Version=#Action=AssociateTrunkInterface';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?BranchInterfaceId=&TrunkInterfaceId=&Action=&Version=#Action=AssociateTrunkInterface',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?BranchInterfaceId=&TrunkInterfaceId=&Action=&Version=#Action=AssociateTrunkInterface")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?BranchInterfaceId=&TrunkInterfaceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateTrunkInterface',
qs: {BranchInterfaceId: '', TrunkInterfaceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AssociateTrunkInterface');
req.query({
BranchInterfaceId: '',
TrunkInterfaceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateTrunkInterface',
params: {BranchInterfaceId: '', TrunkInterfaceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?BranchInterfaceId=&TrunkInterfaceId=&Action=&Version=#Action=AssociateTrunkInterface';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?BranchInterfaceId=&TrunkInterfaceId=&Action=&Version=#Action=AssociateTrunkInterface"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?BranchInterfaceId=&TrunkInterfaceId=&Action=&Version=#Action=AssociateTrunkInterface" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?BranchInterfaceId=&TrunkInterfaceId=&Action=&Version=#Action=AssociateTrunkInterface",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?BranchInterfaceId=&TrunkInterfaceId=&Action=&Version=#Action=AssociateTrunkInterface');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateTrunkInterface');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'BranchInterfaceId' => '',
'TrunkInterfaceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateTrunkInterface');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'BranchInterfaceId' => '',
'TrunkInterfaceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?BranchInterfaceId=&TrunkInterfaceId=&Action=&Version=#Action=AssociateTrunkInterface' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?BranchInterfaceId=&TrunkInterfaceId=&Action=&Version=#Action=AssociateTrunkInterface' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?BranchInterfaceId=&TrunkInterfaceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateTrunkInterface"
querystring = {"BranchInterfaceId":"","TrunkInterfaceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateTrunkInterface"
queryString <- list(
BranchInterfaceId = "",
TrunkInterfaceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?BranchInterfaceId=&TrunkInterfaceId=&Action=&Version=#Action=AssociateTrunkInterface")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['BranchInterfaceId'] = ''
req.params['TrunkInterfaceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateTrunkInterface";
let querystring = [
("BranchInterfaceId", ""),
("TrunkInterfaceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?BranchInterfaceId=&TrunkInterfaceId=&Action=&Version=#Action=AssociateTrunkInterface'
http GET '{{baseUrl}}/?BranchInterfaceId=&TrunkInterfaceId=&Action=&Version=#Action=AssociateTrunkInterface'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?BranchInterfaceId=&TrunkInterfaceId=&Action=&Version=#Action=AssociateTrunkInterface'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?BranchInterfaceId=&TrunkInterfaceId=&Action=&Version=#Action=AssociateTrunkInterface")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AssociateVpcCidrBlock
{{baseUrl}}/#Action=AssociateVpcCidrBlock
QUERY PARAMS
VpcId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpcId=&Action=&Version=#Action=AssociateVpcCidrBlock");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AssociateVpcCidrBlock" {:query-params {:VpcId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpcId=&Action=&Version=#Action=AssociateVpcCidrBlock"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpcId=&Action=&Version=#Action=AssociateVpcCidrBlock"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpcId=&Action=&Version=#Action=AssociateVpcCidrBlock");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpcId=&Action=&Version=#Action=AssociateVpcCidrBlock"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpcId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpcId=&Action=&Version=#Action=AssociateVpcCidrBlock")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpcId=&Action=&Version=#Action=AssociateVpcCidrBlock"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpcId=&Action=&Version=#Action=AssociateVpcCidrBlock")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpcId=&Action=&Version=#Action=AssociateVpcCidrBlock")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpcId=&Action=&Version=#Action=AssociateVpcCidrBlock');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateVpcCidrBlock',
params: {VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpcId=&Action=&Version=#Action=AssociateVpcCidrBlock';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpcId=&Action=&Version=#Action=AssociateVpcCidrBlock',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpcId=&Action=&Version=#Action=AssociateVpcCidrBlock")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpcId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateVpcCidrBlock',
qs: {VpcId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AssociateVpcCidrBlock');
req.query({
VpcId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AssociateVpcCidrBlock',
params: {VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpcId=&Action=&Version=#Action=AssociateVpcCidrBlock';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpcId=&Action=&Version=#Action=AssociateVpcCidrBlock"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpcId=&Action=&Version=#Action=AssociateVpcCidrBlock" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpcId=&Action=&Version=#Action=AssociateVpcCidrBlock",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpcId=&Action=&Version=#Action=AssociateVpcCidrBlock');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateVpcCidrBlock');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpcId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateVpcCidrBlock');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpcId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpcId=&Action=&Version=#Action=AssociateVpcCidrBlock' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpcId=&Action=&Version=#Action=AssociateVpcCidrBlock' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpcId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateVpcCidrBlock"
querystring = {"VpcId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateVpcCidrBlock"
queryString <- list(
VpcId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpcId=&Action=&Version=#Action=AssociateVpcCidrBlock")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpcId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateVpcCidrBlock";
let querystring = [
("VpcId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpcId=&Action=&Version=#Action=AssociateVpcCidrBlock'
http GET '{{baseUrl}}/?VpcId=&Action=&Version=#Action=AssociateVpcCidrBlock'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpcId=&Action=&Version=#Action=AssociateVpcCidrBlock'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpcId=&Action=&Version=#Action=AssociateVpcCidrBlock")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AttachClassicLinkVpc
{{baseUrl}}/#Action=AttachClassicLinkVpc
QUERY PARAMS
SecurityGroupId
InstanceId
VpcId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?SecurityGroupId=&InstanceId=&VpcId=&Action=&Version=#Action=AttachClassicLinkVpc");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AttachClassicLinkVpc" {:query-params {:SecurityGroupId ""
:InstanceId ""
:VpcId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?SecurityGroupId=&InstanceId=&VpcId=&Action=&Version=#Action=AttachClassicLinkVpc"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?SecurityGroupId=&InstanceId=&VpcId=&Action=&Version=#Action=AttachClassicLinkVpc"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?SecurityGroupId=&InstanceId=&VpcId=&Action=&Version=#Action=AttachClassicLinkVpc");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?SecurityGroupId=&InstanceId=&VpcId=&Action=&Version=#Action=AttachClassicLinkVpc"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?SecurityGroupId=&InstanceId=&VpcId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?SecurityGroupId=&InstanceId=&VpcId=&Action=&Version=#Action=AttachClassicLinkVpc")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?SecurityGroupId=&InstanceId=&VpcId=&Action=&Version=#Action=AttachClassicLinkVpc"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?SecurityGroupId=&InstanceId=&VpcId=&Action=&Version=#Action=AttachClassicLinkVpc")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?SecurityGroupId=&InstanceId=&VpcId=&Action=&Version=#Action=AttachClassicLinkVpc")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?SecurityGroupId=&InstanceId=&VpcId=&Action=&Version=#Action=AttachClassicLinkVpc');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AttachClassicLinkVpc',
params: {SecurityGroupId: '', InstanceId: '', VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?SecurityGroupId=&InstanceId=&VpcId=&Action=&Version=#Action=AttachClassicLinkVpc';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?SecurityGroupId=&InstanceId=&VpcId=&Action=&Version=#Action=AttachClassicLinkVpc',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?SecurityGroupId=&InstanceId=&VpcId=&Action=&Version=#Action=AttachClassicLinkVpc")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?SecurityGroupId=&InstanceId=&VpcId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AttachClassicLinkVpc',
qs: {SecurityGroupId: '', InstanceId: '', VpcId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AttachClassicLinkVpc');
req.query({
SecurityGroupId: '',
InstanceId: '',
VpcId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AttachClassicLinkVpc',
params: {SecurityGroupId: '', InstanceId: '', VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?SecurityGroupId=&InstanceId=&VpcId=&Action=&Version=#Action=AttachClassicLinkVpc';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?SecurityGroupId=&InstanceId=&VpcId=&Action=&Version=#Action=AttachClassicLinkVpc"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?SecurityGroupId=&InstanceId=&VpcId=&Action=&Version=#Action=AttachClassicLinkVpc" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?SecurityGroupId=&InstanceId=&VpcId=&Action=&Version=#Action=AttachClassicLinkVpc",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?SecurityGroupId=&InstanceId=&VpcId=&Action=&Version=#Action=AttachClassicLinkVpc');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AttachClassicLinkVpc');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'SecurityGroupId' => '',
'InstanceId' => '',
'VpcId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AttachClassicLinkVpc');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'SecurityGroupId' => '',
'InstanceId' => '',
'VpcId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?SecurityGroupId=&InstanceId=&VpcId=&Action=&Version=#Action=AttachClassicLinkVpc' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?SecurityGroupId=&InstanceId=&VpcId=&Action=&Version=#Action=AttachClassicLinkVpc' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?SecurityGroupId=&InstanceId=&VpcId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AttachClassicLinkVpc"
querystring = {"SecurityGroupId":"","InstanceId":"","VpcId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AttachClassicLinkVpc"
queryString <- list(
SecurityGroupId = "",
InstanceId = "",
VpcId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?SecurityGroupId=&InstanceId=&VpcId=&Action=&Version=#Action=AttachClassicLinkVpc")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['SecurityGroupId'] = ''
req.params['InstanceId'] = ''
req.params['VpcId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AttachClassicLinkVpc";
let querystring = [
("SecurityGroupId", ""),
("InstanceId", ""),
("VpcId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?SecurityGroupId=&InstanceId=&VpcId=&Action=&Version=#Action=AttachClassicLinkVpc'
http GET '{{baseUrl}}/?SecurityGroupId=&InstanceId=&VpcId=&Action=&Version=#Action=AttachClassicLinkVpc'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?SecurityGroupId=&InstanceId=&VpcId=&Action=&Version=#Action=AttachClassicLinkVpc'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?SecurityGroupId=&InstanceId=&VpcId=&Action=&Version=#Action=AttachClassicLinkVpc")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AttachInternetGateway
{{baseUrl}}/#Action=AttachInternetGateway
QUERY PARAMS
InternetGatewayId
VpcId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=AttachInternetGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AttachInternetGateway" {:query-params {:InternetGatewayId ""
:VpcId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=AttachInternetGateway"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=AttachInternetGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=AttachInternetGateway");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=AttachInternetGateway"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InternetGatewayId=&VpcId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=AttachInternetGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=AttachInternetGateway"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=AttachInternetGateway")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=AttachInternetGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=AttachInternetGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AttachInternetGateway',
params: {InternetGatewayId: '', VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=AttachInternetGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=AttachInternetGateway',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=AttachInternetGateway")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InternetGatewayId=&VpcId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AttachInternetGateway',
qs: {InternetGatewayId: '', VpcId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AttachInternetGateway');
req.query({
InternetGatewayId: '',
VpcId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AttachInternetGateway',
params: {InternetGatewayId: '', VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=AttachInternetGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=AttachInternetGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=AttachInternetGateway" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=AttachInternetGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=AttachInternetGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AttachInternetGateway');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InternetGatewayId' => '',
'VpcId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AttachInternetGateway');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InternetGatewayId' => '',
'VpcId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=AttachInternetGateway' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=AttachInternetGateway' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InternetGatewayId=&VpcId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AttachInternetGateway"
querystring = {"InternetGatewayId":"","VpcId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AttachInternetGateway"
queryString <- list(
InternetGatewayId = "",
VpcId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=AttachInternetGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InternetGatewayId'] = ''
req.params['VpcId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AttachInternetGateway";
let querystring = [
("InternetGatewayId", ""),
("VpcId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=AttachInternetGateway'
http GET '{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=AttachInternetGateway'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=AttachInternetGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=AttachInternetGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AttachNetworkInterface
{{baseUrl}}/#Action=AttachNetworkInterface
QUERY PARAMS
DeviceIndex
InstanceId
NetworkInterfaceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?DeviceIndex=&InstanceId=&NetworkInterfaceId=&Action=&Version=#Action=AttachNetworkInterface");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AttachNetworkInterface" {:query-params {:DeviceIndex ""
:InstanceId ""
:NetworkInterfaceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?DeviceIndex=&InstanceId=&NetworkInterfaceId=&Action=&Version=#Action=AttachNetworkInterface"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?DeviceIndex=&InstanceId=&NetworkInterfaceId=&Action=&Version=#Action=AttachNetworkInterface"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?DeviceIndex=&InstanceId=&NetworkInterfaceId=&Action=&Version=#Action=AttachNetworkInterface");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?DeviceIndex=&InstanceId=&NetworkInterfaceId=&Action=&Version=#Action=AttachNetworkInterface"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?DeviceIndex=&InstanceId=&NetworkInterfaceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?DeviceIndex=&InstanceId=&NetworkInterfaceId=&Action=&Version=#Action=AttachNetworkInterface")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?DeviceIndex=&InstanceId=&NetworkInterfaceId=&Action=&Version=#Action=AttachNetworkInterface"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?DeviceIndex=&InstanceId=&NetworkInterfaceId=&Action=&Version=#Action=AttachNetworkInterface")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?DeviceIndex=&InstanceId=&NetworkInterfaceId=&Action=&Version=#Action=AttachNetworkInterface")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?DeviceIndex=&InstanceId=&NetworkInterfaceId=&Action=&Version=#Action=AttachNetworkInterface');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AttachNetworkInterface',
params: {
DeviceIndex: '',
InstanceId: '',
NetworkInterfaceId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?DeviceIndex=&InstanceId=&NetworkInterfaceId=&Action=&Version=#Action=AttachNetworkInterface';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?DeviceIndex=&InstanceId=&NetworkInterfaceId=&Action=&Version=#Action=AttachNetworkInterface',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?DeviceIndex=&InstanceId=&NetworkInterfaceId=&Action=&Version=#Action=AttachNetworkInterface")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?DeviceIndex=&InstanceId=&NetworkInterfaceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AttachNetworkInterface',
qs: {
DeviceIndex: '',
InstanceId: '',
NetworkInterfaceId: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AttachNetworkInterface');
req.query({
DeviceIndex: '',
InstanceId: '',
NetworkInterfaceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AttachNetworkInterface',
params: {
DeviceIndex: '',
InstanceId: '',
NetworkInterfaceId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?DeviceIndex=&InstanceId=&NetworkInterfaceId=&Action=&Version=#Action=AttachNetworkInterface';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?DeviceIndex=&InstanceId=&NetworkInterfaceId=&Action=&Version=#Action=AttachNetworkInterface"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?DeviceIndex=&InstanceId=&NetworkInterfaceId=&Action=&Version=#Action=AttachNetworkInterface" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?DeviceIndex=&InstanceId=&NetworkInterfaceId=&Action=&Version=#Action=AttachNetworkInterface",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?DeviceIndex=&InstanceId=&NetworkInterfaceId=&Action=&Version=#Action=AttachNetworkInterface');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AttachNetworkInterface');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'DeviceIndex' => '',
'InstanceId' => '',
'NetworkInterfaceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AttachNetworkInterface');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'DeviceIndex' => '',
'InstanceId' => '',
'NetworkInterfaceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?DeviceIndex=&InstanceId=&NetworkInterfaceId=&Action=&Version=#Action=AttachNetworkInterface' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?DeviceIndex=&InstanceId=&NetworkInterfaceId=&Action=&Version=#Action=AttachNetworkInterface' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?DeviceIndex=&InstanceId=&NetworkInterfaceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AttachNetworkInterface"
querystring = {"DeviceIndex":"","InstanceId":"","NetworkInterfaceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AttachNetworkInterface"
queryString <- list(
DeviceIndex = "",
InstanceId = "",
NetworkInterfaceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?DeviceIndex=&InstanceId=&NetworkInterfaceId=&Action=&Version=#Action=AttachNetworkInterface")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['DeviceIndex'] = ''
req.params['InstanceId'] = ''
req.params['NetworkInterfaceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AttachNetworkInterface";
let querystring = [
("DeviceIndex", ""),
("InstanceId", ""),
("NetworkInterfaceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?DeviceIndex=&InstanceId=&NetworkInterfaceId=&Action=&Version=#Action=AttachNetworkInterface'
http GET '{{baseUrl}}/?DeviceIndex=&InstanceId=&NetworkInterfaceId=&Action=&Version=#Action=AttachNetworkInterface'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?DeviceIndex=&InstanceId=&NetworkInterfaceId=&Action=&Version=#Action=AttachNetworkInterface'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?DeviceIndex=&InstanceId=&NetworkInterfaceId=&Action=&Version=#Action=AttachNetworkInterface")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"AttachmentId": "eni-attach-66c4350a"
}
GET
GET_AttachVerifiedAccessTrustProvider
{{baseUrl}}/#Action=AttachVerifiedAccessTrustProvider
QUERY PARAMS
VerifiedAccessInstanceId
VerifiedAccessTrustProviderId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=AttachVerifiedAccessTrustProvider");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AttachVerifiedAccessTrustProvider" {:query-params {:VerifiedAccessInstanceId ""
:VerifiedAccessTrustProviderId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=AttachVerifiedAccessTrustProvider"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=AttachVerifiedAccessTrustProvider"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=AttachVerifiedAccessTrustProvider");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=AttachVerifiedAccessTrustProvider"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=AttachVerifiedAccessTrustProvider")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=AttachVerifiedAccessTrustProvider"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=AttachVerifiedAccessTrustProvider")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=AttachVerifiedAccessTrustProvider")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=AttachVerifiedAccessTrustProvider');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AttachVerifiedAccessTrustProvider',
params: {
VerifiedAccessInstanceId: '',
VerifiedAccessTrustProviderId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=AttachVerifiedAccessTrustProvider';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=AttachVerifiedAccessTrustProvider',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=AttachVerifiedAccessTrustProvider")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AttachVerifiedAccessTrustProvider',
qs: {
VerifiedAccessInstanceId: '',
VerifiedAccessTrustProviderId: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AttachVerifiedAccessTrustProvider');
req.query({
VerifiedAccessInstanceId: '',
VerifiedAccessTrustProviderId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AttachVerifiedAccessTrustProvider',
params: {
VerifiedAccessInstanceId: '',
VerifiedAccessTrustProviderId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=AttachVerifiedAccessTrustProvider';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=AttachVerifiedAccessTrustProvider"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=AttachVerifiedAccessTrustProvider" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=AttachVerifiedAccessTrustProvider",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=AttachVerifiedAccessTrustProvider');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AttachVerifiedAccessTrustProvider');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VerifiedAccessInstanceId' => '',
'VerifiedAccessTrustProviderId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AttachVerifiedAccessTrustProvider');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VerifiedAccessInstanceId' => '',
'VerifiedAccessTrustProviderId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=AttachVerifiedAccessTrustProvider' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=AttachVerifiedAccessTrustProvider' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AttachVerifiedAccessTrustProvider"
querystring = {"VerifiedAccessInstanceId":"","VerifiedAccessTrustProviderId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AttachVerifiedAccessTrustProvider"
queryString <- list(
VerifiedAccessInstanceId = "",
VerifiedAccessTrustProviderId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=AttachVerifiedAccessTrustProvider")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VerifiedAccessInstanceId'] = ''
req.params['VerifiedAccessTrustProviderId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AttachVerifiedAccessTrustProvider";
let querystring = [
("VerifiedAccessInstanceId", ""),
("VerifiedAccessTrustProviderId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=AttachVerifiedAccessTrustProvider'
http GET '{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=AttachVerifiedAccessTrustProvider'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=AttachVerifiedAccessTrustProvider'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=AttachVerifiedAccessTrustProvider")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AttachVolume
{{baseUrl}}/#Action=AttachVolume
QUERY PARAMS
Device
InstanceId
VolumeId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Device=&InstanceId=&VolumeId=&Action=&Version=#Action=AttachVolume");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AttachVolume" {:query-params {:Device ""
:InstanceId ""
:VolumeId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Device=&InstanceId=&VolumeId=&Action=&Version=#Action=AttachVolume"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Device=&InstanceId=&VolumeId=&Action=&Version=#Action=AttachVolume"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Device=&InstanceId=&VolumeId=&Action=&Version=#Action=AttachVolume");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Device=&InstanceId=&VolumeId=&Action=&Version=#Action=AttachVolume"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Device=&InstanceId=&VolumeId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Device=&InstanceId=&VolumeId=&Action=&Version=#Action=AttachVolume")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Device=&InstanceId=&VolumeId=&Action=&Version=#Action=AttachVolume"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Device=&InstanceId=&VolumeId=&Action=&Version=#Action=AttachVolume")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Device=&InstanceId=&VolumeId=&Action=&Version=#Action=AttachVolume")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Device=&InstanceId=&VolumeId=&Action=&Version=#Action=AttachVolume');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AttachVolume',
params: {Device: '', InstanceId: '', VolumeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Device=&InstanceId=&VolumeId=&Action=&Version=#Action=AttachVolume';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Device=&InstanceId=&VolumeId=&Action=&Version=#Action=AttachVolume',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Device=&InstanceId=&VolumeId=&Action=&Version=#Action=AttachVolume")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Device=&InstanceId=&VolumeId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AttachVolume',
qs: {Device: '', InstanceId: '', VolumeId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AttachVolume');
req.query({
Device: '',
InstanceId: '',
VolumeId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AttachVolume',
params: {Device: '', InstanceId: '', VolumeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Device=&InstanceId=&VolumeId=&Action=&Version=#Action=AttachVolume';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Device=&InstanceId=&VolumeId=&Action=&Version=#Action=AttachVolume"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Device=&InstanceId=&VolumeId=&Action=&Version=#Action=AttachVolume" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Device=&InstanceId=&VolumeId=&Action=&Version=#Action=AttachVolume",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Device=&InstanceId=&VolumeId=&Action=&Version=#Action=AttachVolume');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AttachVolume');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Device' => '',
'InstanceId' => '',
'VolumeId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AttachVolume');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Device' => '',
'InstanceId' => '',
'VolumeId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Device=&InstanceId=&VolumeId=&Action=&Version=#Action=AttachVolume' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Device=&InstanceId=&VolumeId=&Action=&Version=#Action=AttachVolume' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Device=&InstanceId=&VolumeId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AttachVolume"
querystring = {"Device":"","InstanceId":"","VolumeId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AttachVolume"
queryString <- list(
Device = "",
InstanceId = "",
VolumeId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Device=&InstanceId=&VolumeId=&Action=&Version=#Action=AttachVolume")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Device'] = ''
req.params['InstanceId'] = ''
req.params['VolumeId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AttachVolume";
let querystring = [
("Device", ""),
("InstanceId", ""),
("VolumeId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Device=&InstanceId=&VolumeId=&Action=&Version=#Action=AttachVolume'
http GET '{{baseUrl}}/?Device=&InstanceId=&VolumeId=&Action=&Version=#Action=AttachVolume'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Device=&InstanceId=&VolumeId=&Action=&Version=#Action=AttachVolume'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Device=&InstanceId=&VolumeId=&Action=&Version=#Action=AttachVolume")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"AttachTime": "2014-02-27T19:23:06.000Z",
"Device": "/dev/sdb",
"InstanceId": "i-1234567890abcdef0",
"State": "detaching",
"VolumeId": "vol-049df61146c4d7901"
}
GET
GET_AttachVpnGateway
{{baseUrl}}/#Action=AttachVpnGateway
QUERY PARAMS
VpcId
VpnGatewayId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=AttachVpnGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AttachVpnGateway" {:query-params {:VpcId ""
:VpnGatewayId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=AttachVpnGateway"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=AttachVpnGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=AttachVpnGateway");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=AttachVpnGateway"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpcId=&VpnGatewayId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=AttachVpnGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=AttachVpnGateway"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=AttachVpnGateway")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=AttachVpnGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=AttachVpnGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AttachVpnGateway',
params: {VpcId: '', VpnGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=AttachVpnGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=AttachVpnGateway',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=AttachVpnGateway")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpcId=&VpnGatewayId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AttachVpnGateway',
qs: {VpcId: '', VpnGatewayId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AttachVpnGateway');
req.query({
VpcId: '',
VpnGatewayId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AttachVpnGateway',
params: {VpcId: '', VpnGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=AttachVpnGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=AttachVpnGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=AttachVpnGateway" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=AttachVpnGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=AttachVpnGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AttachVpnGateway');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpcId' => '',
'VpnGatewayId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AttachVpnGateway');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpcId' => '',
'VpnGatewayId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=AttachVpnGateway' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=AttachVpnGateway' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpcId=&VpnGatewayId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AttachVpnGateway"
querystring = {"VpcId":"","VpnGatewayId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AttachVpnGateway"
queryString <- list(
VpcId = "",
VpnGatewayId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=AttachVpnGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpcId'] = ''
req.params['VpnGatewayId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AttachVpnGateway";
let querystring = [
("VpcId", ""),
("VpnGatewayId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=AttachVpnGateway'
http GET '{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=AttachVpnGateway'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=AttachVpnGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=AttachVpnGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AuthorizeClientVpnIngress
{{baseUrl}}/#Action=AuthorizeClientVpnIngress
QUERY PARAMS
ClientVpnEndpointId
TargetNetworkCidr
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=AuthorizeClientVpnIngress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AuthorizeClientVpnIngress" {:query-params {:ClientVpnEndpointId ""
:TargetNetworkCidr ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=AuthorizeClientVpnIngress"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=AuthorizeClientVpnIngress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=AuthorizeClientVpnIngress");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=AuthorizeClientVpnIngress"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=AuthorizeClientVpnIngress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=AuthorizeClientVpnIngress"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=AuthorizeClientVpnIngress")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=AuthorizeClientVpnIngress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=AuthorizeClientVpnIngress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AuthorizeClientVpnIngress',
params: {ClientVpnEndpointId: '', TargetNetworkCidr: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=AuthorizeClientVpnIngress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=AuthorizeClientVpnIngress',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=AuthorizeClientVpnIngress")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AuthorizeClientVpnIngress',
qs: {ClientVpnEndpointId: '', TargetNetworkCidr: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AuthorizeClientVpnIngress');
req.query({
ClientVpnEndpointId: '',
TargetNetworkCidr: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AuthorizeClientVpnIngress',
params: {ClientVpnEndpointId: '', TargetNetworkCidr: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=AuthorizeClientVpnIngress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=AuthorizeClientVpnIngress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=AuthorizeClientVpnIngress" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=AuthorizeClientVpnIngress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=AuthorizeClientVpnIngress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AuthorizeClientVpnIngress');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ClientVpnEndpointId' => '',
'TargetNetworkCidr' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AuthorizeClientVpnIngress');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ClientVpnEndpointId' => '',
'TargetNetworkCidr' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=AuthorizeClientVpnIngress' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=AuthorizeClientVpnIngress' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AuthorizeClientVpnIngress"
querystring = {"ClientVpnEndpointId":"","TargetNetworkCidr":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AuthorizeClientVpnIngress"
queryString <- list(
ClientVpnEndpointId = "",
TargetNetworkCidr = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=AuthorizeClientVpnIngress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ClientVpnEndpointId'] = ''
req.params['TargetNetworkCidr'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AuthorizeClientVpnIngress";
let querystring = [
("ClientVpnEndpointId", ""),
("TargetNetworkCidr", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=AuthorizeClientVpnIngress'
http GET '{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=AuthorizeClientVpnIngress'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=AuthorizeClientVpnIngress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=AuthorizeClientVpnIngress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_AuthorizeSecurityGroupEgress
{{baseUrl}}/#Action=AuthorizeSecurityGroupEgress
QUERY PARAMS
GroupId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?GroupId=&Action=&Version=#Action=AuthorizeSecurityGroupEgress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AuthorizeSecurityGroupEgress" {:query-params {:GroupId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?GroupId=&Action=&Version=#Action=AuthorizeSecurityGroupEgress"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?GroupId=&Action=&Version=#Action=AuthorizeSecurityGroupEgress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?GroupId=&Action=&Version=#Action=AuthorizeSecurityGroupEgress");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?GroupId=&Action=&Version=#Action=AuthorizeSecurityGroupEgress"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?GroupId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?GroupId=&Action=&Version=#Action=AuthorizeSecurityGroupEgress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?GroupId=&Action=&Version=#Action=AuthorizeSecurityGroupEgress"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?GroupId=&Action=&Version=#Action=AuthorizeSecurityGroupEgress")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?GroupId=&Action=&Version=#Action=AuthorizeSecurityGroupEgress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?GroupId=&Action=&Version=#Action=AuthorizeSecurityGroupEgress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AuthorizeSecurityGroupEgress',
params: {GroupId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?GroupId=&Action=&Version=#Action=AuthorizeSecurityGroupEgress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?GroupId=&Action=&Version=#Action=AuthorizeSecurityGroupEgress',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?GroupId=&Action=&Version=#Action=AuthorizeSecurityGroupEgress")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?GroupId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AuthorizeSecurityGroupEgress',
qs: {GroupId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AuthorizeSecurityGroupEgress');
req.query({
GroupId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AuthorizeSecurityGroupEgress',
params: {GroupId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?GroupId=&Action=&Version=#Action=AuthorizeSecurityGroupEgress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?GroupId=&Action=&Version=#Action=AuthorizeSecurityGroupEgress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?GroupId=&Action=&Version=#Action=AuthorizeSecurityGroupEgress" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?GroupId=&Action=&Version=#Action=AuthorizeSecurityGroupEgress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?GroupId=&Action=&Version=#Action=AuthorizeSecurityGroupEgress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AuthorizeSecurityGroupEgress');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'GroupId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AuthorizeSecurityGroupEgress');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'GroupId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?GroupId=&Action=&Version=#Action=AuthorizeSecurityGroupEgress' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?GroupId=&Action=&Version=#Action=AuthorizeSecurityGroupEgress' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?GroupId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AuthorizeSecurityGroupEgress"
querystring = {"GroupId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AuthorizeSecurityGroupEgress"
queryString <- list(
GroupId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?GroupId=&Action=&Version=#Action=AuthorizeSecurityGroupEgress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['GroupId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AuthorizeSecurityGroupEgress";
let querystring = [
("GroupId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?GroupId=&Action=&Version=#Action=AuthorizeSecurityGroupEgress'
http GET '{{baseUrl}}/?GroupId=&Action=&Version=#Action=AuthorizeSecurityGroupEgress'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?GroupId=&Action=&Version=#Action=AuthorizeSecurityGroupEgress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?GroupId=&Action=&Version=#Action=AuthorizeSecurityGroupEgress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{}
GET
GET_AuthorizeSecurityGroupIngress
{{baseUrl}}/#Action=AuthorizeSecurityGroupIngress
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=AuthorizeSecurityGroupIngress" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AuthorizeSecurityGroupIngress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AuthorizeSecurityGroupIngress',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=AuthorizeSecurityGroupIngress');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=AuthorizeSecurityGroupIngress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AuthorizeSecurityGroupIngress');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AuthorizeSecurityGroupIngress');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AuthorizeSecurityGroupIngress"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AuthorizeSecurityGroupIngress"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AuthorizeSecurityGroupIngress";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress'
http GET '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{}
GET
GET_BundleInstance
{{baseUrl}}/#Action=BundleInstance
QUERY PARAMS
InstanceId
Storage
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceId=&Storage=&Action=&Version=#Action=BundleInstance");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=BundleInstance" {:query-params {:InstanceId ""
:Storage ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceId=&Storage=&Action=&Version=#Action=BundleInstance"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceId=&Storage=&Action=&Version=#Action=BundleInstance"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceId=&Storage=&Action=&Version=#Action=BundleInstance");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceId=&Storage=&Action=&Version=#Action=BundleInstance"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceId=&Storage=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceId=&Storage=&Action=&Version=#Action=BundleInstance")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceId=&Storage=&Action=&Version=#Action=BundleInstance"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Storage=&Action=&Version=#Action=BundleInstance")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceId=&Storage=&Action=&Version=#Action=BundleInstance")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceId=&Storage=&Action=&Version=#Action=BundleInstance');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=BundleInstance',
params: {InstanceId: '', Storage: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceId=&Storage=&Action=&Version=#Action=BundleInstance';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceId=&Storage=&Action=&Version=#Action=BundleInstance',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Storage=&Action=&Version=#Action=BundleInstance")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceId=&Storage=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=BundleInstance',
qs: {InstanceId: '', Storage: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=BundleInstance');
req.query({
InstanceId: '',
Storage: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=BundleInstance',
params: {InstanceId: '', Storage: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceId=&Storage=&Action=&Version=#Action=BundleInstance';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceId=&Storage=&Action=&Version=#Action=BundleInstance"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceId=&Storage=&Action=&Version=#Action=BundleInstance" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceId=&Storage=&Action=&Version=#Action=BundleInstance",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceId=&Storage=&Action=&Version=#Action=BundleInstance');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=BundleInstance');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceId' => '',
'Storage' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=BundleInstance');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceId' => '',
'Storage' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceId=&Storage=&Action=&Version=#Action=BundleInstance' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceId=&Storage=&Action=&Version=#Action=BundleInstance' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceId=&Storage=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=BundleInstance"
querystring = {"InstanceId":"","Storage":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=BundleInstance"
queryString <- list(
InstanceId = "",
Storage = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceId=&Storage=&Action=&Version=#Action=BundleInstance")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceId'] = ''
req.params['Storage'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=BundleInstance";
let querystring = [
("InstanceId", ""),
("Storage", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceId=&Storage=&Action=&Version=#Action=BundleInstance'
http GET '{{baseUrl}}/?InstanceId=&Storage=&Action=&Version=#Action=BundleInstance'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceId=&Storage=&Action=&Version=#Action=BundleInstance'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceId=&Storage=&Action=&Version=#Action=BundleInstance")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CancelBundleTask
{{baseUrl}}/#Action=CancelBundleTask
QUERY PARAMS
BundleId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?BundleId=&Action=&Version=#Action=CancelBundleTask");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CancelBundleTask" {:query-params {:BundleId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?BundleId=&Action=&Version=#Action=CancelBundleTask"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?BundleId=&Action=&Version=#Action=CancelBundleTask"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?BundleId=&Action=&Version=#Action=CancelBundleTask");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?BundleId=&Action=&Version=#Action=CancelBundleTask"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?BundleId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?BundleId=&Action=&Version=#Action=CancelBundleTask")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?BundleId=&Action=&Version=#Action=CancelBundleTask"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?BundleId=&Action=&Version=#Action=CancelBundleTask")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?BundleId=&Action=&Version=#Action=CancelBundleTask")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?BundleId=&Action=&Version=#Action=CancelBundleTask');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelBundleTask',
params: {BundleId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?BundleId=&Action=&Version=#Action=CancelBundleTask';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?BundleId=&Action=&Version=#Action=CancelBundleTask',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?BundleId=&Action=&Version=#Action=CancelBundleTask")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?BundleId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelBundleTask',
qs: {BundleId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CancelBundleTask');
req.query({
BundleId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelBundleTask',
params: {BundleId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?BundleId=&Action=&Version=#Action=CancelBundleTask';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?BundleId=&Action=&Version=#Action=CancelBundleTask"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?BundleId=&Action=&Version=#Action=CancelBundleTask" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?BundleId=&Action=&Version=#Action=CancelBundleTask",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?BundleId=&Action=&Version=#Action=CancelBundleTask');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CancelBundleTask');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'BundleId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CancelBundleTask');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'BundleId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?BundleId=&Action=&Version=#Action=CancelBundleTask' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?BundleId=&Action=&Version=#Action=CancelBundleTask' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?BundleId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CancelBundleTask"
querystring = {"BundleId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CancelBundleTask"
queryString <- list(
BundleId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?BundleId=&Action=&Version=#Action=CancelBundleTask")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['BundleId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CancelBundleTask";
let querystring = [
("BundleId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?BundleId=&Action=&Version=#Action=CancelBundleTask'
http GET '{{baseUrl}}/?BundleId=&Action=&Version=#Action=CancelBundleTask'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?BundleId=&Action=&Version=#Action=CancelBundleTask'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?BundleId=&Action=&Version=#Action=CancelBundleTask")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CancelCapacityReservation
{{baseUrl}}/#Action=CancelCapacityReservation
QUERY PARAMS
CapacityReservationId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=CancelCapacityReservation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CancelCapacityReservation" {:query-params {:CapacityReservationId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=CancelCapacityReservation"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=CancelCapacityReservation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=CancelCapacityReservation");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=CancelCapacityReservation"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?CapacityReservationId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=CancelCapacityReservation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=CancelCapacityReservation"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=CancelCapacityReservation")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=CancelCapacityReservation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=CancelCapacityReservation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelCapacityReservation',
params: {CapacityReservationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=CancelCapacityReservation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=CancelCapacityReservation',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=CancelCapacityReservation")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?CapacityReservationId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelCapacityReservation',
qs: {CapacityReservationId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CancelCapacityReservation');
req.query({
CapacityReservationId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelCapacityReservation',
params: {CapacityReservationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=CancelCapacityReservation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=CancelCapacityReservation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=CancelCapacityReservation" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=CancelCapacityReservation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=CancelCapacityReservation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CancelCapacityReservation');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'CapacityReservationId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CancelCapacityReservation');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'CapacityReservationId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=CancelCapacityReservation' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=CancelCapacityReservation' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?CapacityReservationId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CancelCapacityReservation"
querystring = {"CapacityReservationId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CancelCapacityReservation"
queryString <- list(
CapacityReservationId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=CancelCapacityReservation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['CapacityReservationId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CancelCapacityReservation";
let querystring = [
("CapacityReservationId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=CancelCapacityReservation'
http GET '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=CancelCapacityReservation'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=CancelCapacityReservation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=CancelCapacityReservation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CancelCapacityReservationFleets
{{baseUrl}}/#Action=CancelCapacityReservationFleets
QUERY PARAMS
CapacityReservationFleetId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=CancelCapacityReservationFleets");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CancelCapacityReservationFleets" {:query-params {:CapacityReservationFleetId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=CancelCapacityReservationFleets"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=CancelCapacityReservationFleets"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=CancelCapacityReservationFleets");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=CancelCapacityReservationFleets"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?CapacityReservationFleetId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=CancelCapacityReservationFleets")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=CancelCapacityReservationFleets"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=CancelCapacityReservationFleets")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=CancelCapacityReservationFleets")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=CancelCapacityReservationFleets');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelCapacityReservationFleets',
params: {CapacityReservationFleetId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=CancelCapacityReservationFleets';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=CancelCapacityReservationFleets',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=CancelCapacityReservationFleets")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?CapacityReservationFleetId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelCapacityReservationFleets',
qs: {CapacityReservationFleetId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CancelCapacityReservationFleets');
req.query({
CapacityReservationFleetId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelCapacityReservationFleets',
params: {CapacityReservationFleetId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=CancelCapacityReservationFleets';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=CancelCapacityReservationFleets"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=CancelCapacityReservationFleets" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=CancelCapacityReservationFleets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=CancelCapacityReservationFleets');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CancelCapacityReservationFleets');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'CapacityReservationFleetId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CancelCapacityReservationFleets');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'CapacityReservationFleetId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=CancelCapacityReservationFleets' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=CancelCapacityReservationFleets' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?CapacityReservationFleetId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CancelCapacityReservationFleets"
querystring = {"CapacityReservationFleetId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CancelCapacityReservationFleets"
queryString <- list(
CapacityReservationFleetId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=CancelCapacityReservationFleets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['CapacityReservationFleetId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CancelCapacityReservationFleets";
let querystring = [
("CapacityReservationFleetId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=CancelCapacityReservationFleets'
http GET '{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=CancelCapacityReservationFleets'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=CancelCapacityReservationFleets'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=CancelCapacityReservationFleets")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CancelConversionTask
{{baseUrl}}/#Action=CancelConversionTask
QUERY PARAMS
ConversionTaskId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ConversionTaskId=&Action=&Version=#Action=CancelConversionTask");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CancelConversionTask" {:query-params {:ConversionTaskId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ConversionTaskId=&Action=&Version=#Action=CancelConversionTask"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ConversionTaskId=&Action=&Version=#Action=CancelConversionTask"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ConversionTaskId=&Action=&Version=#Action=CancelConversionTask");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ConversionTaskId=&Action=&Version=#Action=CancelConversionTask"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ConversionTaskId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ConversionTaskId=&Action=&Version=#Action=CancelConversionTask")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ConversionTaskId=&Action=&Version=#Action=CancelConversionTask"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ConversionTaskId=&Action=&Version=#Action=CancelConversionTask")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ConversionTaskId=&Action=&Version=#Action=CancelConversionTask")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ConversionTaskId=&Action=&Version=#Action=CancelConversionTask');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelConversionTask',
params: {ConversionTaskId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ConversionTaskId=&Action=&Version=#Action=CancelConversionTask';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ConversionTaskId=&Action=&Version=#Action=CancelConversionTask',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ConversionTaskId=&Action=&Version=#Action=CancelConversionTask")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ConversionTaskId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelConversionTask',
qs: {ConversionTaskId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CancelConversionTask');
req.query({
ConversionTaskId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelConversionTask',
params: {ConversionTaskId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ConversionTaskId=&Action=&Version=#Action=CancelConversionTask';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ConversionTaskId=&Action=&Version=#Action=CancelConversionTask"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ConversionTaskId=&Action=&Version=#Action=CancelConversionTask" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ConversionTaskId=&Action=&Version=#Action=CancelConversionTask",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ConversionTaskId=&Action=&Version=#Action=CancelConversionTask');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CancelConversionTask');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ConversionTaskId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CancelConversionTask');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ConversionTaskId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ConversionTaskId=&Action=&Version=#Action=CancelConversionTask' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ConversionTaskId=&Action=&Version=#Action=CancelConversionTask' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ConversionTaskId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CancelConversionTask"
querystring = {"ConversionTaskId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CancelConversionTask"
queryString <- list(
ConversionTaskId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ConversionTaskId=&Action=&Version=#Action=CancelConversionTask")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ConversionTaskId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CancelConversionTask";
let querystring = [
("ConversionTaskId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ConversionTaskId=&Action=&Version=#Action=CancelConversionTask'
http GET '{{baseUrl}}/?ConversionTaskId=&Action=&Version=#Action=CancelConversionTask'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ConversionTaskId=&Action=&Version=#Action=CancelConversionTask'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ConversionTaskId=&Action=&Version=#Action=CancelConversionTask")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CancelExportTask
{{baseUrl}}/#Action=CancelExportTask
QUERY PARAMS
ExportTaskId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ExportTaskId=&Action=&Version=#Action=CancelExportTask");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CancelExportTask" {:query-params {:ExportTaskId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ExportTaskId=&Action=&Version=#Action=CancelExportTask"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ExportTaskId=&Action=&Version=#Action=CancelExportTask"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ExportTaskId=&Action=&Version=#Action=CancelExportTask");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ExportTaskId=&Action=&Version=#Action=CancelExportTask"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ExportTaskId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ExportTaskId=&Action=&Version=#Action=CancelExportTask")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ExportTaskId=&Action=&Version=#Action=CancelExportTask"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ExportTaskId=&Action=&Version=#Action=CancelExportTask")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ExportTaskId=&Action=&Version=#Action=CancelExportTask")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ExportTaskId=&Action=&Version=#Action=CancelExportTask');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelExportTask',
params: {ExportTaskId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ExportTaskId=&Action=&Version=#Action=CancelExportTask';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ExportTaskId=&Action=&Version=#Action=CancelExportTask',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ExportTaskId=&Action=&Version=#Action=CancelExportTask")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ExportTaskId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelExportTask',
qs: {ExportTaskId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CancelExportTask');
req.query({
ExportTaskId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelExportTask',
params: {ExportTaskId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ExportTaskId=&Action=&Version=#Action=CancelExportTask';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ExportTaskId=&Action=&Version=#Action=CancelExportTask"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ExportTaskId=&Action=&Version=#Action=CancelExportTask" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ExportTaskId=&Action=&Version=#Action=CancelExportTask",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ExportTaskId=&Action=&Version=#Action=CancelExportTask');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CancelExportTask');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ExportTaskId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CancelExportTask');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ExportTaskId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ExportTaskId=&Action=&Version=#Action=CancelExportTask' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ExportTaskId=&Action=&Version=#Action=CancelExportTask' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ExportTaskId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CancelExportTask"
querystring = {"ExportTaskId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CancelExportTask"
queryString <- list(
ExportTaskId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ExportTaskId=&Action=&Version=#Action=CancelExportTask")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ExportTaskId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CancelExportTask";
let querystring = [
("ExportTaskId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ExportTaskId=&Action=&Version=#Action=CancelExportTask'
http GET '{{baseUrl}}/?ExportTaskId=&Action=&Version=#Action=CancelExportTask'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ExportTaskId=&Action=&Version=#Action=CancelExportTask'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ExportTaskId=&Action=&Version=#Action=CancelExportTask")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CancelImageLaunchPermission
{{baseUrl}}/#Action=CancelImageLaunchPermission
QUERY PARAMS
ImageId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ImageId=&Action=&Version=#Action=CancelImageLaunchPermission");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CancelImageLaunchPermission" {:query-params {:ImageId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ImageId=&Action=&Version=#Action=CancelImageLaunchPermission"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ImageId=&Action=&Version=#Action=CancelImageLaunchPermission"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ImageId=&Action=&Version=#Action=CancelImageLaunchPermission");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ImageId=&Action=&Version=#Action=CancelImageLaunchPermission"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ImageId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ImageId=&Action=&Version=#Action=CancelImageLaunchPermission")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ImageId=&Action=&Version=#Action=CancelImageLaunchPermission"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ImageId=&Action=&Version=#Action=CancelImageLaunchPermission")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ImageId=&Action=&Version=#Action=CancelImageLaunchPermission")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ImageId=&Action=&Version=#Action=CancelImageLaunchPermission');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelImageLaunchPermission',
params: {ImageId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ImageId=&Action=&Version=#Action=CancelImageLaunchPermission';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ImageId=&Action=&Version=#Action=CancelImageLaunchPermission',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ImageId=&Action=&Version=#Action=CancelImageLaunchPermission")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ImageId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelImageLaunchPermission',
qs: {ImageId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CancelImageLaunchPermission');
req.query({
ImageId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelImageLaunchPermission',
params: {ImageId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ImageId=&Action=&Version=#Action=CancelImageLaunchPermission';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ImageId=&Action=&Version=#Action=CancelImageLaunchPermission"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ImageId=&Action=&Version=#Action=CancelImageLaunchPermission" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ImageId=&Action=&Version=#Action=CancelImageLaunchPermission",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ImageId=&Action=&Version=#Action=CancelImageLaunchPermission');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CancelImageLaunchPermission');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ImageId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CancelImageLaunchPermission');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ImageId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ImageId=&Action=&Version=#Action=CancelImageLaunchPermission' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ImageId=&Action=&Version=#Action=CancelImageLaunchPermission' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ImageId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CancelImageLaunchPermission"
querystring = {"ImageId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CancelImageLaunchPermission"
queryString <- list(
ImageId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ImageId=&Action=&Version=#Action=CancelImageLaunchPermission")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ImageId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CancelImageLaunchPermission";
let querystring = [
("ImageId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ImageId=&Action=&Version=#Action=CancelImageLaunchPermission'
http GET '{{baseUrl}}/?ImageId=&Action=&Version=#Action=CancelImageLaunchPermission'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ImageId=&Action=&Version=#Action=CancelImageLaunchPermission'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ImageId=&Action=&Version=#Action=CancelImageLaunchPermission")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CancelImportTask
{{baseUrl}}/#Action=CancelImportTask
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CancelImportTask");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CancelImportTask" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CancelImportTask"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CancelImportTask"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CancelImportTask");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CancelImportTask"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=CancelImportTask")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CancelImportTask"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CancelImportTask")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=CancelImportTask")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=CancelImportTask');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelImportTask',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CancelImportTask';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CancelImportTask',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CancelImportTask")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelImportTask',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CancelImportTask');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelImportTask',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CancelImportTask';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CancelImportTask"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CancelImportTask" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CancelImportTask",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=CancelImportTask');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CancelImportTask');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CancelImportTask');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CancelImportTask' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CancelImportTask' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CancelImportTask"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CancelImportTask"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CancelImportTask")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CancelImportTask";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=CancelImportTask'
http GET '{{baseUrl}}/?Action=&Version=#Action=CancelImportTask'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CancelImportTask'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CancelImportTask")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CancelReservedInstancesListing
{{baseUrl}}/#Action=CancelReservedInstancesListing
QUERY PARAMS
ReservedInstancesListingId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ReservedInstancesListingId=&Action=&Version=#Action=CancelReservedInstancesListing");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CancelReservedInstancesListing" {:query-params {:ReservedInstancesListingId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ReservedInstancesListingId=&Action=&Version=#Action=CancelReservedInstancesListing"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ReservedInstancesListingId=&Action=&Version=#Action=CancelReservedInstancesListing"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ReservedInstancesListingId=&Action=&Version=#Action=CancelReservedInstancesListing");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ReservedInstancesListingId=&Action=&Version=#Action=CancelReservedInstancesListing"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ReservedInstancesListingId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ReservedInstancesListingId=&Action=&Version=#Action=CancelReservedInstancesListing")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ReservedInstancesListingId=&Action=&Version=#Action=CancelReservedInstancesListing"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ReservedInstancesListingId=&Action=&Version=#Action=CancelReservedInstancesListing")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ReservedInstancesListingId=&Action=&Version=#Action=CancelReservedInstancesListing")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ReservedInstancesListingId=&Action=&Version=#Action=CancelReservedInstancesListing');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelReservedInstancesListing',
params: {ReservedInstancesListingId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ReservedInstancesListingId=&Action=&Version=#Action=CancelReservedInstancesListing';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ReservedInstancesListingId=&Action=&Version=#Action=CancelReservedInstancesListing',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ReservedInstancesListingId=&Action=&Version=#Action=CancelReservedInstancesListing")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ReservedInstancesListingId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelReservedInstancesListing',
qs: {ReservedInstancesListingId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CancelReservedInstancesListing');
req.query({
ReservedInstancesListingId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelReservedInstancesListing',
params: {ReservedInstancesListingId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ReservedInstancesListingId=&Action=&Version=#Action=CancelReservedInstancesListing';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ReservedInstancesListingId=&Action=&Version=#Action=CancelReservedInstancesListing"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ReservedInstancesListingId=&Action=&Version=#Action=CancelReservedInstancesListing" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ReservedInstancesListingId=&Action=&Version=#Action=CancelReservedInstancesListing",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ReservedInstancesListingId=&Action=&Version=#Action=CancelReservedInstancesListing');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CancelReservedInstancesListing');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ReservedInstancesListingId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CancelReservedInstancesListing');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ReservedInstancesListingId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ReservedInstancesListingId=&Action=&Version=#Action=CancelReservedInstancesListing' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ReservedInstancesListingId=&Action=&Version=#Action=CancelReservedInstancesListing' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ReservedInstancesListingId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CancelReservedInstancesListing"
querystring = {"ReservedInstancesListingId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CancelReservedInstancesListing"
queryString <- list(
ReservedInstancesListingId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ReservedInstancesListingId=&Action=&Version=#Action=CancelReservedInstancesListing")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ReservedInstancesListingId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CancelReservedInstancesListing";
let querystring = [
("ReservedInstancesListingId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ReservedInstancesListingId=&Action=&Version=#Action=CancelReservedInstancesListing'
http GET '{{baseUrl}}/?ReservedInstancesListingId=&Action=&Version=#Action=CancelReservedInstancesListing'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ReservedInstancesListingId=&Action=&Version=#Action=CancelReservedInstancesListing'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ReservedInstancesListingId=&Action=&Version=#Action=CancelReservedInstancesListing")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CancelSpotFleetRequests
{{baseUrl}}/#Action=CancelSpotFleetRequests
QUERY PARAMS
SpotFleetRequestId
TerminateInstances
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?SpotFleetRequestId=&TerminateInstances=&Action=&Version=#Action=CancelSpotFleetRequests");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CancelSpotFleetRequests" {:query-params {:SpotFleetRequestId ""
:TerminateInstances ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?SpotFleetRequestId=&TerminateInstances=&Action=&Version=#Action=CancelSpotFleetRequests"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?SpotFleetRequestId=&TerminateInstances=&Action=&Version=#Action=CancelSpotFleetRequests"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?SpotFleetRequestId=&TerminateInstances=&Action=&Version=#Action=CancelSpotFleetRequests");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?SpotFleetRequestId=&TerminateInstances=&Action=&Version=#Action=CancelSpotFleetRequests"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?SpotFleetRequestId=&TerminateInstances=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?SpotFleetRequestId=&TerminateInstances=&Action=&Version=#Action=CancelSpotFleetRequests")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?SpotFleetRequestId=&TerminateInstances=&Action=&Version=#Action=CancelSpotFleetRequests"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?SpotFleetRequestId=&TerminateInstances=&Action=&Version=#Action=CancelSpotFleetRequests")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?SpotFleetRequestId=&TerminateInstances=&Action=&Version=#Action=CancelSpotFleetRequests")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?SpotFleetRequestId=&TerminateInstances=&Action=&Version=#Action=CancelSpotFleetRequests');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelSpotFleetRequests',
params: {SpotFleetRequestId: '', TerminateInstances: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?SpotFleetRequestId=&TerminateInstances=&Action=&Version=#Action=CancelSpotFleetRequests';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?SpotFleetRequestId=&TerminateInstances=&Action=&Version=#Action=CancelSpotFleetRequests',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?SpotFleetRequestId=&TerminateInstances=&Action=&Version=#Action=CancelSpotFleetRequests")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?SpotFleetRequestId=&TerminateInstances=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelSpotFleetRequests',
qs: {SpotFleetRequestId: '', TerminateInstances: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CancelSpotFleetRequests');
req.query({
SpotFleetRequestId: '',
TerminateInstances: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelSpotFleetRequests',
params: {SpotFleetRequestId: '', TerminateInstances: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?SpotFleetRequestId=&TerminateInstances=&Action=&Version=#Action=CancelSpotFleetRequests';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?SpotFleetRequestId=&TerminateInstances=&Action=&Version=#Action=CancelSpotFleetRequests"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?SpotFleetRequestId=&TerminateInstances=&Action=&Version=#Action=CancelSpotFleetRequests" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?SpotFleetRequestId=&TerminateInstances=&Action=&Version=#Action=CancelSpotFleetRequests",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?SpotFleetRequestId=&TerminateInstances=&Action=&Version=#Action=CancelSpotFleetRequests');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CancelSpotFleetRequests');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'SpotFleetRequestId' => '',
'TerminateInstances' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CancelSpotFleetRequests');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'SpotFleetRequestId' => '',
'TerminateInstances' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?SpotFleetRequestId=&TerminateInstances=&Action=&Version=#Action=CancelSpotFleetRequests' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?SpotFleetRequestId=&TerminateInstances=&Action=&Version=#Action=CancelSpotFleetRequests' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?SpotFleetRequestId=&TerminateInstances=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CancelSpotFleetRequests"
querystring = {"SpotFleetRequestId":"","TerminateInstances":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CancelSpotFleetRequests"
queryString <- list(
SpotFleetRequestId = "",
TerminateInstances = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?SpotFleetRequestId=&TerminateInstances=&Action=&Version=#Action=CancelSpotFleetRequests")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['SpotFleetRequestId'] = ''
req.params['TerminateInstances'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CancelSpotFleetRequests";
let querystring = [
("SpotFleetRequestId", ""),
("TerminateInstances", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?SpotFleetRequestId=&TerminateInstances=&Action=&Version=#Action=CancelSpotFleetRequests'
http GET '{{baseUrl}}/?SpotFleetRequestId=&TerminateInstances=&Action=&Version=#Action=CancelSpotFleetRequests'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?SpotFleetRequestId=&TerminateInstances=&Action=&Version=#Action=CancelSpotFleetRequests'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?SpotFleetRequestId=&TerminateInstances=&Action=&Version=#Action=CancelSpotFleetRequests")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"SuccessfulFleetRequests": [
{
"CurrentSpotFleetRequestState": "cancelled_terminating",
"PreviousSpotFleetRequestState": "active",
"SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE"
}
]
}
GET
GET_CancelSpotInstanceRequests
{{baseUrl}}/#Action=CancelSpotInstanceRequests
QUERY PARAMS
SpotInstanceRequestId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?SpotInstanceRequestId=&Action=&Version=#Action=CancelSpotInstanceRequests");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CancelSpotInstanceRequests" {:query-params {:SpotInstanceRequestId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?SpotInstanceRequestId=&Action=&Version=#Action=CancelSpotInstanceRequests"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?SpotInstanceRequestId=&Action=&Version=#Action=CancelSpotInstanceRequests"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?SpotInstanceRequestId=&Action=&Version=#Action=CancelSpotInstanceRequests");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?SpotInstanceRequestId=&Action=&Version=#Action=CancelSpotInstanceRequests"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?SpotInstanceRequestId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?SpotInstanceRequestId=&Action=&Version=#Action=CancelSpotInstanceRequests")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?SpotInstanceRequestId=&Action=&Version=#Action=CancelSpotInstanceRequests"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?SpotInstanceRequestId=&Action=&Version=#Action=CancelSpotInstanceRequests")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?SpotInstanceRequestId=&Action=&Version=#Action=CancelSpotInstanceRequests")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?SpotInstanceRequestId=&Action=&Version=#Action=CancelSpotInstanceRequests');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelSpotInstanceRequests',
params: {SpotInstanceRequestId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?SpotInstanceRequestId=&Action=&Version=#Action=CancelSpotInstanceRequests';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?SpotInstanceRequestId=&Action=&Version=#Action=CancelSpotInstanceRequests',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?SpotInstanceRequestId=&Action=&Version=#Action=CancelSpotInstanceRequests")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?SpotInstanceRequestId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelSpotInstanceRequests',
qs: {SpotInstanceRequestId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CancelSpotInstanceRequests');
req.query({
SpotInstanceRequestId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CancelSpotInstanceRequests',
params: {SpotInstanceRequestId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?SpotInstanceRequestId=&Action=&Version=#Action=CancelSpotInstanceRequests';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?SpotInstanceRequestId=&Action=&Version=#Action=CancelSpotInstanceRequests"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?SpotInstanceRequestId=&Action=&Version=#Action=CancelSpotInstanceRequests" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?SpotInstanceRequestId=&Action=&Version=#Action=CancelSpotInstanceRequests",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?SpotInstanceRequestId=&Action=&Version=#Action=CancelSpotInstanceRequests');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CancelSpotInstanceRequests');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'SpotInstanceRequestId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CancelSpotInstanceRequests');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'SpotInstanceRequestId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?SpotInstanceRequestId=&Action=&Version=#Action=CancelSpotInstanceRequests' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?SpotInstanceRequestId=&Action=&Version=#Action=CancelSpotInstanceRequests' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?SpotInstanceRequestId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CancelSpotInstanceRequests"
querystring = {"SpotInstanceRequestId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CancelSpotInstanceRequests"
queryString <- list(
SpotInstanceRequestId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?SpotInstanceRequestId=&Action=&Version=#Action=CancelSpotInstanceRequests")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['SpotInstanceRequestId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CancelSpotInstanceRequests";
let querystring = [
("SpotInstanceRequestId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?SpotInstanceRequestId=&Action=&Version=#Action=CancelSpotInstanceRequests'
http GET '{{baseUrl}}/?SpotInstanceRequestId=&Action=&Version=#Action=CancelSpotInstanceRequests'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?SpotInstanceRequestId=&Action=&Version=#Action=CancelSpotInstanceRequests'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?SpotInstanceRequestId=&Action=&Version=#Action=CancelSpotInstanceRequests")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"CancelledSpotInstanceRequests": [
{
"SpotInstanceRequestId": "sir-08b93456",
"State": "cancelled"
}
]
}
GET
GET_ConfirmProductInstance
{{baseUrl}}/#Action=ConfirmProductInstance
QUERY PARAMS
InstanceId
ProductCode
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceId=&ProductCode=&Action=&Version=#Action=ConfirmProductInstance");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ConfirmProductInstance" {:query-params {:InstanceId ""
:ProductCode ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceId=&ProductCode=&Action=&Version=#Action=ConfirmProductInstance"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceId=&ProductCode=&Action=&Version=#Action=ConfirmProductInstance"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceId=&ProductCode=&Action=&Version=#Action=ConfirmProductInstance");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceId=&ProductCode=&Action=&Version=#Action=ConfirmProductInstance"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceId=&ProductCode=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceId=&ProductCode=&Action=&Version=#Action=ConfirmProductInstance")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceId=&ProductCode=&Action=&Version=#Action=ConfirmProductInstance"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceId=&ProductCode=&Action=&Version=#Action=ConfirmProductInstance")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceId=&ProductCode=&Action=&Version=#Action=ConfirmProductInstance")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceId=&ProductCode=&Action=&Version=#Action=ConfirmProductInstance');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ConfirmProductInstance',
params: {InstanceId: '', ProductCode: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceId=&ProductCode=&Action=&Version=#Action=ConfirmProductInstance';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceId=&ProductCode=&Action=&Version=#Action=ConfirmProductInstance',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceId=&ProductCode=&Action=&Version=#Action=ConfirmProductInstance")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceId=&ProductCode=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ConfirmProductInstance',
qs: {InstanceId: '', ProductCode: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ConfirmProductInstance');
req.query({
InstanceId: '',
ProductCode: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ConfirmProductInstance',
params: {InstanceId: '', ProductCode: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceId=&ProductCode=&Action=&Version=#Action=ConfirmProductInstance';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceId=&ProductCode=&Action=&Version=#Action=ConfirmProductInstance"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceId=&ProductCode=&Action=&Version=#Action=ConfirmProductInstance" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceId=&ProductCode=&Action=&Version=#Action=ConfirmProductInstance",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceId=&ProductCode=&Action=&Version=#Action=ConfirmProductInstance');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ConfirmProductInstance');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceId' => '',
'ProductCode' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ConfirmProductInstance');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceId' => '',
'ProductCode' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceId=&ProductCode=&Action=&Version=#Action=ConfirmProductInstance' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceId=&ProductCode=&Action=&Version=#Action=ConfirmProductInstance' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceId=&ProductCode=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ConfirmProductInstance"
querystring = {"InstanceId":"","ProductCode":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ConfirmProductInstance"
queryString <- list(
InstanceId = "",
ProductCode = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceId=&ProductCode=&Action=&Version=#Action=ConfirmProductInstance")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceId'] = ''
req.params['ProductCode'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ConfirmProductInstance";
let querystring = [
("InstanceId", ""),
("ProductCode", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceId=&ProductCode=&Action=&Version=#Action=ConfirmProductInstance'
http GET '{{baseUrl}}/?InstanceId=&ProductCode=&Action=&Version=#Action=ConfirmProductInstance'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceId=&ProductCode=&Action=&Version=#Action=ConfirmProductInstance'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceId=&ProductCode=&Action=&Version=#Action=ConfirmProductInstance")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"OwnerId": "123456789012"
}
GET
GET_CopyFpgaImage
{{baseUrl}}/#Action=CopyFpgaImage
QUERY PARAMS
SourceFpgaImageId
SourceRegion
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?SourceFpgaImageId=&SourceRegion=&Action=&Version=#Action=CopyFpgaImage");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CopyFpgaImage" {:query-params {:SourceFpgaImageId ""
:SourceRegion ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?SourceFpgaImageId=&SourceRegion=&Action=&Version=#Action=CopyFpgaImage"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?SourceFpgaImageId=&SourceRegion=&Action=&Version=#Action=CopyFpgaImage"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?SourceFpgaImageId=&SourceRegion=&Action=&Version=#Action=CopyFpgaImage");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?SourceFpgaImageId=&SourceRegion=&Action=&Version=#Action=CopyFpgaImage"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?SourceFpgaImageId=&SourceRegion=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?SourceFpgaImageId=&SourceRegion=&Action=&Version=#Action=CopyFpgaImage")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?SourceFpgaImageId=&SourceRegion=&Action=&Version=#Action=CopyFpgaImage"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?SourceFpgaImageId=&SourceRegion=&Action=&Version=#Action=CopyFpgaImage")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?SourceFpgaImageId=&SourceRegion=&Action=&Version=#Action=CopyFpgaImage")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?SourceFpgaImageId=&SourceRegion=&Action=&Version=#Action=CopyFpgaImage');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CopyFpgaImage',
params: {SourceFpgaImageId: '', SourceRegion: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?SourceFpgaImageId=&SourceRegion=&Action=&Version=#Action=CopyFpgaImage';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?SourceFpgaImageId=&SourceRegion=&Action=&Version=#Action=CopyFpgaImage',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?SourceFpgaImageId=&SourceRegion=&Action=&Version=#Action=CopyFpgaImage")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?SourceFpgaImageId=&SourceRegion=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CopyFpgaImage',
qs: {SourceFpgaImageId: '', SourceRegion: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CopyFpgaImage');
req.query({
SourceFpgaImageId: '',
SourceRegion: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CopyFpgaImage',
params: {SourceFpgaImageId: '', SourceRegion: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?SourceFpgaImageId=&SourceRegion=&Action=&Version=#Action=CopyFpgaImage';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?SourceFpgaImageId=&SourceRegion=&Action=&Version=#Action=CopyFpgaImage"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?SourceFpgaImageId=&SourceRegion=&Action=&Version=#Action=CopyFpgaImage" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?SourceFpgaImageId=&SourceRegion=&Action=&Version=#Action=CopyFpgaImage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?SourceFpgaImageId=&SourceRegion=&Action=&Version=#Action=CopyFpgaImage');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CopyFpgaImage');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'SourceFpgaImageId' => '',
'SourceRegion' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CopyFpgaImage');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'SourceFpgaImageId' => '',
'SourceRegion' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?SourceFpgaImageId=&SourceRegion=&Action=&Version=#Action=CopyFpgaImage' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?SourceFpgaImageId=&SourceRegion=&Action=&Version=#Action=CopyFpgaImage' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?SourceFpgaImageId=&SourceRegion=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CopyFpgaImage"
querystring = {"SourceFpgaImageId":"","SourceRegion":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CopyFpgaImage"
queryString <- list(
SourceFpgaImageId = "",
SourceRegion = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?SourceFpgaImageId=&SourceRegion=&Action=&Version=#Action=CopyFpgaImage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['SourceFpgaImageId'] = ''
req.params['SourceRegion'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CopyFpgaImage";
let querystring = [
("SourceFpgaImageId", ""),
("SourceRegion", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?SourceFpgaImageId=&SourceRegion=&Action=&Version=#Action=CopyFpgaImage'
http GET '{{baseUrl}}/?SourceFpgaImageId=&SourceRegion=&Action=&Version=#Action=CopyFpgaImage'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?SourceFpgaImageId=&SourceRegion=&Action=&Version=#Action=CopyFpgaImage'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?SourceFpgaImageId=&SourceRegion=&Action=&Version=#Action=CopyFpgaImage")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CopyImage
{{baseUrl}}/#Action=CopyImage
QUERY PARAMS
Name
SourceImageId
SourceRegion
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Name=&SourceImageId=&SourceRegion=&Action=&Version=#Action=CopyImage");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CopyImage" {:query-params {:Name ""
:SourceImageId ""
:SourceRegion ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Name=&SourceImageId=&SourceRegion=&Action=&Version=#Action=CopyImage"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Name=&SourceImageId=&SourceRegion=&Action=&Version=#Action=CopyImage"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Name=&SourceImageId=&SourceRegion=&Action=&Version=#Action=CopyImage");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Name=&SourceImageId=&SourceRegion=&Action=&Version=#Action=CopyImage"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Name=&SourceImageId=&SourceRegion=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Name=&SourceImageId=&SourceRegion=&Action=&Version=#Action=CopyImage")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Name=&SourceImageId=&SourceRegion=&Action=&Version=#Action=CopyImage"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Name=&SourceImageId=&SourceRegion=&Action=&Version=#Action=CopyImage")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Name=&SourceImageId=&SourceRegion=&Action=&Version=#Action=CopyImage")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Name=&SourceImageId=&SourceRegion=&Action=&Version=#Action=CopyImage');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CopyImage',
params: {Name: '', SourceImageId: '', SourceRegion: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Name=&SourceImageId=&SourceRegion=&Action=&Version=#Action=CopyImage';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Name=&SourceImageId=&SourceRegion=&Action=&Version=#Action=CopyImage',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Name=&SourceImageId=&SourceRegion=&Action=&Version=#Action=CopyImage")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Name=&SourceImageId=&SourceRegion=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CopyImage',
qs: {Name: '', SourceImageId: '', SourceRegion: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CopyImage');
req.query({
Name: '',
SourceImageId: '',
SourceRegion: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CopyImage',
params: {Name: '', SourceImageId: '', SourceRegion: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Name=&SourceImageId=&SourceRegion=&Action=&Version=#Action=CopyImage';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Name=&SourceImageId=&SourceRegion=&Action=&Version=#Action=CopyImage"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Name=&SourceImageId=&SourceRegion=&Action=&Version=#Action=CopyImage" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Name=&SourceImageId=&SourceRegion=&Action=&Version=#Action=CopyImage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Name=&SourceImageId=&SourceRegion=&Action=&Version=#Action=CopyImage');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CopyImage');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Name' => '',
'SourceImageId' => '',
'SourceRegion' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CopyImage');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Name' => '',
'SourceImageId' => '',
'SourceRegion' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Name=&SourceImageId=&SourceRegion=&Action=&Version=#Action=CopyImage' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Name=&SourceImageId=&SourceRegion=&Action=&Version=#Action=CopyImage' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Name=&SourceImageId=&SourceRegion=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CopyImage"
querystring = {"Name":"","SourceImageId":"","SourceRegion":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CopyImage"
queryString <- list(
Name = "",
SourceImageId = "",
SourceRegion = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Name=&SourceImageId=&SourceRegion=&Action=&Version=#Action=CopyImage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Name'] = ''
req.params['SourceImageId'] = ''
req.params['SourceRegion'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CopyImage";
let querystring = [
("Name", ""),
("SourceImageId", ""),
("SourceRegion", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Name=&SourceImageId=&SourceRegion=&Action=&Version=#Action=CopyImage'
http GET '{{baseUrl}}/?Name=&SourceImageId=&SourceRegion=&Action=&Version=#Action=CopyImage'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Name=&SourceImageId=&SourceRegion=&Action=&Version=#Action=CopyImage'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Name=&SourceImageId=&SourceRegion=&Action=&Version=#Action=CopyImage")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"ImageId": "ami-438bea42"
}
GET
GET_CopySnapshot
{{baseUrl}}/#Action=CopySnapshot
QUERY PARAMS
SourceRegion
SourceSnapshotId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?SourceRegion=&SourceSnapshotId=&Action=&Version=#Action=CopySnapshot");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CopySnapshot" {:query-params {:SourceRegion ""
:SourceSnapshotId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?SourceRegion=&SourceSnapshotId=&Action=&Version=#Action=CopySnapshot"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?SourceRegion=&SourceSnapshotId=&Action=&Version=#Action=CopySnapshot"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?SourceRegion=&SourceSnapshotId=&Action=&Version=#Action=CopySnapshot");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?SourceRegion=&SourceSnapshotId=&Action=&Version=#Action=CopySnapshot"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?SourceRegion=&SourceSnapshotId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?SourceRegion=&SourceSnapshotId=&Action=&Version=#Action=CopySnapshot")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?SourceRegion=&SourceSnapshotId=&Action=&Version=#Action=CopySnapshot"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?SourceRegion=&SourceSnapshotId=&Action=&Version=#Action=CopySnapshot")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?SourceRegion=&SourceSnapshotId=&Action=&Version=#Action=CopySnapshot")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?SourceRegion=&SourceSnapshotId=&Action=&Version=#Action=CopySnapshot');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CopySnapshot',
params: {SourceRegion: '', SourceSnapshotId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?SourceRegion=&SourceSnapshotId=&Action=&Version=#Action=CopySnapshot';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?SourceRegion=&SourceSnapshotId=&Action=&Version=#Action=CopySnapshot',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?SourceRegion=&SourceSnapshotId=&Action=&Version=#Action=CopySnapshot")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?SourceRegion=&SourceSnapshotId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CopySnapshot',
qs: {SourceRegion: '', SourceSnapshotId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CopySnapshot');
req.query({
SourceRegion: '',
SourceSnapshotId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CopySnapshot',
params: {SourceRegion: '', SourceSnapshotId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?SourceRegion=&SourceSnapshotId=&Action=&Version=#Action=CopySnapshot';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?SourceRegion=&SourceSnapshotId=&Action=&Version=#Action=CopySnapshot"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?SourceRegion=&SourceSnapshotId=&Action=&Version=#Action=CopySnapshot" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?SourceRegion=&SourceSnapshotId=&Action=&Version=#Action=CopySnapshot",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?SourceRegion=&SourceSnapshotId=&Action=&Version=#Action=CopySnapshot');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CopySnapshot');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'SourceRegion' => '',
'SourceSnapshotId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CopySnapshot');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'SourceRegion' => '',
'SourceSnapshotId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?SourceRegion=&SourceSnapshotId=&Action=&Version=#Action=CopySnapshot' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?SourceRegion=&SourceSnapshotId=&Action=&Version=#Action=CopySnapshot' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?SourceRegion=&SourceSnapshotId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CopySnapshot"
querystring = {"SourceRegion":"","SourceSnapshotId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CopySnapshot"
queryString <- list(
SourceRegion = "",
SourceSnapshotId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?SourceRegion=&SourceSnapshotId=&Action=&Version=#Action=CopySnapshot")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['SourceRegion'] = ''
req.params['SourceSnapshotId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CopySnapshot";
let querystring = [
("SourceRegion", ""),
("SourceSnapshotId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?SourceRegion=&SourceSnapshotId=&Action=&Version=#Action=CopySnapshot'
http GET '{{baseUrl}}/?SourceRegion=&SourceSnapshotId=&Action=&Version=#Action=CopySnapshot'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?SourceRegion=&SourceSnapshotId=&Action=&Version=#Action=CopySnapshot'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?SourceRegion=&SourceSnapshotId=&Action=&Version=#Action=CopySnapshot")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"SnapshotId": "snap-066877671789bd71b"
}
GET
GET_CreateCapacityReservation
{{baseUrl}}/#Action=CreateCapacityReservation
QUERY PARAMS
InstanceType
InstancePlatform
InstanceCount
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceType=&InstancePlatform=&InstanceCount=&Action=&Version=#Action=CreateCapacityReservation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateCapacityReservation" {:query-params {:InstanceType ""
:InstancePlatform ""
:InstanceCount ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceType=&InstancePlatform=&InstanceCount=&Action=&Version=#Action=CreateCapacityReservation"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceType=&InstancePlatform=&InstanceCount=&Action=&Version=#Action=CreateCapacityReservation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceType=&InstancePlatform=&InstanceCount=&Action=&Version=#Action=CreateCapacityReservation");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceType=&InstancePlatform=&InstanceCount=&Action=&Version=#Action=CreateCapacityReservation"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceType=&InstancePlatform=&InstanceCount=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceType=&InstancePlatform=&InstanceCount=&Action=&Version=#Action=CreateCapacityReservation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceType=&InstancePlatform=&InstanceCount=&Action=&Version=#Action=CreateCapacityReservation"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceType=&InstancePlatform=&InstanceCount=&Action=&Version=#Action=CreateCapacityReservation")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceType=&InstancePlatform=&InstanceCount=&Action=&Version=#Action=CreateCapacityReservation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceType=&InstancePlatform=&InstanceCount=&Action=&Version=#Action=CreateCapacityReservation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateCapacityReservation',
params: {
InstanceType: '',
InstancePlatform: '',
InstanceCount: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceType=&InstancePlatform=&InstanceCount=&Action=&Version=#Action=CreateCapacityReservation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceType=&InstancePlatform=&InstanceCount=&Action=&Version=#Action=CreateCapacityReservation',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceType=&InstancePlatform=&InstanceCount=&Action=&Version=#Action=CreateCapacityReservation")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceType=&InstancePlatform=&InstanceCount=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateCapacityReservation',
qs: {
InstanceType: '',
InstancePlatform: '',
InstanceCount: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateCapacityReservation');
req.query({
InstanceType: '',
InstancePlatform: '',
InstanceCount: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateCapacityReservation',
params: {
InstanceType: '',
InstancePlatform: '',
InstanceCount: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceType=&InstancePlatform=&InstanceCount=&Action=&Version=#Action=CreateCapacityReservation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceType=&InstancePlatform=&InstanceCount=&Action=&Version=#Action=CreateCapacityReservation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceType=&InstancePlatform=&InstanceCount=&Action=&Version=#Action=CreateCapacityReservation" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceType=&InstancePlatform=&InstanceCount=&Action=&Version=#Action=CreateCapacityReservation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceType=&InstancePlatform=&InstanceCount=&Action=&Version=#Action=CreateCapacityReservation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateCapacityReservation');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceType' => '',
'InstancePlatform' => '',
'InstanceCount' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateCapacityReservation');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceType' => '',
'InstancePlatform' => '',
'InstanceCount' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceType=&InstancePlatform=&InstanceCount=&Action=&Version=#Action=CreateCapacityReservation' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceType=&InstancePlatform=&InstanceCount=&Action=&Version=#Action=CreateCapacityReservation' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceType=&InstancePlatform=&InstanceCount=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateCapacityReservation"
querystring = {"InstanceType":"","InstancePlatform":"","InstanceCount":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateCapacityReservation"
queryString <- list(
InstanceType = "",
InstancePlatform = "",
InstanceCount = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceType=&InstancePlatform=&InstanceCount=&Action=&Version=#Action=CreateCapacityReservation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceType'] = ''
req.params['InstancePlatform'] = ''
req.params['InstanceCount'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateCapacityReservation";
let querystring = [
("InstanceType", ""),
("InstancePlatform", ""),
("InstanceCount", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceType=&InstancePlatform=&InstanceCount=&Action=&Version=#Action=CreateCapacityReservation'
http GET '{{baseUrl}}/?InstanceType=&InstancePlatform=&InstanceCount=&Action=&Version=#Action=CreateCapacityReservation'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceType=&InstancePlatform=&InstanceCount=&Action=&Version=#Action=CreateCapacityReservation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceType=&InstancePlatform=&InstanceCount=&Action=&Version=#Action=CreateCapacityReservation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateCapacityReservationFleet
{{baseUrl}}/#Action=CreateCapacityReservationFleet
QUERY PARAMS
InstanceTypeSpecification
TotalTargetCapacity
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceTypeSpecification=&TotalTargetCapacity=&Action=&Version=#Action=CreateCapacityReservationFleet");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateCapacityReservationFleet" {:query-params {:InstanceTypeSpecification ""
:TotalTargetCapacity ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceTypeSpecification=&TotalTargetCapacity=&Action=&Version=#Action=CreateCapacityReservationFleet"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceTypeSpecification=&TotalTargetCapacity=&Action=&Version=#Action=CreateCapacityReservationFleet"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceTypeSpecification=&TotalTargetCapacity=&Action=&Version=#Action=CreateCapacityReservationFleet");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceTypeSpecification=&TotalTargetCapacity=&Action=&Version=#Action=CreateCapacityReservationFleet"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceTypeSpecification=&TotalTargetCapacity=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceTypeSpecification=&TotalTargetCapacity=&Action=&Version=#Action=CreateCapacityReservationFleet")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceTypeSpecification=&TotalTargetCapacity=&Action=&Version=#Action=CreateCapacityReservationFleet"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceTypeSpecification=&TotalTargetCapacity=&Action=&Version=#Action=CreateCapacityReservationFleet")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceTypeSpecification=&TotalTargetCapacity=&Action=&Version=#Action=CreateCapacityReservationFleet")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceTypeSpecification=&TotalTargetCapacity=&Action=&Version=#Action=CreateCapacityReservationFleet');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateCapacityReservationFleet',
params: {
InstanceTypeSpecification: '',
TotalTargetCapacity: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceTypeSpecification=&TotalTargetCapacity=&Action=&Version=#Action=CreateCapacityReservationFleet';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceTypeSpecification=&TotalTargetCapacity=&Action=&Version=#Action=CreateCapacityReservationFleet',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceTypeSpecification=&TotalTargetCapacity=&Action=&Version=#Action=CreateCapacityReservationFleet")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceTypeSpecification=&TotalTargetCapacity=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateCapacityReservationFleet',
qs: {
InstanceTypeSpecification: '',
TotalTargetCapacity: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateCapacityReservationFleet');
req.query({
InstanceTypeSpecification: '',
TotalTargetCapacity: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateCapacityReservationFleet',
params: {
InstanceTypeSpecification: '',
TotalTargetCapacity: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceTypeSpecification=&TotalTargetCapacity=&Action=&Version=#Action=CreateCapacityReservationFleet';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceTypeSpecification=&TotalTargetCapacity=&Action=&Version=#Action=CreateCapacityReservationFleet"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceTypeSpecification=&TotalTargetCapacity=&Action=&Version=#Action=CreateCapacityReservationFleet" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceTypeSpecification=&TotalTargetCapacity=&Action=&Version=#Action=CreateCapacityReservationFleet",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceTypeSpecification=&TotalTargetCapacity=&Action=&Version=#Action=CreateCapacityReservationFleet');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateCapacityReservationFleet');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceTypeSpecification' => '',
'TotalTargetCapacity' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateCapacityReservationFleet');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceTypeSpecification' => '',
'TotalTargetCapacity' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceTypeSpecification=&TotalTargetCapacity=&Action=&Version=#Action=CreateCapacityReservationFleet' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceTypeSpecification=&TotalTargetCapacity=&Action=&Version=#Action=CreateCapacityReservationFleet' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceTypeSpecification=&TotalTargetCapacity=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateCapacityReservationFleet"
querystring = {"InstanceTypeSpecification":"","TotalTargetCapacity":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateCapacityReservationFleet"
queryString <- list(
InstanceTypeSpecification = "",
TotalTargetCapacity = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceTypeSpecification=&TotalTargetCapacity=&Action=&Version=#Action=CreateCapacityReservationFleet")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceTypeSpecification'] = ''
req.params['TotalTargetCapacity'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateCapacityReservationFleet";
let querystring = [
("InstanceTypeSpecification", ""),
("TotalTargetCapacity", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceTypeSpecification=&TotalTargetCapacity=&Action=&Version=#Action=CreateCapacityReservationFleet'
http GET '{{baseUrl}}/?InstanceTypeSpecification=&TotalTargetCapacity=&Action=&Version=#Action=CreateCapacityReservationFleet'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceTypeSpecification=&TotalTargetCapacity=&Action=&Version=#Action=CreateCapacityReservationFleet'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceTypeSpecification=&TotalTargetCapacity=&Action=&Version=#Action=CreateCapacityReservationFleet")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateCarrierGateway
{{baseUrl}}/#Action=CreateCarrierGateway
QUERY PARAMS
VpcId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateCarrierGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateCarrierGateway" {:query-params {:VpcId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateCarrierGateway"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateCarrierGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateCarrierGateway");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateCarrierGateway"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpcId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateCarrierGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateCarrierGateway"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateCarrierGateway")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateCarrierGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateCarrierGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateCarrierGateway',
params: {VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateCarrierGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateCarrierGateway',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateCarrierGateway")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpcId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateCarrierGateway',
qs: {VpcId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateCarrierGateway');
req.query({
VpcId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateCarrierGateway',
params: {VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateCarrierGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateCarrierGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateCarrierGateway" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateCarrierGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateCarrierGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateCarrierGateway');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpcId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateCarrierGateway');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpcId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateCarrierGateway' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateCarrierGateway' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpcId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateCarrierGateway"
querystring = {"VpcId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateCarrierGateway"
queryString <- list(
VpcId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateCarrierGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpcId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateCarrierGateway";
let querystring = [
("VpcId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateCarrierGateway'
http GET '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateCarrierGateway'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateCarrierGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateCarrierGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateClientVpnEndpoint
{{baseUrl}}/#Action=CreateClientVpnEndpoint
QUERY PARAMS
ClientCidrBlock
ServerCertificateArn
Authentication
ConnectionLogOptions
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ClientCidrBlock=&ServerCertificateArn=&Authentication=&ConnectionLogOptions=&Action=&Version=#Action=CreateClientVpnEndpoint");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateClientVpnEndpoint" {:query-params {:ClientCidrBlock ""
:ServerCertificateArn ""
:Authentication ""
:ConnectionLogOptions ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ClientCidrBlock=&ServerCertificateArn=&Authentication=&ConnectionLogOptions=&Action=&Version=#Action=CreateClientVpnEndpoint"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ClientCidrBlock=&ServerCertificateArn=&Authentication=&ConnectionLogOptions=&Action=&Version=#Action=CreateClientVpnEndpoint"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ClientCidrBlock=&ServerCertificateArn=&Authentication=&ConnectionLogOptions=&Action=&Version=#Action=CreateClientVpnEndpoint");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ClientCidrBlock=&ServerCertificateArn=&Authentication=&ConnectionLogOptions=&Action=&Version=#Action=CreateClientVpnEndpoint"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ClientCidrBlock=&ServerCertificateArn=&Authentication=&ConnectionLogOptions=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ClientCidrBlock=&ServerCertificateArn=&Authentication=&ConnectionLogOptions=&Action=&Version=#Action=CreateClientVpnEndpoint")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ClientCidrBlock=&ServerCertificateArn=&Authentication=&ConnectionLogOptions=&Action=&Version=#Action=CreateClientVpnEndpoint"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ClientCidrBlock=&ServerCertificateArn=&Authentication=&ConnectionLogOptions=&Action=&Version=#Action=CreateClientVpnEndpoint")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ClientCidrBlock=&ServerCertificateArn=&Authentication=&ConnectionLogOptions=&Action=&Version=#Action=CreateClientVpnEndpoint")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ClientCidrBlock=&ServerCertificateArn=&Authentication=&ConnectionLogOptions=&Action=&Version=#Action=CreateClientVpnEndpoint');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateClientVpnEndpoint',
params: {
ClientCidrBlock: '',
ServerCertificateArn: '',
Authentication: '',
ConnectionLogOptions: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ClientCidrBlock=&ServerCertificateArn=&Authentication=&ConnectionLogOptions=&Action=&Version=#Action=CreateClientVpnEndpoint';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ClientCidrBlock=&ServerCertificateArn=&Authentication=&ConnectionLogOptions=&Action=&Version=#Action=CreateClientVpnEndpoint',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ClientCidrBlock=&ServerCertificateArn=&Authentication=&ConnectionLogOptions=&Action=&Version=#Action=CreateClientVpnEndpoint")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ClientCidrBlock=&ServerCertificateArn=&Authentication=&ConnectionLogOptions=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateClientVpnEndpoint',
qs: {
ClientCidrBlock: '',
ServerCertificateArn: '',
Authentication: '',
ConnectionLogOptions: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateClientVpnEndpoint');
req.query({
ClientCidrBlock: '',
ServerCertificateArn: '',
Authentication: '',
ConnectionLogOptions: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateClientVpnEndpoint',
params: {
ClientCidrBlock: '',
ServerCertificateArn: '',
Authentication: '',
ConnectionLogOptions: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ClientCidrBlock=&ServerCertificateArn=&Authentication=&ConnectionLogOptions=&Action=&Version=#Action=CreateClientVpnEndpoint';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ClientCidrBlock=&ServerCertificateArn=&Authentication=&ConnectionLogOptions=&Action=&Version=#Action=CreateClientVpnEndpoint"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ClientCidrBlock=&ServerCertificateArn=&Authentication=&ConnectionLogOptions=&Action=&Version=#Action=CreateClientVpnEndpoint" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ClientCidrBlock=&ServerCertificateArn=&Authentication=&ConnectionLogOptions=&Action=&Version=#Action=CreateClientVpnEndpoint",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ClientCidrBlock=&ServerCertificateArn=&Authentication=&ConnectionLogOptions=&Action=&Version=#Action=CreateClientVpnEndpoint');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateClientVpnEndpoint');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ClientCidrBlock' => '',
'ServerCertificateArn' => '',
'Authentication' => '',
'ConnectionLogOptions' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateClientVpnEndpoint');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ClientCidrBlock' => '',
'ServerCertificateArn' => '',
'Authentication' => '',
'ConnectionLogOptions' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ClientCidrBlock=&ServerCertificateArn=&Authentication=&ConnectionLogOptions=&Action=&Version=#Action=CreateClientVpnEndpoint' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ClientCidrBlock=&ServerCertificateArn=&Authentication=&ConnectionLogOptions=&Action=&Version=#Action=CreateClientVpnEndpoint' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ClientCidrBlock=&ServerCertificateArn=&Authentication=&ConnectionLogOptions=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateClientVpnEndpoint"
querystring = {"ClientCidrBlock":"","ServerCertificateArn":"","Authentication":"","ConnectionLogOptions":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateClientVpnEndpoint"
queryString <- list(
ClientCidrBlock = "",
ServerCertificateArn = "",
Authentication = "",
ConnectionLogOptions = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ClientCidrBlock=&ServerCertificateArn=&Authentication=&ConnectionLogOptions=&Action=&Version=#Action=CreateClientVpnEndpoint")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ClientCidrBlock'] = ''
req.params['ServerCertificateArn'] = ''
req.params['Authentication'] = ''
req.params['ConnectionLogOptions'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateClientVpnEndpoint";
let querystring = [
("ClientCidrBlock", ""),
("ServerCertificateArn", ""),
("Authentication", ""),
("ConnectionLogOptions", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ClientCidrBlock=&ServerCertificateArn=&Authentication=&ConnectionLogOptions=&Action=&Version=#Action=CreateClientVpnEndpoint'
http GET '{{baseUrl}}/?ClientCidrBlock=&ServerCertificateArn=&Authentication=&ConnectionLogOptions=&Action=&Version=#Action=CreateClientVpnEndpoint'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ClientCidrBlock=&ServerCertificateArn=&Authentication=&ConnectionLogOptions=&Action=&Version=#Action=CreateClientVpnEndpoint'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ClientCidrBlock=&ServerCertificateArn=&Authentication=&ConnectionLogOptions=&Action=&Version=#Action=CreateClientVpnEndpoint")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateClientVpnRoute
{{baseUrl}}/#Action=CreateClientVpnRoute
QUERY PARAMS
ClientVpnEndpointId
DestinationCidrBlock
TargetVpcSubnetId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&TargetVpcSubnetId=&Action=&Version=#Action=CreateClientVpnRoute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateClientVpnRoute" {:query-params {:ClientVpnEndpointId ""
:DestinationCidrBlock ""
:TargetVpcSubnetId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&TargetVpcSubnetId=&Action=&Version=#Action=CreateClientVpnRoute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&TargetVpcSubnetId=&Action=&Version=#Action=CreateClientVpnRoute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&TargetVpcSubnetId=&Action=&Version=#Action=CreateClientVpnRoute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&TargetVpcSubnetId=&Action=&Version=#Action=CreateClientVpnRoute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ClientVpnEndpointId=&DestinationCidrBlock=&TargetVpcSubnetId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&TargetVpcSubnetId=&Action=&Version=#Action=CreateClientVpnRoute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&TargetVpcSubnetId=&Action=&Version=#Action=CreateClientVpnRoute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&TargetVpcSubnetId=&Action=&Version=#Action=CreateClientVpnRoute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&TargetVpcSubnetId=&Action=&Version=#Action=CreateClientVpnRoute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&TargetVpcSubnetId=&Action=&Version=#Action=CreateClientVpnRoute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateClientVpnRoute',
params: {
ClientVpnEndpointId: '',
DestinationCidrBlock: '',
TargetVpcSubnetId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&TargetVpcSubnetId=&Action=&Version=#Action=CreateClientVpnRoute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&TargetVpcSubnetId=&Action=&Version=#Action=CreateClientVpnRoute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&TargetVpcSubnetId=&Action=&Version=#Action=CreateClientVpnRoute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ClientVpnEndpointId=&DestinationCidrBlock=&TargetVpcSubnetId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateClientVpnRoute',
qs: {
ClientVpnEndpointId: '',
DestinationCidrBlock: '',
TargetVpcSubnetId: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateClientVpnRoute');
req.query({
ClientVpnEndpointId: '',
DestinationCidrBlock: '',
TargetVpcSubnetId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateClientVpnRoute',
params: {
ClientVpnEndpointId: '',
DestinationCidrBlock: '',
TargetVpcSubnetId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&TargetVpcSubnetId=&Action=&Version=#Action=CreateClientVpnRoute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&TargetVpcSubnetId=&Action=&Version=#Action=CreateClientVpnRoute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&TargetVpcSubnetId=&Action=&Version=#Action=CreateClientVpnRoute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&TargetVpcSubnetId=&Action=&Version=#Action=CreateClientVpnRoute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&TargetVpcSubnetId=&Action=&Version=#Action=CreateClientVpnRoute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateClientVpnRoute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ClientVpnEndpointId' => '',
'DestinationCidrBlock' => '',
'TargetVpcSubnetId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateClientVpnRoute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ClientVpnEndpointId' => '',
'DestinationCidrBlock' => '',
'TargetVpcSubnetId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&TargetVpcSubnetId=&Action=&Version=#Action=CreateClientVpnRoute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&TargetVpcSubnetId=&Action=&Version=#Action=CreateClientVpnRoute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ClientVpnEndpointId=&DestinationCidrBlock=&TargetVpcSubnetId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateClientVpnRoute"
querystring = {"ClientVpnEndpointId":"","DestinationCidrBlock":"","TargetVpcSubnetId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateClientVpnRoute"
queryString <- list(
ClientVpnEndpointId = "",
DestinationCidrBlock = "",
TargetVpcSubnetId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&TargetVpcSubnetId=&Action=&Version=#Action=CreateClientVpnRoute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ClientVpnEndpointId'] = ''
req.params['DestinationCidrBlock'] = ''
req.params['TargetVpcSubnetId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateClientVpnRoute";
let querystring = [
("ClientVpnEndpointId", ""),
("DestinationCidrBlock", ""),
("TargetVpcSubnetId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&TargetVpcSubnetId=&Action=&Version=#Action=CreateClientVpnRoute'
http GET '{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&TargetVpcSubnetId=&Action=&Version=#Action=CreateClientVpnRoute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&TargetVpcSubnetId=&Action=&Version=#Action=CreateClientVpnRoute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&TargetVpcSubnetId=&Action=&Version=#Action=CreateClientVpnRoute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateCoipCidr
{{baseUrl}}/#Action=CreateCoipCidr
QUERY PARAMS
Cidr
CoipPoolId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=CreateCoipCidr");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateCoipCidr" {:query-params {:Cidr ""
:CoipPoolId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=CreateCoipCidr"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=CreateCoipCidr"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=CreateCoipCidr");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=CreateCoipCidr"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Cidr=&CoipPoolId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=CreateCoipCidr")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=CreateCoipCidr"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=CreateCoipCidr")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=CreateCoipCidr")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=CreateCoipCidr');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateCoipCidr',
params: {Cidr: '', CoipPoolId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=CreateCoipCidr';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=CreateCoipCidr',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=CreateCoipCidr")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Cidr=&CoipPoolId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateCoipCidr',
qs: {Cidr: '', CoipPoolId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateCoipCidr');
req.query({
Cidr: '',
CoipPoolId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateCoipCidr',
params: {Cidr: '', CoipPoolId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=CreateCoipCidr';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=CreateCoipCidr"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=CreateCoipCidr" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=CreateCoipCidr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=CreateCoipCidr');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateCoipCidr');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Cidr' => '',
'CoipPoolId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateCoipCidr');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Cidr' => '',
'CoipPoolId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=CreateCoipCidr' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=CreateCoipCidr' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Cidr=&CoipPoolId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateCoipCidr"
querystring = {"Cidr":"","CoipPoolId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateCoipCidr"
queryString <- list(
Cidr = "",
CoipPoolId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=CreateCoipCidr")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Cidr'] = ''
req.params['CoipPoolId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateCoipCidr";
let querystring = [
("Cidr", ""),
("CoipPoolId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=CreateCoipCidr'
http GET '{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=CreateCoipCidr'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=CreateCoipCidr'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=CreateCoipCidr")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateCoipPool
{{baseUrl}}/#Action=CreateCoipPool
QUERY PARAMS
LocalGatewayRouteTableId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateCoipPool");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateCoipPool" {:query-params {:LocalGatewayRouteTableId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateCoipPool"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateCoipPool"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateCoipPool");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateCoipPool"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?LocalGatewayRouteTableId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateCoipPool")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateCoipPool"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateCoipPool")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateCoipPool")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateCoipPool');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateCoipPool',
params: {LocalGatewayRouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateCoipPool';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateCoipPool',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateCoipPool")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?LocalGatewayRouteTableId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateCoipPool',
qs: {LocalGatewayRouteTableId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateCoipPool');
req.query({
LocalGatewayRouteTableId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateCoipPool',
params: {LocalGatewayRouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateCoipPool';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateCoipPool"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateCoipPool" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateCoipPool",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateCoipPool');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateCoipPool');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'LocalGatewayRouteTableId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateCoipPool');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'LocalGatewayRouteTableId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateCoipPool' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateCoipPool' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?LocalGatewayRouteTableId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateCoipPool"
querystring = {"LocalGatewayRouteTableId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateCoipPool"
queryString <- list(
LocalGatewayRouteTableId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateCoipPool")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['LocalGatewayRouteTableId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateCoipPool";
let querystring = [
("LocalGatewayRouteTableId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateCoipPool'
http GET '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateCoipPool'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateCoipPool'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateCoipPool")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateCustomerGateway
{{baseUrl}}/#Action=CreateCustomerGateway
QUERY PARAMS
Type
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Type=&Action=&Version=#Action=CreateCustomerGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateCustomerGateway" {:query-params {:Type ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Type=&Action=&Version=#Action=CreateCustomerGateway"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Type=&Action=&Version=#Action=CreateCustomerGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Type=&Action=&Version=#Action=CreateCustomerGateway");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Type=&Action=&Version=#Action=CreateCustomerGateway"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Type=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Type=&Action=&Version=#Action=CreateCustomerGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Type=&Action=&Version=#Action=CreateCustomerGateway"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Type=&Action=&Version=#Action=CreateCustomerGateway")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Type=&Action=&Version=#Action=CreateCustomerGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Type=&Action=&Version=#Action=CreateCustomerGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateCustomerGateway',
params: {Type: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Type=&Action=&Version=#Action=CreateCustomerGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Type=&Action=&Version=#Action=CreateCustomerGateway',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Type=&Action=&Version=#Action=CreateCustomerGateway")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Type=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateCustomerGateway',
qs: {Type: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateCustomerGateway');
req.query({
Type: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateCustomerGateway',
params: {Type: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Type=&Action=&Version=#Action=CreateCustomerGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Type=&Action=&Version=#Action=CreateCustomerGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Type=&Action=&Version=#Action=CreateCustomerGateway" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Type=&Action=&Version=#Action=CreateCustomerGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Type=&Action=&Version=#Action=CreateCustomerGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateCustomerGateway');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Type' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateCustomerGateway');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Type' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Type=&Action=&Version=#Action=CreateCustomerGateway' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Type=&Action=&Version=#Action=CreateCustomerGateway' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Type=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateCustomerGateway"
querystring = {"Type":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateCustomerGateway"
queryString <- list(
Type = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Type=&Action=&Version=#Action=CreateCustomerGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Type'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateCustomerGateway";
let querystring = [
("Type", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Type=&Action=&Version=#Action=CreateCustomerGateway'
http GET '{{baseUrl}}/?Type=&Action=&Version=#Action=CreateCustomerGateway'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Type=&Action=&Version=#Action=CreateCustomerGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Type=&Action=&Version=#Action=CreateCustomerGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"CustomerGateway": {
"BgpAsn": "65534",
"CustomerGatewayId": "cgw-0e11f167",
"IpAddress": "12.1.2.3",
"State": "available",
"Type": "ipsec.1"
}
}
GET
GET_CreateDefaultSubnet
{{baseUrl}}/#Action=CreateDefaultSubnet
QUERY PARAMS
AvailabilityZone
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateDefaultSubnet");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateDefaultSubnet" {:query-params {:AvailabilityZone ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateDefaultSubnet"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateDefaultSubnet"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateDefaultSubnet");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateDefaultSubnet"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?AvailabilityZone=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateDefaultSubnet")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateDefaultSubnet"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateDefaultSubnet")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateDefaultSubnet")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateDefaultSubnet');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateDefaultSubnet',
params: {AvailabilityZone: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateDefaultSubnet';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateDefaultSubnet',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateDefaultSubnet")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?AvailabilityZone=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateDefaultSubnet',
qs: {AvailabilityZone: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateDefaultSubnet');
req.query({
AvailabilityZone: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateDefaultSubnet',
params: {AvailabilityZone: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateDefaultSubnet';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateDefaultSubnet"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateDefaultSubnet" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateDefaultSubnet",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateDefaultSubnet');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateDefaultSubnet');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'AvailabilityZone' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateDefaultSubnet');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'AvailabilityZone' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateDefaultSubnet' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateDefaultSubnet' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?AvailabilityZone=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateDefaultSubnet"
querystring = {"AvailabilityZone":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateDefaultSubnet"
queryString <- list(
AvailabilityZone = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateDefaultSubnet")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['AvailabilityZone'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateDefaultSubnet";
let querystring = [
("AvailabilityZone", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateDefaultSubnet'
http GET '{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateDefaultSubnet'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateDefaultSubnet'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateDefaultSubnet")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateDefaultVpc
{{baseUrl}}/#Action=CreateDefaultVpc
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateDefaultVpc" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateDefaultVpc',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateDefaultVpc',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateDefaultVpc');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateDefaultVpc',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateDefaultVpc');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateDefaultVpc');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateDefaultVpc"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateDefaultVpc"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateDefaultVpc";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc'
http GET '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateDhcpOptions
{{baseUrl}}/#Action=CreateDhcpOptions
QUERY PARAMS
DhcpConfiguration
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?DhcpConfiguration=&Action=&Version=#Action=CreateDhcpOptions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateDhcpOptions" {:query-params {:DhcpConfiguration ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?DhcpConfiguration=&Action=&Version=#Action=CreateDhcpOptions"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?DhcpConfiguration=&Action=&Version=#Action=CreateDhcpOptions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?DhcpConfiguration=&Action=&Version=#Action=CreateDhcpOptions");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?DhcpConfiguration=&Action=&Version=#Action=CreateDhcpOptions"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?DhcpConfiguration=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?DhcpConfiguration=&Action=&Version=#Action=CreateDhcpOptions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?DhcpConfiguration=&Action=&Version=#Action=CreateDhcpOptions"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?DhcpConfiguration=&Action=&Version=#Action=CreateDhcpOptions")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?DhcpConfiguration=&Action=&Version=#Action=CreateDhcpOptions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?DhcpConfiguration=&Action=&Version=#Action=CreateDhcpOptions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateDhcpOptions',
params: {DhcpConfiguration: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?DhcpConfiguration=&Action=&Version=#Action=CreateDhcpOptions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?DhcpConfiguration=&Action=&Version=#Action=CreateDhcpOptions',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?DhcpConfiguration=&Action=&Version=#Action=CreateDhcpOptions")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?DhcpConfiguration=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateDhcpOptions',
qs: {DhcpConfiguration: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateDhcpOptions');
req.query({
DhcpConfiguration: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateDhcpOptions',
params: {DhcpConfiguration: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?DhcpConfiguration=&Action=&Version=#Action=CreateDhcpOptions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?DhcpConfiguration=&Action=&Version=#Action=CreateDhcpOptions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?DhcpConfiguration=&Action=&Version=#Action=CreateDhcpOptions" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?DhcpConfiguration=&Action=&Version=#Action=CreateDhcpOptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?DhcpConfiguration=&Action=&Version=#Action=CreateDhcpOptions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateDhcpOptions');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'DhcpConfiguration' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateDhcpOptions');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'DhcpConfiguration' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?DhcpConfiguration=&Action=&Version=#Action=CreateDhcpOptions' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?DhcpConfiguration=&Action=&Version=#Action=CreateDhcpOptions' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?DhcpConfiguration=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateDhcpOptions"
querystring = {"DhcpConfiguration":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateDhcpOptions"
queryString <- list(
DhcpConfiguration = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?DhcpConfiguration=&Action=&Version=#Action=CreateDhcpOptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['DhcpConfiguration'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateDhcpOptions";
let querystring = [
("DhcpConfiguration", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?DhcpConfiguration=&Action=&Version=#Action=CreateDhcpOptions'
http GET '{{baseUrl}}/?DhcpConfiguration=&Action=&Version=#Action=CreateDhcpOptions'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?DhcpConfiguration=&Action=&Version=#Action=CreateDhcpOptions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?DhcpConfiguration=&Action=&Version=#Action=CreateDhcpOptions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"DhcpOptions": {
"DhcpConfigurations": [
{
"Key": "domain-name-servers",
"Values": [
{
"Value": "10.2.5.2"
},
{
"Value": "10.2.5.1"
}
]
}
],
"DhcpOptionsId": "dopt-d9070ebb"
}
}
GET
GET_CreateEgressOnlyInternetGateway
{{baseUrl}}/#Action=CreateEgressOnlyInternetGateway
QUERY PARAMS
VpcId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateEgressOnlyInternetGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateEgressOnlyInternetGateway" {:query-params {:VpcId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateEgressOnlyInternetGateway"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateEgressOnlyInternetGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateEgressOnlyInternetGateway");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateEgressOnlyInternetGateway"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpcId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateEgressOnlyInternetGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateEgressOnlyInternetGateway"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateEgressOnlyInternetGateway")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateEgressOnlyInternetGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateEgressOnlyInternetGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateEgressOnlyInternetGateway',
params: {VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateEgressOnlyInternetGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateEgressOnlyInternetGateway',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateEgressOnlyInternetGateway")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpcId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateEgressOnlyInternetGateway',
qs: {VpcId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateEgressOnlyInternetGateway');
req.query({
VpcId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateEgressOnlyInternetGateway',
params: {VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateEgressOnlyInternetGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateEgressOnlyInternetGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateEgressOnlyInternetGateway" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateEgressOnlyInternetGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateEgressOnlyInternetGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateEgressOnlyInternetGateway');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpcId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateEgressOnlyInternetGateway');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpcId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateEgressOnlyInternetGateway' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateEgressOnlyInternetGateway' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpcId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateEgressOnlyInternetGateway"
querystring = {"VpcId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateEgressOnlyInternetGateway"
queryString <- list(
VpcId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateEgressOnlyInternetGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpcId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateEgressOnlyInternetGateway";
let querystring = [
("VpcId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateEgressOnlyInternetGateway'
http GET '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateEgressOnlyInternetGateway'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateEgressOnlyInternetGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateEgressOnlyInternetGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateFleet
{{baseUrl}}/#Action=CreateFleet
QUERY PARAMS
LaunchTemplateConfigs
TargetCapacitySpecification
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?LaunchTemplateConfigs=&TargetCapacitySpecification=&Action=&Version=#Action=CreateFleet");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateFleet" {:query-params {:LaunchTemplateConfigs ""
:TargetCapacitySpecification ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?LaunchTemplateConfigs=&TargetCapacitySpecification=&Action=&Version=#Action=CreateFleet"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?LaunchTemplateConfigs=&TargetCapacitySpecification=&Action=&Version=#Action=CreateFleet"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?LaunchTemplateConfigs=&TargetCapacitySpecification=&Action=&Version=#Action=CreateFleet");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?LaunchTemplateConfigs=&TargetCapacitySpecification=&Action=&Version=#Action=CreateFleet"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?LaunchTemplateConfigs=&TargetCapacitySpecification=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?LaunchTemplateConfigs=&TargetCapacitySpecification=&Action=&Version=#Action=CreateFleet")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?LaunchTemplateConfigs=&TargetCapacitySpecification=&Action=&Version=#Action=CreateFleet"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?LaunchTemplateConfigs=&TargetCapacitySpecification=&Action=&Version=#Action=CreateFleet")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?LaunchTemplateConfigs=&TargetCapacitySpecification=&Action=&Version=#Action=CreateFleet")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?LaunchTemplateConfigs=&TargetCapacitySpecification=&Action=&Version=#Action=CreateFleet');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateFleet',
params: {
LaunchTemplateConfigs: '',
TargetCapacitySpecification: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?LaunchTemplateConfigs=&TargetCapacitySpecification=&Action=&Version=#Action=CreateFleet';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?LaunchTemplateConfigs=&TargetCapacitySpecification=&Action=&Version=#Action=CreateFleet',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?LaunchTemplateConfigs=&TargetCapacitySpecification=&Action=&Version=#Action=CreateFleet")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?LaunchTemplateConfigs=&TargetCapacitySpecification=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateFleet',
qs: {
LaunchTemplateConfigs: '',
TargetCapacitySpecification: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateFleet');
req.query({
LaunchTemplateConfigs: '',
TargetCapacitySpecification: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateFleet',
params: {
LaunchTemplateConfigs: '',
TargetCapacitySpecification: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?LaunchTemplateConfigs=&TargetCapacitySpecification=&Action=&Version=#Action=CreateFleet';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?LaunchTemplateConfigs=&TargetCapacitySpecification=&Action=&Version=#Action=CreateFleet"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?LaunchTemplateConfigs=&TargetCapacitySpecification=&Action=&Version=#Action=CreateFleet" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?LaunchTemplateConfigs=&TargetCapacitySpecification=&Action=&Version=#Action=CreateFleet",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?LaunchTemplateConfigs=&TargetCapacitySpecification=&Action=&Version=#Action=CreateFleet');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateFleet');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'LaunchTemplateConfigs' => '',
'TargetCapacitySpecification' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateFleet');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'LaunchTemplateConfigs' => '',
'TargetCapacitySpecification' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?LaunchTemplateConfigs=&TargetCapacitySpecification=&Action=&Version=#Action=CreateFleet' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?LaunchTemplateConfigs=&TargetCapacitySpecification=&Action=&Version=#Action=CreateFleet' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?LaunchTemplateConfigs=&TargetCapacitySpecification=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateFleet"
querystring = {"LaunchTemplateConfigs":"","TargetCapacitySpecification":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateFleet"
queryString <- list(
LaunchTemplateConfigs = "",
TargetCapacitySpecification = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?LaunchTemplateConfigs=&TargetCapacitySpecification=&Action=&Version=#Action=CreateFleet")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['LaunchTemplateConfigs'] = ''
req.params['TargetCapacitySpecification'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateFleet";
let querystring = [
("LaunchTemplateConfigs", ""),
("TargetCapacitySpecification", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?LaunchTemplateConfigs=&TargetCapacitySpecification=&Action=&Version=#Action=CreateFleet'
http GET '{{baseUrl}}/?LaunchTemplateConfigs=&TargetCapacitySpecification=&Action=&Version=#Action=CreateFleet'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?LaunchTemplateConfigs=&TargetCapacitySpecification=&Action=&Version=#Action=CreateFleet'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?LaunchTemplateConfigs=&TargetCapacitySpecification=&Action=&Version=#Action=CreateFleet")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateFlowLogs
{{baseUrl}}/#Action=CreateFlowLogs
QUERY PARAMS
ResourceId
ResourceType
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ResourceId=&ResourceType=&Action=&Version=#Action=CreateFlowLogs");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateFlowLogs" {:query-params {:ResourceId ""
:ResourceType ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ResourceId=&ResourceType=&Action=&Version=#Action=CreateFlowLogs"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ResourceId=&ResourceType=&Action=&Version=#Action=CreateFlowLogs"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ResourceId=&ResourceType=&Action=&Version=#Action=CreateFlowLogs");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ResourceId=&ResourceType=&Action=&Version=#Action=CreateFlowLogs"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ResourceId=&ResourceType=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ResourceId=&ResourceType=&Action=&Version=#Action=CreateFlowLogs")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ResourceId=&ResourceType=&Action=&Version=#Action=CreateFlowLogs"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ResourceId=&ResourceType=&Action=&Version=#Action=CreateFlowLogs")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ResourceId=&ResourceType=&Action=&Version=#Action=CreateFlowLogs")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ResourceId=&ResourceType=&Action=&Version=#Action=CreateFlowLogs');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateFlowLogs',
params: {ResourceId: '', ResourceType: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ResourceId=&ResourceType=&Action=&Version=#Action=CreateFlowLogs';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ResourceId=&ResourceType=&Action=&Version=#Action=CreateFlowLogs',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ResourceId=&ResourceType=&Action=&Version=#Action=CreateFlowLogs")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ResourceId=&ResourceType=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateFlowLogs',
qs: {ResourceId: '', ResourceType: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateFlowLogs');
req.query({
ResourceId: '',
ResourceType: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateFlowLogs',
params: {ResourceId: '', ResourceType: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ResourceId=&ResourceType=&Action=&Version=#Action=CreateFlowLogs';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ResourceId=&ResourceType=&Action=&Version=#Action=CreateFlowLogs"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ResourceId=&ResourceType=&Action=&Version=#Action=CreateFlowLogs" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ResourceId=&ResourceType=&Action=&Version=#Action=CreateFlowLogs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ResourceId=&ResourceType=&Action=&Version=#Action=CreateFlowLogs');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateFlowLogs');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ResourceId' => '',
'ResourceType' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateFlowLogs');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ResourceId' => '',
'ResourceType' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ResourceId=&ResourceType=&Action=&Version=#Action=CreateFlowLogs' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ResourceId=&ResourceType=&Action=&Version=#Action=CreateFlowLogs' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ResourceId=&ResourceType=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateFlowLogs"
querystring = {"ResourceId":"","ResourceType":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateFlowLogs"
queryString <- list(
ResourceId = "",
ResourceType = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ResourceId=&ResourceType=&Action=&Version=#Action=CreateFlowLogs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ResourceId'] = ''
req.params['ResourceType'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateFlowLogs";
let querystring = [
("ResourceId", ""),
("ResourceType", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ResourceId=&ResourceType=&Action=&Version=#Action=CreateFlowLogs'
http GET '{{baseUrl}}/?ResourceId=&ResourceType=&Action=&Version=#Action=CreateFlowLogs'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ResourceId=&ResourceType=&Action=&Version=#Action=CreateFlowLogs'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ResourceId=&ResourceType=&Action=&Version=#Action=CreateFlowLogs")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateFpgaImage
{{baseUrl}}/#Action=CreateFpgaImage
QUERY PARAMS
InputStorageLocation
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InputStorageLocation=&Action=&Version=#Action=CreateFpgaImage");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateFpgaImage" {:query-params {:InputStorageLocation ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InputStorageLocation=&Action=&Version=#Action=CreateFpgaImage"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InputStorageLocation=&Action=&Version=#Action=CreateFpgaImage"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InputStorageLocation=&Action=&Version=#Action=CreateFpgaImage");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InputStorageLocation=&Action=&Version=#Action=CreateFpgaImage"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InputStorageLocation=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InputStorageLocation=&Action=&Version=#Action=CreateFpgaImage")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InputStorageLocation=&Action=&Version=#Action=CreateFpgaImage"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InputStorageLocation=&Action=&Version=#Action=CreateFpgaImage")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InputStorageLocation=&Action=&Version=#Action=CreateFpgaImage")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InputStorageLocation=&Action=&Version=#Action=CreateFpgaImage');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateFpgaImage',
params: {InputStorageLocation: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InputStorageLocation=&Action=&Version=#Action=CreateFpgaImage';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InputStorageLocation=&Action=&Version=#Action=CreateFpgaImage',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InputStorageLocation=&Action=&Version=#Action=CreateFpgaImage")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InputStorageLocation=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateFpgaImage',
qs: {InputStorageLocation: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateFpgaImage');
req.query({
InputStorageLocation: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateFpgaImage',
params: {InputStorageLocation: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InputStorageLocation=&Action=&Version=#Action=CreateFpgaImage';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InputStorageLocation=&Action=&Version=#Action=CreateFpgaImage"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InputStorageLocation=&Action=&Version=#Action=CreateFpgaImage" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InputStorageLocation=&Action=&Version=#Action=CreateFpgaImage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InputStorageLocation=&Action=&Version=#Action=CreateFpgaImage');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateFpgaImage');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InputStorageLocation' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateFpgaImage');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InputStorageLocation' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InputStorageLocation=&Action=&Version=#Action=CreateFpgaImage' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InputStorageLocation=&Action=&Version=#Action=CreateFpgaImage' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InputStorageLocation=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateFpgaImage"
querystring = {"InputStorageLocation":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateFpgaImage"
queryString <- list(
InputStorageLocation = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InputStorageLocation=&Action=&Version=#Action=CreateFpgaImage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InputStorageLocation'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateFpgaImage";
let querystring = [
("InputStorageLocation", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InputStorageLocation=&Action=&Version=#Action=CreateFpgaImage'
http GET '{{baseUrl}}/?InputStorageLocation=&Action=&Version=#Action=CreateFpgaImage'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InputStorageLocation=&Action=&Version=#Action=CreateFpgaImage'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InputStorageLocation=&Action=&Version=#Action=CreateFpgaImage")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateImage
{{baseUrl}}/#Action=CreateImage
QUERY PARAMS
InstanceId
Name
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceId=&Name=&Action=&Version=#Action=CreateImage");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateImage" {:query-params {:InstanceId ""
:Name ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceId=&Name=&Action=&Version=#Action=CreateImage"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceId=&Name=&Action=&Version=#Action=CreateImage"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceId=&Name=&Action=&Version=#Action=CreateImage");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceId=&Name=&Action=&Version=#Action=CreateImage"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceId=&Name=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceId=&Name=&Action=&Version=#Action=CreateImage")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceId=&Name=&Action=&Version=#Action=CreateImage"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Name=&Action=&Version=#Action=CreateImage")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceId=&Name=&Action=&Version=#Action=CreateImage")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceId=&Name=&Action=&Version=#Action=CreateImage');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateImage',
params: {InstanceId: '', Name: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceId=&Name=&Action=&Version=#Action=CreateImage';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceId=&Name=&Action=&Version=#Action=CreateImage',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Name=&Action=&Version=#Action=CreateImage")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceId=&Name=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateImage',
qs: {InstanceId: '', Name: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateImage');
req.query({
InstanceId: '',
Name: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateImage',
params: {InstanceId: '', Name: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceId=&Name=&Action=&Version=#Action=CreateImage';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceId=&Name=&Action=&Version=#Action=CreateImage"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceId=&Name=&Action=&Version=#Action=CreateImage" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceId=&Name=&Action=&Version=#Action=CreateImage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceId=&Name=&Action=&Version=#Action=CreateImage');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateImage');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceId' => '',
'Name' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateImage');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceId' => '',
'Name' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceId=&Name=&Action=&Version=#Action=CreateImage' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceId=&Name=&Action=&Version=#Action=CreateImage' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceId=&Name=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateImage"
querystring = {"InstanceId":"","Name":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateImage"
queryString <- list(
InstanceId = "",
Name = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceId=&Name=&Action=&Version=#Action=CreateImage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceId'] = ''
req.params['Name'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateImage";
let querystring = [
("InstanceId", ""),
("Name", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceId=&Name=&Action=&Version=#Action=CreateImage'
http GET '{{baseUrl}}/?InstanceId=&Name=&Action=&Version=#Action=CreateImage'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceId=&Name=&Action=&Version=#Action=CreateImage'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceId=&Name=&Action=&Version=#Action=CreateImage")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"ImageId": "ami-1a2b3c4d"
}
GET
GET_CreateInstanceEventWindow
{{baseUrl}}/#Action=CreateInstanceEventWindow
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateInstanceEventWindow" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateInstanceEventWindow',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateInstanceEventWindow',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateInstanceEventWindow');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateInstanceEventWindow',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateInstanceEventWindow');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateInstanceEventWindow');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateInstanceEventWindow"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateInstanceEventWindow"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateInstanceEventWindow";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow'
http GET '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateInstanceExportTask
{{baseUrl}}/#Action=CreateInstanceExportTask
QUERY PARAMS
ExportToS3
InstanceId
TargetEnvironment
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ExportToS3=&InstanceId=&TargetEnvironment=&Action=&Version=#Action=CreateInstanceExportTask");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateInstanceExportTask" {:query-params {:ExportToS3 ""
:InstanceId ""
:TargetEnvironment ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ExportToS3=&InstanceId=&TargetEnvironment=&Action=&Version=#Action=CreateInstanceExportTask"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ExportToS3=&InstanceId=&TargetEnvironment=&Action=&Version=#Action=CreateInstanceExportTask"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ExportToS3=&InstanceId=&TargetEnvironment=&Action=&Version=#Action=CreateInstanceExportTask");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ExportToS3=&InstanceId=&TargetEnvironment=&Action=&Version=#Action=CreateInstanceExportTask"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ExportToS3=&InstanceId=&TargetEnvironment=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ExportToS3=&InstanceId=&TargetEnvironment=&Action=&Version=#Action=CreateInstanceExportTask")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ExportToS3=&InstanceId=&TargetEnvironment=&Action=&Version=#Action=CreateInstanceExportTask"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ExportToS3=&InstanceId=&TargetEnvironment=&Action=&Version=#Action=CreateInstanceExportTask")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ExportToS3=&InstanceId=&TargetEnvironment=&Action=&Version=#Action=CreateInstanceExportTask")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ExportToS3=&InstanceId=&TargetEnvironment=&Action=&Version=#Action=CreateInstanceExportTask');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateInstanceExportTask',
params: {ExportToS3: '', InstanceId: '', TargetEnvironment: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ExportToS3=&InstanceId=&TargetEnvironment=&Action=&Version=#Action=CreateInstanceExportTask';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ExportToS3=&InstanceId=&TargetEnvironment=&Action=&Version=#Action=CreateInstanceExportTask',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ExportToS3=&InstanceId=&TargetEnvironment=&Action=&Version=#Action=CreateInstanceExportTask")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ExportToS3=&InstanceId=&TargetEnvironment=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateInstanceExportTask',
qs: {ExportToS3: '', InstanceId: '', TargetEnvironment: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateInstanceExportTask');
req.query({
ExportToS3: '',
InstanceId: '',
TargetEnvironment: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateInstanceExportTask',
params: {ExportToS3: '', InstanceId: '', TargetEnvironment: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ExportToS3=&InstanceId=&TargetEnvironment=&Action=&Version=#Action=CreateInstanceExportTask';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ExportToS3=&InstanceId=&TargetEnvironment=&Action=&Version=#Action=CreateInstanceExportTask"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ExportToS3=&InstanceId=&TargetEnvironment=&Action=&Version=#Action=CreateInstanceExportTask" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ExportToS3=&InstanceId=&TargetEnvironment=&Action=&Version=#Action=CreateInstanceExportTask",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ExportToS3=&InstanceId=&TargetEnvironment=&Action=&Version=#Action=CreateInstanceExportTask');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateInstanceExportTask');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ExportToS3' => '',
'InstanceId' => '',
'TargetEnvironment' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateInstanceExportTask');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ExportToS3' => '',
'InstanceId' => '',
'TargetEnvironment' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ExportToS3=&InstanceId=&TargetEnvironment=&Action=&Version=#Action=CreateInstanceExportTask' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ExportToS3=&InstanceId=&TargetEnvironment=&Action=&Version=#Action=CreateInstanceExportTask' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ExportToS3=&InstanceId=&TargetEnvironment=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateInstanceExportTask"
querystring = {"ExportToS3":"","InstanceId":"","TargetEnvironment":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateInstanceExportTask"
queryString <- list(
ExportToS3 = "",
InstanceId = "",
TargetEnvironment = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ExportToS3=&InstanceId=&TargetEnvironment=&Action=&Version=#Action=CreateInstanceExportTask")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ExportToS3'] = ''
req.params['InstanceId'] = ''
req.params['TargetEnvironment'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateInstanceExportTask";
let querystring = [
("ExportToS3", ""),
("InstanceId", ""),
("TargetEnvironment", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ExportToS3=&InstanceId=&TargetEnvironment=&Action=&Version=#Action=CreateInstanceExportTask'
http GET '{{baseUrl}}/?ExportToS3=&InstanceId=&TargetEnvironment=&Action=&Version=#Action=CreateInstanceExportTask'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ExportToS3=&InstanceId=&TargetEnvironment=&Action=&Version=#Action=CreateInstanceExportTask'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ExportToS3=&InstanceId=&TargetEnvironment=&Action=&Version=#Action=CreateInstanceExportTask")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateInternetGateway
{{baseUrl}}/#Action=CreateInternetGateway
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateInternetGateway" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateInternetGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateInternetGateway',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateInternetGateway');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateInternetGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateInternetGateway');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateInternetGateway');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateInternetGateway"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateInternetGateway"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateInternetGateway";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway'
http GET '{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"InternetGateway": {
"Attachments": [],
"InternetGatewayId": "igw-c0a643a9",
"Tags": []
}
}
GET
GET_CreateIpam
{{baseUrl}}/#Action=CreateIpam
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateIpam");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateIpam" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateIpam"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateIpam"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateIpam");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateIpam"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=CreateIpam")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateIpam"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateIpam")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=CreateIpam")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=CreateIpam');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateIpam',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateIpam';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateIpam',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateIpam")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateIpam',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateIpam');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateIpam',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateIpam';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateIpam"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateIpam" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateIpam",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=CreateIpam');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateIpam');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateIpam');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateIpam' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateIpam' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateIpam"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateIpam"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateIpam")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateIpam";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateIpam'
http GET '{{baseUrl}}/?Action=&Version=#Action=CreateIpam'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateIpam'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateIpam")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateIpamPool
{{baseUrl}}/#Action=CreateIpamPool
QUERY PARAMS
IpamScopeId
AddressFamily
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?IpamScopeId=&AddressFamily=&Action=&Version=#Action=CreateIpamPool");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateIpamPool" {:query-params {:IpamScopeId ""
:AddressFamily ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?IpamScopeId=&AddressFamily=&Action=&Version=#Action=CreateIpamPool"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?IpamScopeId=&AddressFamily=&Action=&Version=#Action=CreateIpamPool"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?IpamScopeId=&AddressFamily=&Action=&Version=#Action=CreateIpamPool");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?IpamScopeId=&AddressFamily=&Action=&Version=#Action=CreateIpamPool"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?IpamScopeId=&AddressFamily=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?IpamScopeId=&AddressFamily=&Action=&Version=#Action=CreateIpamPool")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?IpamScopeId=&AddressFamily=&Action=&Version=#Action=CreateIpamPool"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?IpamScopeId=&AddressFamily=&Action=&Version=#Action=CreateIpamPool")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?IpamScopeId=&AddressFamily=&Action=&Version=#Action=CreateIpamPool")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?IpamScopeId=&AddressFamily=&Action=&Version=#Action=CreateIpamPool');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateIpamPool',
params: {IpamScopeId: '', AddressFamily: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?IpamScopeId=&AddressFamily=&Action=&Version=#Action=CreateIpamPool';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?IpamScopeId=&AddressFamily=&Action=&Version=#Action=CreateIpamPool',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?IpamScopeId=&AddressFamily=&Action=&Version=#Action=CreateIpamPool")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?IpamScopeId=&AddressFamily=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateIpamPool',
qs: {IpamScopeId: '', AddressFamily: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateIpamPool');
req.query({
IpamScopeId: '',
AddressFamily: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateIpamPool',
params: {IpamScopeId: '', AddressFamily: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?IpamScopeId=&AddressFamily=&Action=&Version=#Action=CreateIpamPool';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?IpamScopeId=&AddressFamily=&Action=&Version=#Action=CreateIpamPool"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?IpamScopeId=&AddressFamily=&Action=&Version=#Action=CreateIpamPool" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?IpamScopeId=&AddressFamily=&Action=&Version=#Action=CreateIpamPool",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?IpamScopeId=&AddressFamily=&Action=&Version=#Action=CreateIpamPool');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateIpamPool');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'IpamScopeId' => '',
'AddressFamily' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateIpamPool');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'IpamScopeId' => '',
'AddressFamily' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?IpamScopeId=&AddressFamily=&Action=&Version=#Action=CreateIpamPool' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?IpamScopeId=&AddressFamily=&Action=&Version=#Action=CreateIpamPool' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?IpamScopeId=&AddressFamily=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateIpamPool"
querystring = {"IpamScopeId":"","AddressFamily":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateIpamPool"
queryString <- list(
IpamScopeId = "",
AddressFamily = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?IpamScopeId=&AddressFamily=&Action=&Version=#Action=CreateIpamPool")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['IpamScopeId'] = ''
req.params['AddressFamily'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateIpamPool";
let querystring = [
("IpamScopeId", ""),
("AddressFamily", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?IpamScopeId=&AddressFamily=&Action=&Version=#Action=CreateIpamPool'
http GET '{{baseUrl}}/?IpamScopeId=&AddressFamily=&Action=&Version=#Action=CreateIpamPool'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?IpamScopeId=&AddressFamily=&Action=&Version=#Action=CreateIpamPool'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?IpamScopeId=&AddressFamily=&Action=&Version=#Action=CreateIpamPool")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateIpamResourceDiscovery
{{baseUrl}}/#Action=CreateIpamResourceDiscovery
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateIpamResourceDiscovery" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateIpamResourceDiscovery',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateIpamResourceDiscovery',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateIpamResourceDiscovery');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateIpamResourceDiscovery',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateIpamResourceDiscovery');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateIpamResourceDiscovery');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateIpamResourceDiscovery"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateIpamResourceDiscovery"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateIpamResourceDiscovery";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery'
http GET '{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateIpamScope
{{baseUrl}}/#Action=CreateIpamScope
QUERY PARAMS
IpamId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?IpamId=&Action=&Version=#Action=CreateIpamScope");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateIpamScope" {:query-params {:IpamId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?IpamId=&Action=&Version=#Action=CreateIpamScope"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?IpamId=&Action=&Version=#Action=CreateIpamScope"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?IpamId=&Action=&Version=#Action=CreateIpamScope");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?IpamId=&Action=&Version=#Action=CreateIpamScope"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?IpamId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?IpamId=&Action=&Version=#Action=CreateIpamScope")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?IpamId=&Action=&Version=#Action=CreateIpamScope"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?IpamId=&Action=&Version=#Action=CreateIpamScope")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?IpamId=&Action=&Version=#Action=CreateIpamScope")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?IpamId=&Action=&Version=#Action=CreateIpamScope');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateIpamScope',
params: {IpamId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?IpamId=&Action=&Version=#Action=CreateIpamScope';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?IpamId=&Action=&Version=#Action=CreateIpamScope',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?IpamId=&Action=&Version=#Action=CreateIpamScope")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?IpamId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateIpamScope',
qs: {IpamId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateIpamScope');
req.query({
IpamId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateIpamScope',
params: {IpamId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?IpamId=&Action=&Version=#Action=CreateIpamScope';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?IpamId=&Action=&Version=#Action=CreateIpamScope"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?IpamId=&Action=&Version=#Action=CreateIpamScope" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?IpamId=&Action=&Version=#Action=CreateIpamScope",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?IpamId=&Action=&Version=#Action=CreateIpamScope');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateIpamScope');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'IpamId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateIpamScope');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'IpamId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?IpamId=&Action=&Version=#Action=CreateIpamScope' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?IpamId=&Action=&Version=#Action=CreateIpamScope' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?IpamId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateIpamScope"
querystring = {"IpamId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateIpamScope"
queryString <- list(
IpamId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?IpamId=&Action=&Version=#Action=CreateIpamScope")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['IpamId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateIpamScope";
let querystring = [
("IpamId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?IpamId=&Action=&Version=#Action=CreateIpamScope'
http GET '{{baseUrl}}/?IpamId=&Action=&Version=#Action=CreateIpamScope'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?IpamId=&Action=&Version=#Action=CreateIpamScope'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?IpamId=&Action=&Version=#Action=CreateIpamScope")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateKeyPair
{{baseUrl}}/#Action=CreateKeyPair
QUERY PARAMS
KeyName
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?KeyName=&Action=&Version=#Action=CreateKeyPair");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateKeyPair" {:query-params {:KeyName ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?KeyName=&Action=&Version=#Action=CreateKeyPair"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?KeyName=&Action=&Version=#Action=CreateKeyPair"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?KeyName=&Action=&Version=#Action=CreateKeyPair");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?KeyName=&Action=&Version=#Action=CreateKeyPair"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?KeyName=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?KeyName=&Action=&Version=#Action=CreateKeyPair")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?KeyName=&Action=&Version=#Action=CreateKeyPair"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?KeyName=&Action=&Version=#Action=CreateKeyPair")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?KeyName=&Action=&Version=#Action=CreateKeyPair")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?KeyName=&Action=&Version=#Action=CreateKeyPair');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateKeyPair',
params: {KeyName: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?KeyName=&Action=&Version=#Action=CreateKeyPair';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?KeyName=&Action=&Version=#Action=CreateKeyPair',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?KeyName=&Action=&Version=#Action=CreateKeyPair")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?KeyName=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateKeyPair',
qs: {KeyName: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateKeyPair');
req.query({
KeyName: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateKeyPair',
params: {KeyName: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?KeyName=&Action=&Version=#Action=CreateKeyPair';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?KeyName=&Action=&Version=#Action=CreateKeyPair"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?KeyName=&Action=&Version=#Action=CreateKeyPair" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?KeyName=&Action=&Version=#Action=CreateKeyPair",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?KeyName=&Action=&Version=#Action=CreateKeyPair');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateKeyPair');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'KeyName' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateKeyPair');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'KeyName' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?KeyName=&Action=&Version=#Action=CreateKeyPair' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?KeyName=&Action=&Version=#Action=CreateKeyPair' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?KeyName=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateKeyPair"
querystring = {"KeyName":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateKeyPair"
queryString <- list(
KeyName = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?KeyName=&Action=&Version=#Action=CreateKeyPair")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['KeyName'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateKeyPair";
let querystring = [
("KeyName", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?KeyName=&Action=&Version=#Action=CreateKeyPair'
http GET '{{baseUrl}}/?KeyName=&Action=&Version=#Action=CreateKeyPair'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?KeyName=&Action=&Version=#Action=CreateKeyPair'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?KeyName=&Action=&Version=#Action=CreateKeyPair")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateLaunchTemplate
{{baseUrl}}/#Action=CreateLaunchTemplate
QUERY PARAMS
LaunchTemplateName
LaunchTemplateData
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?LaunchTemplateName=&LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplate");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateLaunchTemplate" {:query-params {:LaunchTemplateName ""
:LaunchTemplateData ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?LaunchTemplateName=&LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplate"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?LaunchTemplateName=&LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplate"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?LaunchTemplateName=&LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplate");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?LaunchTemplateName=&LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplate"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?LaunchTemplateName=&LaunchTemplateData=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?LaunchTemplateName=&LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplate")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?LaunchTemplateName=&LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplate"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?LaunchTemplateName=&LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplate")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?LaunchTemplateName=&LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplate")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?LaunchTemplateName=&LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplate');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateLaunchTemplate',
params: {LaunchTemplateName: '', LaunchTemplateData: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?LaunchTemplateName=&LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplate';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?LaunchTemplateName=&LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplate',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?LaunchTemplateName=&LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplate")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?LaunchTemplateName=&LaunchTemplateData=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateLaunchTemplate',
qs: {LaunchTemplateName: '', LaunchTemplateData: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateLaunchTemplate');
req.query({
LaunchTemplateName: '',
LaunchTemplateData: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateLaunchTemplate',
params: {LaunchTemplateName: '', LaunchTemplateData: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?LaunchTemplateName=&LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplate';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?LaunchTemplateName=&LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplate"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?LaunchTemplateName=&LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplate" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?LaunchTemplateName=&LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?LaunchTemplateName=&LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplate');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateLaunchTemplate');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'LaunchTemplateName' => '',
'LaunchTemplateData' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateLaunchTemplate');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'LaunchTemplateName' => '',
'LaunchTemplateData' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?LaunchTemplateName=&LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplate' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?LaunchTemplateName=&LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplate' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?LaunchTemplateName=&LaunchTemplateData=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateLaunchTemplate"
querystring = {"LaunchTemplateName":"","LaunchTemplateData":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateLaunchTemplate"
queryString <- list(
LaunchTemplateName = "",
LaunchTemplateData = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?LaunchTemplateName=&LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['LaunchTemplateName'] = ''
req.params['LaunchTemplateData'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateLaunchTemplate";
let querystring = [
("LaunchTemplateName", ""),
("LaunchTemplateData", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?LaunchTemplateName=&LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplate'
http GET '{{baseUrl}}/?LaunchTemplateName=&LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplate'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?LaunchTemplateName=&LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplate'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?LaunchTemplateName=&LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplate")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"LaunchTemplate": {
"CreateTime": "2017-11-27T09:13:24.000Z",
"CreatedBy": "arn:aws:iam::123456789012:root",
"DefaultVersionNumber": 1,
"LatestVersionNumber": 1,
"LaunchTemplateId": "lt-01238c059e3466abc",
"LaunchTemplateName": "my-template"
}
}
GET
GET_CreateLaunchTemplateVersion
{{baseUrl}}/#Action=CreateLaunchTemplateVersion
QUERY PARAMS
LaunchTemplateData
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplateVersion");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateLaunchTemplateVersion" {:query-params {:LaunchTemplateData ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplateVersion"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplateVersion"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplateVersion");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplateVersion"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?LaunchTemplateData=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplateVersion")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplateVersion"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplateVersion")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplateVersion")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplateVersion');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateLaunchTemplateVersion',
params: {LaunchTemplateData: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplateVersion';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplateVersion',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplateVersion")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?LaunchTemplateData=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateLaunchTemplateVersion',
qs: {LaunchTemplateData: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateLaunchTemplateVersion');
req.query({
LaunchTemplateData: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateLaunchTemplateVersion',
params: {LaunchTemplateData: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplateVersion';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplateVersion"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplateVersion" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplateVersion",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplateVersion');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateLaunchTemplateVersion');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'LaunchTemplateData' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateLaunchTemplateVersion');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'LaunchTemplateData' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplateVersion' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplateVersion' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?LaunchTemplateData=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateLaunchTemplateVersion"
querystring = {"LaunchTemplateData":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateLaunchTemplateVersion"
queryString <- list(
LaunchTemplateData = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplateVersion")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['LaunchTemplateData'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateLaunchTemplateVersion";
let querystring = [
("LaunchTemplateData", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplateVersion'
http GET '{{baseUrl}}/?LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplateVersion'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplateVersion'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?LaunchTemplateData=&Action=&Version=#Action=CreateLaunchTemplateVersion")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"LaunchTemplateVersion": {
"CreateTime": "2017-12-01T13:35:46.000Z",
"CreatedBy": "arn:aws:iam::123456789012:root",
"DefaultVersion": false,
"LaunchTemplateData": {
"ImageId": "ami-c998b6b2",
"InstanceType": "t2.micro",
"NetworkInterfaces": [
{
"AssociatePublicIpAddress": true,
"DeviceIndex": 0,
"Ipv6Addresses": [
{
"Ipv6Address": "2001:db8:1234:1a00::123"
}
],
"SubnetId": "subnet-7b16de0c"
}
]
},
"LaunchTemplateId": "lt-0abcd290751193123",
"LaunchTemplateName": "my-template",
"VersionDescription": "WebVersion2",
"VersionNumber": 2
}
}
GET
GET_CreateLocalGatewayRoute
{{baseUrl}}/#Action=CreateLocalGatewayRoute
QUERY PARAMS
LocalGatewayRouteTableId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateLocalGatewayRoute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateLocalGatewayRoute" {:query-params {:LocalGatewayRouteTableId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateLocalGatewayRoute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateLocalGatewayRoute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateLocalGatewayRoute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateLocalGatewayRoute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?LocalGatewayRouteTableId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateLocalGatewayRoute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateLocalGatewayRoute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateLocalGatewayRoute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateLocalGatewayRoute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateLocalGatewayRoute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateLocalGatewayRoute',
params: {LocalGatewayRouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateLocalGatewayRoute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateLocalGatewayRoute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateLocalGatewayRoute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?LocalGatewayRouteTableId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateLocalGatewayRoute',
qs: {LocalGatewayRouteTableId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateLocalGatewayRoute');
req.query({
LocalGatewayRouteTableId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateLocalGatewayRoute',
params: {LocalGatewayRouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateLocalGatewayRoute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateLocalGatewayRoute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateLocalGatewayRoute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateLocalGatewayRoute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateLocalGatewayRoute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateLocalGatewayRoute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'LocalGatewayRouteTableId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateLocalGatewayRoute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'LocalGatewayRouteTableId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateLocalGatewayRoute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateLocalGatewayRoute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?LocalGatewayRouteTableId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateLocalGatewayRoute"
querystring = {"LocalGatewayRouteTableId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateLocalGatewayRoute"
queryString <- list(
LocalGatewayRouteTableId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateLocalGatewayRoute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['LocalGatewayRouteTableId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateLocalGatewayRoute";
let querystring = [
("LocalGatewayRouteTableId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateLocalGatewayRoute'
http GET '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateLocalGatewayRoute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateLocalGatewayRoute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=CreateLocalGatewayRoute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateLocalGatewayRouteTable
{{baseUrl}}/#Action=CreateLocalGatewayRouteTable
QUERY PARAMS
LocalGatewayId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?LocalGatewayId=&Action=&Version=#Action=CreateLocalGatewayRouteTable");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateLocalGatewayRouteTable" {:query-params {:LocalGatewayId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?LocalGatewayId=&Action=&Version=#Action=CreateLocalGatewayRouteTable"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?LocalGatewayId=&Action=&Version=#Action=CreateLocalGatewayRouteTable"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?LocalGatewayId=&Action=&Version=#Action=CreateLocalGatewayRouteTable");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?LocalGatewayId=&Action=&Version=#Action=CreateLocalGatewayRouteTable"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?LocalGatewayId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?LocalGatewayId=&Action=&Version=#Action=CreateLocalGatewayRouteTable")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?LocalGatewayId=&Action=&Version=#Action=CreateLocalGatewayRouteTable"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?LocalGatewayId=&Action=&Version=#Action=CreateLocalGatewayRouteTable")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?LocalGatewayId=&Action=&Version=#Action=CreateLocalGatewayRouteTable")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?LocalGatewayId=&Action=&Version=#Action=CreateLocalGatewayRouteTable');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateLocalGatewayRouteTable',
params: {LocalGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?LocalGatewayId=&Action=&Version=#Action=CreateLocalGatewayRouteTable';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?LocalGatewayId=&Action=&Version=#Action=CreateLocalGatewayRouteTable',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?LocalGatewayId=&Action=&Version=#Action=CreateLocalGatewayRouteTable")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?LocalGatewayId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateLocalGatewayRouteTable',
qs: {LocalGatewayId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateLocalGatewayRouteTable');
req.query({
LocalGatewayId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateLocalGatewayRouteTable',
params: {LocalGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?LocalGatewayId=&Action=&Version=#Action=CreateLocalGatewayRouteTable';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?LocalGatewayId=&Action=&Version=#Action=CreateLocalGatewayRouteTable"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?LocalGatewayId=&Action=&Version=#Action=CreateLocalGatewayRouteTable" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?LocalGatewayId=&Action=&Version=#Action=CreateLocalGatewayRouteTable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?LocalGatewayId=&Action=&Version=#Action=CreateLocalGatewayRouteTable');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateLocalGatewayRouteTable');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'LocalGatewayId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateLocalGatewayRouteTable');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'LocalGatewayId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?LocalGatewayId=&Action=&Version=#Action=CreateLocalGatewayRouteTable' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?LocalGatewayId=&Action=&Version=#Action=CreateLocalGatewayRouteTable' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?LocalGatewayId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateLocalGatewayRouteTable"
querystring = {"LocalGatewayId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateLocalGatewayRouteTable"
queryString <- list(
LocalGatewayId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?LocalGatewayId=&Action=&Version=#Action=CreateLocalGatewayRouteTable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['LocalGatewayId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateLocalGatewayRouteTable";
let querystring = [
("LocalGatewayId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?LocalGatewayId=&Action=&Version=#Action=CreateLocalGatewayRouteTable'
http GET '{{baseUrl}}/?LocalGatewayId=&Action=&Version=#Action=CreateLocalGatewayRouteTable'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?LocalGatewayId=&Action=&Version=#Action=CreateLocalGatewayRouteTable'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?LocalGatewayId=&Action=&Version=#Action=CreateLocalGatewayRouteTable")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation
{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation
QUERY PARAMS
LocalGatewayRouteTableId
LocalGatewayVirtualInterfaceGroupId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?LocalGatewayRouteTableId=&LocalGatewayVirtualInterfaceGroupId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation" {:query-params {:LocalGatewayRouteTableId ""
:LocalGatewayVirtualInterfaceGroupId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?LocalGatewayRouteTableId=&LocalGatewayVirtualInterfaceGroupId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?LocalGatewayRouteTableId=&LocalGatewayVirtualInterfaceGroupId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?LocalGatewayRouteTableId=&LocalGatewayVirtualInterfaceGroupId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?LocalGatewayRouteTableId=&LocalGatewayVirtualInterfaceGroupId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?LocalGatewayRouteTableId=&LocalGatewayVirtualInterfaceGroupId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?LocalGatewayRouteTableId=&LocalGatewayVirtualInterfaceGroupId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?LocalGatewayRouteTableId=&LocalGatewayVirtualInterfaceGroupId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?LocalGatewayRouteTableId=&LocalGatewayVirtualInterfaceGroupId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?LocalGatewayRouteTableId=&LocalGatewayVirtualInterfaceGroupId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?LocalGatewayRouteTableId=&LocalGatewayVirtualInterfaceGroupId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation',
params: {
LocalGatewayRouteTableId: '',
LocalGatewayVirtualInterfaceGroupId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?LocalGatewayRouteTableId=&LocalGatewayVirtualInterfaceGroupId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?LocalGatewayRouteTableId=&LocalGatewayVirtualInterfaceGroupId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?LocalGatewayRouteTableId=&LocalGatewayVirtualInterfaceGroupId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?LocalGatewayRouteTableId=&LocalGatewayVirtualInterfaceGroupId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation',
qs: {
LocalGatewayRouteTableId: '',
LocalGatewayVirtualInterfaceGroupId: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation');
req.query({
LocalGatewayRouteTableId: '',
LocalGatewayVirtualInterfaceGroupId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation',
params: {
LocalGatewayRouteTableId: '',
LocalGatewayVirtualInterfaceGroupId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?LocalGatewayRouteTableId=&LocalGatewayVirtualInterfaceGroupId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?LocalGatewayRouteTableId=&LocalGatewayVirtualInterfaceGroupId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?LocalGatewayRouteTableId=&LocalGatewayVirtualInterfaceGroupId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?LocalGatewayRouteTableId=&LocalGatewayVirtualInterfaceGroupId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?LocalGatewayRouteTableId=&LocalGatewayVirtualInterfaceGroupId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'LocalGatewayRouteTableId' => '',
'LocalGatewayVirtualInterfaceGroupId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'LocalGatewayRouteTableId' => '',
'LocalGatewayVirtualInterfaceGroupId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?LocalGatewayRouteTableId=&LocalGatewayVirtualInterfaceGroupId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?LocalGatewayRouteTableId=&LocalGatewayVirtualInterfaceGroupId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?LocalGatewayRouteTableId=&LocalGatewayVirtualInterfaceGroupId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation"
querystring = {"LocalGatewayRouteTableId":"","LocalGatewayVirtualInterfaceGroupId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation"
queryString <- list(
LocalGatewayRouteTableId = "",
LocalGatewayVirtualInterfaceGroupId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?LocalGatewayRouteTableId=&LocalGatewayVirtualInterfaceGroupId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['LocalGatewayRouteTableId'] = ''
req.params['LocalGatewayVirtualInterfaceGroupId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation";
let querystring = [
("LocalGatewayRouteTableId", ""),
("LocalGatewayVirtualInterfaceGroupId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?LocalGatewayRouteTableId=&LocalGatewayVirtualInterfaceGroupId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation'
http GET '{{baseUrl}}/?LocalGatewayRouteTableId=&LocalGatewayVirtualInterfaceGroupId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?LocalGatewayRouteTableId=&LocalGatewayVirtualInterfaceGroupId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?LocalGatewayRouteTableId=&LocalGatewayVirtualInterfaceGroupId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateLocalGatewayRouteTableVpcAssociation
{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVpcAssociation
QUERY PARAMS
LocalGatewayRouteTableId
VpcId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?LocalGatewayRouteTableId=&VpcId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVpcAssociation" {:query-params {:LocalGatewayRouteTableId ""
:VpcId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?LocalGatewayRouteTableId=&VpcId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?LocalGatewayRouteTableId=&VpcId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?LocalGatewayRouteTableId=&VpcId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?LocalGatewayRouteTableId=&VpcId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?LocalGatewayRouteTableId=&VpcId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?LocalGatewayRouteTableId=&VpcId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?LocalGatewayRouteTableId=&VpcId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?LocalGatewayRouteTableId=&VpcId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?LocalGatewayRouteTableId=&VpcId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?LocalGatewayRouteTableId=&VpcId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVpcAssociation',
params: {LocalGatewayRouteTableId: '', VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?LocalGatewayRouteTableId=&VpcId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?LocalGatewayRouteTableId=&VpcId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?LocalGatewayRouteTableId=&VpcId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?LocalGatewayRouteTableId=&VpcId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVpcAssociation',
qs: {LocalGatewayRouteTableId: '', VpcId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVpcAssociation');
req.query({
LocalGatewayRouteTableId: '',
VpcId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVpcAssociation',
params: {LocalGatewayRouteTableId: '', VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?LocalGatewayRouteTableId=&VpcId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?LocalGatewayRouteTableId=&VpcId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?LocalGatewayRouteTableId=&VpcId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?LocalGatewayRouteTableId=&VpcId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?LocalGatewayRouteTableId=&VpcId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVpcAssociation');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'LocalGatewayRouteTableId' => '',
'VpcId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVpcAssociation');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'LocalGatewayRouteTableId' => '',
'VpcId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?LocalGatewayRouteTableId=&VpcId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?LocalGatewayRouteTableId=&VpcId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?LocalGatewayRouteTableId=&VpcId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVpcAssociation"
querystring = {"LocalGatewayRouteTableId":"","VpcId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVpcAssociation"
queryString <- list(
LocalGatewayRouteTableId = "",
VpcId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?LocalGatewayRouteTableId=&VpcId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['LocalGatewayRouteTableId'] = ''
req.params['VpcId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVpcAssociation";
let querystring = [
("LocalGatewayRouteTableId", ""),
("VpcId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?LocalGatewayRouteTableId=&VpcId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation'
http GET '{{baseUrl}}/?LocalGatewayRouteTableId=&VpcId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?LocalGatewayRouteTableId=&VpcId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?LocalGatewayRouteTableId=&VpcId=&Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateManagedPrefixList
{{baseUrl}}/#Action=CreateManagedPrefixList
QUERY PARAMS
PrefixListName
MaxEntries
AddressFamily
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?PrefixListName=&MaxEntries=&AddressFamily=&Action=&Version=#Action=CreateManagedPrefixList");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateManagedPrefixList" {:query-params {:PrefixListName ""
:MaxEntries ""
:AddressFamily ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?PrefixListName=&MaxEntries=&AddressFamily=&Action=&Version=#Action=CreateManagedPrefixList"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?PrefixListName=&MaxEntries=&AddressFamily=&Action=&Version=#Action=CreateManagedPrefixList"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?PrefixListName=&MaxEntries=&AddressFamily=&Action=&Version=#Action=CreateManagedPrefixList");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?PrefixListName=&MaxEntries=&AddressFamily=&Action=&Version=#Action=CreateManagedPrefixList"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?PrefixListName=&MaxEntries=&AddressFamily=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?PrefixListName=&MaxEntries=&AddressFamily=&Action=&Version=#Action=CreateManagedPrefixList")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?PrefixListName=&MaxEntries=&AddressFamily=&Action=&Version=#Action=CreateManagedPrefixList"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?PrefixListName=&MaxEntries=&AddressFamily=&Action=&Version=#Action=CreateManagedPrefixList")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?PrefixListName=&MaxEntries=&AddressFamily=&Action=&Version=#Action=CreateManagedPrefixList")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?PrefixListName=&MaxEntries=&AddressFamily=&Action=&Version=#Action=CreateManagedPrefixList');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateManagedPrefixList',
params: {PrefixListName: '', MaxEntries: '', AddressFamily: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?PrefixListName=&MaxEntries=&AddressFamily=&Action=&Version=#Action=CreateManagedPrefixList';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?PrefixListName=&MaxEntries=&AddressFamily=&Action=&Version=#Action=CreateManagedPrefixList',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?PrefixListName=&MaxEntries=&AddressFamily=&Action=&Version=#Action=CreateManagedPrefixList")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?PrefixListName=&MaxEntries=&AddressFamily=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateManagedPrefixList',
qs: {PrefixListName: '', MaxEntries: '', AddressFamily: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateManagedPrefixList');
req.query({
PrefixListName: '',
MaxEntries: '',
AddressFamily: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateManagedPrefixList',
params: {PrefixListName: '', MaxEntries: '', AddressFamily: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?PrefixListName=&MaxEntries=&AddressFamily=&Action=&Version=#Action=CreateManagedPrefixList';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?PrefixListName=&MaxEntries=&AddressFamily=&Action=&Version=#Action=CreateManagedPrefixList"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?PrefixListName=&MaxEntries=&AddressFamily=&Action=&Version=#Action=CreateManagedPrefixList" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?PrefixListName=&MaxEntries=&AddressFamily=&Action=&Version=#Action=CreateManagedPrefixList",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?PrefixListName=&MaxEntries=&AddressFamily=&Action=&Version=#Action=CreateManagedPrefixList');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateManagedPrefixList');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'PrefixListName' => '',
'MaxEntries' => '',
'AddressFamily' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateManagedPrefixList');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'PrefixListName' => '',
'MaxEntries' => '',
'AddressFamily' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?PrefixListName=&MaxEntries=&AddressFamily=&Action=&Version=#Action=CreateManagedPrefixList' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?PrefixListName=&MaxEntries=&AddressFamily=&Action=&Version=#Action=CreateManagedPrefixList' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?PrefixListName=&MaxEntries=&AddressFamily=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateManagedPrefixList"
querystring = {"PrefixListName":"","MaxEntries":"","AddressFamily":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateManagedPrefixList"
queryString <- list(
PrefixListName = "",
MaxEntries = "",
AddressFamily = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?PrefixListName=&MaxEntries=&AddressFamily=&Action=&Version=#Action=CreateManagedPrefixList")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['PrefixListName'] = ''
req.params['MaxEntries'] = ''
req.params['AddressFamily'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateManagedPrefixList";
let querystring = [
("PrefixListName", ""),
("MaxEntries", ""),
("AddressFamily", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?PrefixListName=&MaxEntries=&AddressFamily=&Action=&Version=#Action=CreateManagedPrefixList'
http GET '{{baseUrl}}/?PrefixListName=&MaxEntries=&AddressFamily=&Action=&Version=#Action=CreateManagedPrefixList'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?PrefixListName=&MaxEntries=&AddressFamily=&Action=&Version=#Action=CreateManagedPrefixList'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?PrefixListName=&MaxEntries=&AddressFamily=&Action=&Version=#Action=CreateManagedPrefixList")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateNatGateway
{{baseUrl}}/#Action=CreateNatGateway
QUERY PARAMS
SubnetId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNatGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateNatGateway" {:query-params {:SubnetId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNatGateway"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNatGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNatGateway");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNatGateway"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?SubnetId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNatGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNatGateway"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNatGateway")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNatGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNatGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateNatGateway',
params: {SubnetId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNatGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNatGateway',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNatGateway")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?SubnetId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateNatGateway',
qs: {SubnetId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateNatGateway');
req.query({
SubnetId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateNatGateway',
params: {SubnetId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNatGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNatGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNatGateway" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNatGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNatGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateNatGateway');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'SubnetId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateNatGateway');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'SubnetId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNatGateway' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNatGateway' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?SubnetId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateNatGateway"
querystring = {"SubnetId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateNatGateway"
queryString <- list(
SubnetId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNatGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['SubnetId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateNatGateway";
let querystring = [
("SubnetId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNatGateway'
http GET '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNatGateway'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNatGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNatGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"NatGateway": {
"CreateTime": "2015-12-17T12:45:26.732Z",
"NatGatewayAddresses": [
{
"AllocationId": "eipalloc-37fc1a52"
}
],
"NatGatewayId": "nat-08d48af2a8e83edfd",
"State": "pending",
"SubnetId": "subnet-1a2b3c4d",
"VpcId": "vpc-1122aabb"
}
}
GET
GET_CreateNetworkAcl
{{baseUrl}}/#Action=CreateNetworkAcl
QUERY PARAMS
VpcId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateNetworkAcl");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateNetworkAcl" {:query-params {:VpcId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateNetworkAcl"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateNetworkAcl"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateNetworkAcl");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateNetworkAcl"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpcId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateNetworkAcl")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateNetworkAcl"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateNetworkAcl")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateNetworkAcl")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateNetworkAcl');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateNetworkAcl',
params: {VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateNetworkAcl';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateNetworkAcl',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateNetworkAcl")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpcId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateNetworkAcl',
qs: {VpcId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateNetworkAcl');
req.query({
VpcId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateNetworkAcl',
params: {VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateNetworkAcl';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateNetworkAcl"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateNetworkAcl" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateNetworkAcl",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateNetworkAcl');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateNetworkAcl');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpcId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateNetworkAcl');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpcId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateNetworkAcl' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateNetworkAcl' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpcId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateNetworkAcl"
querystring = {"VpcId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateNetworkAcl"
queryString <- list(
VpcId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateNetworkAcl")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpcId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateNetworkAcl";
let querystring = [
("VpcId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateNetworkAcl'
http GET '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateNetworkAcl'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateNetworkAcl'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateNetworkAcl")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"NetworkAcl": {
"Associations": [],
"Entries": [
{
"CidrBlock": "0.0.0.0/0",
"Egress": true,
"Protocol": "-1",
"RuleAction": "deny",
"RuleNumber": 32767
},
{
"CidrBlock": "0.0.0.0/0",
"Egress": false,
"Protocol": "-1",
"RuleAction": "deny",
"RuleNumber": 32767
}
],
"IsDefault": false,
"NetworkAclId": "acl-5fb85d36",
"Tags": [],
"VpcId": "vpc-a01106c2"
}
}
GET
GET_CreateNetworkAclEntry
{{baseUrl}}/#Action=CreateNetworkAclEntry
QUERY PARAMS
Egress
NetworkAclId
Protocol
RuleAction
RuleNumber
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=CreateNetworkAclEntry");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateNetworkAclEntry" {:query-params {:Egress ""
:NetworkAclId ""
:Protocol ""
:RuleAction ""
:RuleNumber ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=CreateNetworkAclEntry"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=CreateNetworkAclEntry"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=CreateNetworkAclEntry");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=CreateNetworkAclEntry"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=CreateNetworkAclEntry")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=CreateNetworkAclEntry"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=CreateNetworkAclEntry")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=CreateNetworkAclEntry")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=CreateNetworkAclEntry');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateNetworkAclEntry',
params: {
Egress: '',
NetworkAclId: '',
Protocol: '',
RuleAction: '',
RuleNumber: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=CreateNetworkAclEntry';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=CreateNetworkAclEntry',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=CreateNetworkAclEntry")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateNetworkAclEntry',
qs: {
Egress: '',
NetworkAclId: '',
Protocol: '',
RuleAction: '',
RuleNumber: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateNetworkAclEntry');
req.query({
Egress: '',
NetworkAclId: '',
Protocol: '',
RuleAction: '',
RuleNumber: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateNetworkAclEntry',
params: {
Egress: '',
NetworkAclId: '',
Protocol: '',
RuleAction: '',
RuleNumber: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=CreateNetworkAclEntry';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=CreateNetworkAclEntry"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=CreateNetworkAclEntry" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=CreateNetworkAclEntry",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=CreateNetworkAclEntry');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateNetworkAclEntry');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Egress' => '',
'NetworkAclId' => '',
'Protocol' => '',
'RuleAction' => '',
'RuleNumber' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateNetworkAclEntry');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Egress' => '',
'NetworkAclId' => '',
'Protocol' => '',
'RuleAction' => '',
'RuleNumber' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=CreateNetworkAclEntry' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=CreateNetworkAclEntry' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateNetworkAclEntry"
querystring = {"Egress":"","NetworkAclId":"","Protocol":"","RuleAction":"","RuleNumber":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateNetworkAclEntry"
queryString <- list(
Egress = "",
NetworkAclId = "",
Protocol = "",
RuleAction = "",
RuleNumber = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=CreateNetworkAclEntry")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Egress'] = ''
req.params['NetworkAclId'] = ''
req.params['Protocol'] = ''
req.params['RuleAction'] = ''
req.params['RuleNumber'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateNetworkAclEntry";
let querystring = [
("Egress", ""),
("NetworkAclId", ""),
("Protocol", ""),
("RuleAction", ""),
("RuleNumber", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=CreateNetworkAclEntry'
http GET '{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=CreateNetworkAclEntry'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=CreateNetworkAclEntry'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=CreateNetworkAclEntry")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateNetworkInsightsAccessScope
{{baseUrl}}/#Action=CreateNetworkInsightsAccessScope
QUERY PARAMS
ClientToken
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ClientToken=&Action=&Version=#Action=CreateNetworkInsightsAccessScope");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateNetworkInsightsAccessScope" {:query-params {:ClientToken ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ClientToken=&Action=&Version=#Action=CreateNetworkInsightsAccessScope"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ClientToken=&Action=&Version=#Action=CreateNetworkInsightsAccessScope"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ClientToken=&Action=&Version=#Action=CreateNetworkInsightsAccessScope");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ClientToken=&Action=&Version=#Action=CreateNetworkInsightsAccessScope"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ClientToken=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ClientToken=&Action=&Version=#Action=CreateNetworkInsightsAccessScope")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ClientToken=&Action=&Version=#Action=CreateNetworkInsightsAccessScope"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ClientToken=&Action=&Version=#Action=CreateNetworkInsightsAccessScope")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ClientToken=&Action=&Version=#Action=CreateNetworkInsightsAccessScope")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ClientToken=&Action=&Version=#Action=CreateNetworkInsightsAccessScope');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateNetworkInsightsAccessScope',
params: {ClientToken: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ClientToken=&Action=&Version=#Action=CreateNetworkInsightsAccessScope';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ClientToken=&Action=&Version=#Action=CreateNetworkInsightsAccessScope',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ClientToken=&Action=&Version=#Action=CreateNetworkInsightsAccessScope")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ClientToken=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateNetworkInsightsAccessScope',
qs: {ClientToken: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateNetworkInsightsAccessScope');
req.query({
ClientToken: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateNetworkInsightsAccessScope',
params: {ClientToken: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ClientToken=&Action=&Version=#Action=CreateNetworkInsightsAccessScope';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ClientToken=&Action=&Version=#Action=CreateNetworkInsightsAccessScope"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ClientToken=&Action=&Version=#Action=CreateNetworkInsightsAccessScope" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ClientToken=&Action=&Version=#Action=CreateNetworkInsightsAccessScope",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ClientToken=&Action=&Version=#Action=CreateNetworkInsightsAccessScope');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateNetworkInsightsAccessScope');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ClientToken' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateNetworkInsightsAccessScope');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ClientToken' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ClientToken=&Action=&Version=#Action=CreateNetworkInsightsAccessScope' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ClientToken=&Action=&Version=#Action=CreateNetworkInsightsAccessScope' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ClientToken=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateNetworkInsightsAccessScope"
querystring = {"ClientToken":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateNetworkInsightsAccessScope"
queryString <- list(
ClientToken = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ClientToken=&Action=&Version=#Action=CreateNetworkInsightsAccessScope")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ClientToken'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateNetworkInsightsAccessScope";
let querystring = [
("ClientToken", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ClientToken=&Action=&Version=#Action=CreateNetworkInsightsAccessScope'
http GET '{{baseUrl}}/?ClientToken=&Action=&Version=#Action=CreateNetworkInsightsAccessScope'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ClientToken=&Action=&Version=#Action=CreateNetworkInsightsAccessScope'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ClientToken=&Action=&Version=#Action=CreateNetworkInsightsAccessScope")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateNetworkInsightsPath
{{baseUrl}}/#Action=CreateNetworkInsightsPath
QUERY PARAMS
Source
Protocol
ClientToken
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Source=&Protocol=&ClientToken=&Action=&Version=#Action=CreateNetworkInsightsPath");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateNetworkInsightsPath" {:query-params {:Source ""
:Protocol ""
:ClientToken ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Source=&Protocol=&ClientToken=&Action=&Version=#Action=CreateNetworkInsightsPath"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Source=&Protocol=&ClientToken=&Action=&Version=#Action=CreateNetworkInsightsPath"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Source=&Protocol=&ClientToken=&Action=&Version=#Action=CreateNetworkInsightsPath");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Source=&Protocol=&ClientToken=&Action=&Version=#Action=CreateNetworkInsightsPath"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Source=&Protocol=&ClientToken=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Source=&Protocol=&ClientToken=&Action=&Version=#Action=CreateNetworkInsightsPath")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Source=&Protocol=&ClientToken=&Action=&Version=#Action=CreateNetworkInsightsPath"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Source=&Protocol=&ClientToken=&Action=&Version=#Action=CreateNetworkInsightsPath")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Source=&Protocol=&ClientToken=&Action=&Version=#Action=CreateNetworkInsightsPath")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Source=&Protocol=&ClientToken=&Action=&Version=#Action=CreateNetworkInsightsPath');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateNetworkInsightsPath',
params: {Source: '', Protocol: '', ClientToken: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Source=&Protocol=&ClientToken=&Action=&Version=#Action=CreateNetworkInsightsPath';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Source=&Protocol=&ClientToken=&Action=&Version=#Action=CreateNetworkInsightsPath',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Source=&Protocol=&ClientToken=&Action=&Version=#Action=CreateNetworkInsightsPath")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Source=&Protocol=&ClientToken=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateNetworkInsightsPath',
qs: {Source: '', Protocol: '', ClientToken: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateNetworkInsightsPath');
req.query({
Source: '',
Protocol: '',
ClientToken: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateNetworkInsightsPath',
params: {Source: '', Protocol: '', ClientToken: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Source=&Protocol=&ClientToken=&Action=&Version=#Action=CreateNetworkInsightsPath';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Source=&Protocol=&ClientToken=&Action=&Version=#Action=CreateNetworkInsightsPath"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Source=&Protocol=&ClientToken=&Action=&Version=#Action=CreateNetworkInsightsPath" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Source=&Protocol=&ClientToken=&Action=&Version=#Action=CreateNetworkInsightsPath",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Source=&Protocol=&ClientToken=&Action=&Version=#Action=CreateNetworkInsightsPath');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateNetworkInsightsPath');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Source' => '',
'Protocol' => '',
'ClientToken' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateNetworkInsightsPath');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Source' => '',
'Protocol' => '',
'ClientToken' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Source=&Protocol=&ClientToken=&Action=&Version=#Action=CreateNetworkInsightsPath' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Source=&Protocol=&ClientToken=&Action=&Version=#Action=CreateNetworkInsightsPath' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Source=&Protocol=&ClientToken=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateNetworkInsightsPath"
querystring = {"Source":"","Protocol":"","ClientToken":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateNetworkInsightsPath"
queryString <- list(
Source = "",
Protocol = "",
ClientToken = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Source=&Protocol=&ClientToken=&Action=&Version=#Action=CreateNetworkInsightsPath")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Source'] = ''
req.params['Protocol'] = ''
req.params['ClientToken'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateNetworkInsightsPath";
let querystring = [
("Source", ""),
("Protocol", ""),
("ClientToken", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Source=&Protocol=&ClientToken=&Action=&Version=#Action=CreateNetworkInsightsPath'
http GET '{{baseUrl}}/?Source=&Protocol=&ClientToken=&Action=&Version=#Action=CreateNetworkInsightsPath'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Source=&Protocol=&ClientToken=&Action=&Version=#Action=CreateNetworkInsightsPath'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Source=&Protocol=&ClientToken=&Action=&Version=#Action=CreateNetworkInsightsPath")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateNetworkInterface
{{baseUrl}}/#Action=CreateNetworkInterface
QUERY PARAMS
SubnetId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNetworkInterface");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateNetworkInterface" {:query-params {:SubnetId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNetworkInterface"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNetworkInterface"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNetworkInterface");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNetworkInterface"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?SubnetId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNetworkInterface")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNetworkInterface"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNetworkInterface")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNetworkInterface")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNetworkInterface');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateNetworkInterface',
params: {SubnetId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNetworkInterface';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNetworkInterface',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNetworkInterface")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?SubnetId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateNetworkInterface',
qs: {SubnetId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateNetworkInterface');
req.query({
SubnetId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateNetworkInterface',
params: {SubnetId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNetworkInterface';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNetworkInterface"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNetworkInterface" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNetworkInterface",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNetworkInterface');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateNetworkInterface');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'SubnetId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateNetworkInterface');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'SubnetId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNetworkInterface' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNetworkInterface' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?SubnetId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateNetworkInterface"
querystring = {"SubnetId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateNetworkInterface"
queryString <- list(
SubnetId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNetworkInterface")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['SubnetId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateNetworkInterface";
let querystring = [
("SubnetId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNetworkInterface'
http GET '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNetworkInterface'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNetworkInterface'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=CreateNetworkInterface")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"NetworkInterface": {
"AvailabilityZone": "us-east-1d",
"Description": "my network interface",
"Groups": [
{
"GroupId": "sg-903004f8",
"GroupName": "default"
}
],
"MacAddress": "02:1a:80:41:52:9c",
"NetworkInterfaceId": "eni-e5aa89a3",
"OwnerId": "123456789012",
"PrivateIpAddress": "10.0.2.17",
"PrivateIpAddresses": [
{
"Primary": true,
"PrivateIpAddress": "10.0.2.17"
}
],
"RequesterManaged": false,
"SourceDestCheck": true,
"Status": "pending",
"SubnetId": "subnet-9d4a7b6c",
"TagSet": [],
"VpcId": "vpc-a01106c2"
}
}
GET
GET_CreateNetworkInterfacePermission
{{baseUrl}}/#Action=CreateNetworkInterfacePermission
QUERY PARAMS
NetworkInterfaceId
Permission
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?NetworkInterfaceId=&Permission=&Action=&Version=#Action=CreateNetworkInterfacePermission");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateNetworkInterfacePermission" {:query-params {:NetworkInterfaceId ""
:Permission ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?NetworkInterfaceId=&Permission=&Action=&Version=#Action=CreateNetworkInterfacePermission"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?NetworkInterfaceId=&Permission=&Action=&Version=#Action=CreateNetworkInterfacePermission"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?NetworkInterfaceId=&Permission=&Action=&Version=#Action=CreateNetworkInterfacePermission");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?NetworkInterfaceId=&Permission=&Action=&Version=#Action=CreateNetworkInterfacePermission"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?NetworkInterfaceId=&Permission=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?NetworkInterfaceId=&Permission=&Action=&Version=#Action=CreateNetworkInterfacePermission")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?NetworkInterfaceId=&Permission=&Action=&Version=#Action=CreateNetworkInterfacePermission"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?NetworkInterfaceId=&Permission=&Action=&Version=#Action=CreateNetworkInterfacePermission")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?NetworkInterfaceId=&Permission=&Action=&Version=#Action=CreateNetworkInterfacePermission")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?NetworkInterfaceId=&Permission=&Action=&Version=#Action=CreateNetworkInterfacePermission');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateNetworkInterfacePermission',
params: {NetworkInterfaceId: '', Permission: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?NetworkInterfaceId=&Permission=&Action=&Version=#Action=CreateNetworkInterfacePermission';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?NetworkInterfaceId=&Permission=&Action=&Version=#Action=CreateNetworkInterfacePermission',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?NetworkInterfaceId=&Permission=&Action=&Version=#Action=CreateNetworkInterfacePermission")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?NetworkInterfaceId=&Permission=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateNetworkInterfacePermission',
qs: {NetworkInterfaceId: '', Permission: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateNetworkInterfacePermission');
req.query({
NetworkInterfaceId: '',
Permission: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateNetworkInterfacePermission',
params: {NetworkInterfaceId: '', Permission: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?NetworkInterfaceId=&Permission=&Action=&Version=#Action=CreateNetworkInterfacePermission';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?NetworkInterfaceId=&Permission=&Action=&Version=#Action=CreateNetworkInterfacePermission"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?NetworkInterfaceId=&Permission=&Action=&Version=#Action=CreateNetworkInterfacePermission" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?NetworkInterfaceId=&Permission=&Action=&Version=#Action=CreateNetworkInterfacePermission",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?NetworkInterfaceId=&Permission=&Action=&Version=#Action=CreateNetworkInterfacePermission');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateNetworkInterfacePermission');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'NetworkInterfaceId' => '',
'Permission' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateNetworkInterfacePermission');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'NetworkInterfaceId' => '',
'Permission' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?NetworkInterfaceId=&Permission=&Action=&Version=#Action=CreateNetworkInterfacePermission' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?NetworkInterfaceId=&Permission=&Action=&Version=#Action=CreateNetworkInterfacePermission' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?NetworkInterfaceId=&Permission=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateNetworkInterfacePermission"
querystring = {"NetworkInterfaceId":"","Permission":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateNetworkInterfacePermission"
queryString <- list(
NetworkInterfaceId = "",
Permission = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?NetworkInterfaceId=&Permission=&Action=&Version=#Action=CreateNetworkInterfacePermission")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['NetworkInterfaceId'] = ''
req.params['Permission'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateNetworkInterfacePermission";
let querystring = [
("NetworkInterfaceId", ""),
("Permission", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?NetworkInterfaceId=&Permission=&Action=&Version=#Action=CreateNetworkInterfacePermission'
http GET '{{baseUrl}}/?NetworkInterfaceId=&Permission=&Action=&Version=#Action=CreateNetworkInterfacePermission'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?NetworkInterfaceId=&Permission=&Action=&Version=#Action=CreateNetworkInterfacePermission'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?NetworkInterfaceId=&Permission=&Action=&Version=#Action=CreateNetworkInterfacePermission")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreatePlacementGroup
{{baseUrl}}/#Action=CreatePlacementGroup
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreatePlacementGroup" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreatePlacementGroup',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreatePlacementGroup',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreatePlacementGroup');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreatePlacementGroup',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreatePlacementGroup');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreatePlacementGroup');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreatePlacementGroup"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreatePlacementGroup"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreatePlacementGroup";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup'
http GET '{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{}
GET
GET_CreatePublicIpv4Pool
{{baseUrl}}/#Action=CreatePublicIpv4Pool
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreatePublicIpv4Pool" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreatePublicIpv4Pool',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreatePublicIpv4Pool',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreatePublicIpv4Pool');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreatePublicIpv4Pool',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreatePublicIpv4Pool');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreatePublicIpv4Pool');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreatePublicIpv4Pool"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreatePublicIpv4Pool"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreatePublicIpv4Pool";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool'
http GET '{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateReplaceRootVolumeTask
{{baseUrl}}/#Action=CreateReplaceRootVolumeTask
QUERY PARAMS
InstanceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=CreateReplaceRootVolumeTask");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateReplaceRootVolumeTask" {:query-params {:InstanceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=CreateReplaceRootVolumeTask"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=CreateReplaceRootVolumeTask"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=CreateReplaceRootVolumeTask");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=CreateReplaceRootVolumeTask"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=CreateReplaceRootVolumeTask")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=CreateReplaceRootVolumeTask"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=CreateReplaceRootVolumeTask")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=CreateReplaceRootVolumeTask")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=CreateReplaceRootVolumeTask');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateReplaceRootVolumeTask',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=CreateReplaceRootVolumeTask';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=CreateReplaceRootVolumeTask',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=CreateReplaceRootVolumeTask")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateReplaceRootVolumeTask',
qs: {InstanceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateReplaceRootVolumeTask');
req.query({
InstanceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateReplaceRootVolumeTask',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=CreateReplaceRootVolumeTask';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=CreateReplaceRootVolumeTask"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=CreateReplaceRootVolumeTask" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=CreateReplaceRootVolumeTask",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=CreateReplaceRootVolumeTask');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateReplaceRootVolumeTask');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateReplaceRootVolumeTask');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=CreateReplaceRootVolumeTask' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=CreateReplaceRootVolumeTask' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateReplaceRootVolumeTask"
querystring = {"InstanceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateReplaceRootVolumeTask"
queryString <- list(
InstanceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=CreateReplaceRootVolumeTask")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateReplaceRootVolumeTask";
let querystring = [
("InstanceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=CreateReplaceRootVolumeTask'
http GET '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=CreateReplaceRootVolumeTask'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=CreateReplaceRootVolumeTask'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=CreateReplaceRootVolumeTask")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateReservedInstancesListing
{{baseUrl}}/#Action=CreateReservedInstancesListing
QUERY PARAMS
ClientToken
InstanceCount
PriceSchedules
ReservedInstancesId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ClientToken=&InstanceCount=&PriceSchedules=&ReservedInstancesId=&Action=&Version=#Action=CreateReservedInstancesListing");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateReservedInstancesListing" {:query-params {:ClientToken ""
:InstanceCount ""
:PriceSchedules ""
:ReservedInstancesId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ClientToken=&InstanceCount=&PriceSchedules=&ReservedInstancesId=&Action=&Version=#Action=CreateReservedInstancesListing"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ClientToken=&InstanceCount=&PriceSchedules=&ReservedInstancesId=&Action=&Version=#Action=CreateReservedInstancesListing"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ClientToken=&InstanceCount=&PriceSchedules=&ReservedInstancesId=&Action=&Version=#Action=CreateReservedInstancesListing");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ClientToken=&InstanceCount=&PriceSchedules=&ReservedInstancesId=&Action=&Version=#Action=CreateReservedInstancesListing"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ClientToken=&InstanceCount=&PriceSchedules=&ReservedInstancesId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ClientToken=&InstanceCount=&PriceSchedules=&ReservedInstancesId=&Action=&Version=#Action=CreateReservedInstancesListing")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ClientToken=&InstanceCount=&PriceSchedules=&ReservedInstancesId=&Action=&Version=#Action=CreateReservedInstancesListing"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ClientToken=&InstanceCount=&PriceSchedules=&ReservedInstancesId=&Action=&Version=#Action=CreateReservedInstancesListing")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ClientToken=&InstanceCount=&PriceSchedules=&ReservedInstancesId=&Action=&Version=#Action=CreateReservedInstancesListing")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ClientToken=&InstanceCount=&PriceSchedules=&ReservedInstancesId=&Action=&Version=#Action=CreateReservedInstancesListing');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateReservedInstancesListing',
params: {
ClientToken: '',
InstanceCount: '',
PriceSchedules: '',
ReservedInstancesId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ClientToken=&InstanceCount=&PriceSchedules=&ReservedInstancesId=&Action=&Version=#Action=CreateReservedInstancesListing';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ClientToken=&InstanceCount=&PriceSchedules=&ReservedInstancesId=&Action=&Version=#Action=CreateReservedInstancesListing',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ClientToken=&InstanceCount=&PriceSchedules=&ReservedInstancesId=&Action=&Version=#Action=CreateReservedInstancesListing")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ClientToken=&InstanceCount=&PriceSchedules=&ReservedInstancesId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateReservedInstancesListing',
qs: {
ClientToken: '',
InstanceCount: '',
PriceSchedules: '',
ReservedInstancesId: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateReservedInstancesListing');
req.query({
ClientToken: '',
InstanceCount: '',
PriceSchedules: '',
ReservedInstancesId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateReservedInstancesListing',
params: {
ClientToken: '',
InstanceCount: '',
PriceSchedules: '',
ReservedInstancesId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ClientToken=&InstanceCount=&PriceSchedules=&ReservedInstancesId=&Action=&Version=#Action=CreateReservedInstancesListing';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ClientToken=&InstanceCount=&PriceSchedules=&ReservedInstancesId=&Action=&Version=#Action=CreateReservedInstancesListing"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ClientToken=&InstanceCount=&PriceSchedules=&ReservedInstancesId=&Action=&Version=#Action=CreateReservedInstancesListing" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ClientToken=&InstanceCount=&PriceSchedules=&ReservedInstancesId=&Action=&Version=#Action=CreateReservedInstancesListing",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ClientToken=&InstanceCount=&PriceSchedules=&ReservedInstancesId=&Action=&Version=#Action=CreateReservedInstancesListing');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateReservedInstancesListing');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ClientToken' => '',
'InstanceCount' => '',
'PriceSchedules' => '',
'ReservedInstancesId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateReservedInstancesListing');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ClientToken' => '',
'InstanceCount' => '',
'PriceSchedules' => '',
'ReservedInstancesId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ClientToken=&InstanceCount=&PriceSchedules=&ReservedInstancesId=&Action=&Version=#Action=CreateReservedInstancesListing' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ClientToken=&InstanceCount=&PriceSchedules=&ReservedInstancesId=&Action=&Version=#Action=CreateReservedInstancesListing' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ClientToken=&InstanceCount=&PriceSchedules=&ReservedInstancesId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateReservedInstancesListing"
querystring = {"ClientToken":"","InstanceCount":"","PriceSchedules":"","ReservedInstancesId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateReservedInstancesListing"
queryString <- list(
ClientToken = "",
InstanceCount = "",
PriceSchedules = "",
ReservedInstancesId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ClientToken=&InstanceCount=&PriceSchedules=&ReservedInstancesId=&Action=&Version=#Action=CreateReservedInstancesListing")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ClientToken'] = ''
req.params['InstanceCount'] = ''
req.params['PriceSchedules'] = ''
req.params['ReservedInstancesId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateReservedInstancesListing";
let querystring = [
("ClientToken", ""),
("InstanceCount", ""),
("PriceSchedules", ""),
("ReservedInstancesId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ClientToken=&InstanceCount=&PriceSchedules=&ReservedInstancesId=&Action=&Version=#Action=CreateReservedInstancesListing'
http GET '{{baseUrl}}/?ClientToken=&InstanceCount=&PriceSchedules=&ReservedInstancesId=&Action=&Version=#Action=CreateReservedInstancesListing'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ClientToken=&InstanceCount=&PriceSchedules=&ReservedInstancesId=&Action=&Version=#Action=CreateReservedInstancesListing'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ClientToken=&InstanceCount=&PriceSchedules=&ReservedInstancesId=&Action=&Version=#Action=CreateReservedInstancesListing")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateRestoreImageTask
{{baseUrl}}/#Action=CreateRestoreImageTask
QUERY PARAMS
Bucket
ObjectKey
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Bucket=&ObjectKey=&Action=&Version=#Action=CreateRestoreImageTask");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateRestoreImageTask" {:query-params {:Bucket ""
:ObjectKey ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Bucket=&ObjectKey=&Action=&Version=#Action=CreateRestoreImageTask"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Bucket=&ObjectKey=&Action=&Version=#Action=CreateRestoreImageTask"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Bucket=&ObjectKey=&Action=&Version=#Action=CreateRestoreImageTask");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Bucket=&ObjectKey=&Action=&Version=#Action=CreateRestoreImageTask"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Bucket=&ObjectKey=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Bucket=&ObjectKey=&Action=&Version=#Action=CreateRestoreImageTask")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Bucket=&ObjectKey=&Action=&Version=#Action=CreateRestoreImageTask"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Bucket=&ObjectKey=&Action=&Version=#Action=CreateRestoreImageTask")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Bucket=&ObjectKey=&Action=&Version=#Action=CreateRestoreImageTask")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Bucket=&ObjectKey=&Action=&Version=#Action=CreateRestoreImageTask');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateRestoreImageTask',
params: {Bucket: '', ObjectKey: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Bucket=&ObjectKey=&Action=&Version=#Action=CreateRestoreImageTask';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Bucket=&ObjectKey=&Action=&Version=#Action=CreateRestoreImageTask',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Bucket=&ObjectKey=&Action=&Version=#Action=CreateRestoreImageTask")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Bucket=&ObjectKey=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateRestoreImageTask',
qs: {Bucket: '', ObjectKey: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateRestoreImageTask');
req.query({
Bucket: '',
ObjectKey: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateRestoreImageTask',
params: {Bucket: '', ObjectKey: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Bucket=&ObjectKey=&Action=&Version=#Action=CreateRestoreImageTask';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Bucket=&ObjectKey=&Action=&Version=#Action=CreateRestoreImageTask"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Bucket=&ObjectKey=&Action=&Version=#Action=CreateRestoreImageTask" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Bucket=&ObjectKey=&Action=&Version=#Action=CreateRestoreImageTask",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Bucket=&ObjectKey=&Action=&Version=#Action=CreateRestoreImageTask');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateRestoreImageTask');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Bucket' => '',
'ObjectKey' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateRestoreImageTask');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Bucket' => '',
'ObjectKey' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Bucket=&ObjectKey=&Action=&Version=#Action=CreateRestoreImageTask' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Bucket=&ObjectKey=&Action=&Version=#Action=CreateRestoreImageTask' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Bucket=&ObjectKey=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateRestoreImageTask"
querystring = {"Bucket":"","ObjectKey":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateRestoreImageTask"
queryString <- list(
Bucket = "",
ObjectKey = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Bucket=&ObjectKey=&Action=&Version=#Action=CreateRestoreImageTask")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Bucket'] = ''
req.params['ObjectKey'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateRestoreImageTask";
let querystring = [
("Bucket", ""),
("ObjectKey", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Bucket=&ObjectKey=&Action=&Version=#Action=CreateRestoreImageTask'
http GET '{{baseUrl}}/?Bucket=&ObjectKey=&Action=&Version=#Action=CreateRestoreImageTask'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Bucket=&ObjectKey=&Action=&Version=#Action=CreateRestoreImageTask'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Bucket=&ObjectKey=&Action=&Version=#Action=CreateRestoreImageTask")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateRoute
{{baseUrl}}/#Action=CreateRoute
QUERY PARAMS
RouteTableId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=CreateRoute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateRoute" {:query-params {:RouteTableId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=CreateRoute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=CreateRoute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=CreateRoute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=CreateRoute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?RouteTableId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=CreateRoute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=CreateRoute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=CreateRoute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=CreateRoute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=CreateRoute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateRoute',
params: {RouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=CreateRoute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=CreateRoute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=CreateRoute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?RouteTableId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateRoute',
qs: {RouteTableId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateRoute');
req.query({
RouteTableId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateRoute',
params: {RouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=CreateRoute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=CreateRoute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=CreateRoute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=CreateRoute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=CreateRoute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateRoute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'RouteTableId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateRoute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'RouteTableId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=CreateRoute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=CreateRoute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?RouteTableId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateRoute"
querystring = {"RouteTableId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateRoute"
queryString <- list(
RouteTableId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=CreateRoute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['RouteTableId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateRoute";
let querystring = [
("RouteTableId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=CreateRoute'
http GET '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=CreateRoute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=CreateRoute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=CreateRoute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateRouteTable
{{baseUrl}}/#Action=CreateRouteTable
QUERY PARAMS
VpcId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateRouteTable");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateRouteTable" {:query-params {:VpcId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateRouteTable"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateRouteTable"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateRouteTable");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateRouteTable"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpcId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateRouteTable")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateRouteTable"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateRouteTable")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateRouteTable")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateRouteTable');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateRouteTable',
params: {VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateRouteTable';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateRouteTable',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateRouteTable")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpcId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateRouteTable',
qs: {VpcId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateRouteTable');
req.query({
VpcId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateRouteTable',
params: {VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateRouteTable';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateRouteTable"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateRouteTable" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateRouteTable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateRouteTable');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateRouteTable');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpcId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateRouteTable');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpcId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateRouteTable' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateRouteTable' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpcId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateRouteTable"
querystring = {"VpcId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateRouteTable"
queryString <- list(
VpcId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateRouteTable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpcId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateRouteTable";
let querystring = [
("VpcId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateRouteTable'
http GET '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateRouteTable'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateRouteTable'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateRouteTable")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"RouteTable": {
"Associations": [],
"PropagatingVgws": [],
"RouteTableId": "rtb-22574640",
"Routes": [
{
"DestinationCidrBlock": "10.0.0.0/16",
"GatewayId": "local",
"State": "active"
}
],
"Tags": [],
"VpcId": "vpc-a01106c2"
}
}
GET
GET_CreateSecurityGroup
{{baseUrl}}/#Action=CreateSecurityGroup
QUERY PARAMS
GroupDescription
GroupName
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?GroupDescription=&GroupName=&Action=&Version=#Action=CreateSecurityGroup");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateSecurityGroup" {:query-params {:GroupDescription ""
:GroupName ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?GroupDescription=&GroupName=&Action=&Version=#Action=CreateSecurityGroup"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?GroupDescription=&GroupName=&Action=&Version=#Action=CreateSecurityGroup"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?GroupDescription=&GroupName=&Action=&Version=#Action=CreateSecurityGroup");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?GroupDescription=&GroupName=&Action=&Version=#Action=CreateSecurityGroup"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?GroupDescription=&GroupName=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?GroupDescription=&GroupName=&Action=&Version=#Action=CreateSecurityGroup")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?GroupDescription=&GroupName=&Action=&Version=#Action=CreateSecurityGroup"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?GroupDescription=&GroupName=&Action=&Version=#Action=CreateSecurityGroup")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?GroupDescription=&GroupName=&Action=&Version=#Action=CreateSecurityGroup")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?GroupDescription=&GroupName=&Action=&Version=#Action=CreateSecurityGroup');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateSecurityGroup',
params: {GroupDescription: '', GroupName: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?GroupDescription=&GroupName=&Action=&Version=#Action=CreateSecurityGroup';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?GroupDescription=&GroupName=&Action=&Version=#Action=CreateSecurityGroup',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?GroupDescription=&GroupName=&Action=&Version=#Action=CreateSecurityGroup")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?GroupDescription=&GroupName=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateSecurityGroup',
qs: {GroupDescription: '', GroupName: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateSecurityGroup');
req.query({
GroupDescription: '',
GroupName: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateSecurityGroup',
params: {GroupDescription: '', GroupName: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?GroupDescription=&GroupName=&Action=&Version=#Action=CreateSecurityGroup';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?GroupDescription=&GroupName=&Action=&Version=#Action=CreateSecurityGroup"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?GroupDescription=&GroupName=&Action=&Version=#Action=CreateSecurityGroup" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?GroupDescription=&GroupName=&Action=&Version=#Action=CreateSecurityGroup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?GroupDescription=&GroupName=&Action=&Version=#Action=CreateSecurityGroup');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateSecurityGroup');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'GroupDescription' => '',
'GroupName' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateSecurityGroup');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'GroupDescription' => '',
'GroupName' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?GroupDescription=&GroupName=&Action=&Version=#Action=CreateSecurityGroup' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?GroupDescription=&GroupName=&Action=&Version=#Action=CreateSecurityGroup' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?GroupDescription=&GroupName=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateSecurityGroup"
querystring = {"GroupDescription":"","GroupName":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateSecurityGroup"
queryString <- list(
GroupDescription = "",
GroupName = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?GroupDescription=&GroupName=&Action=&Version=#Action=CreateSecurityGroup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['GroupDescription'] = ''
req.params['GroupName'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateSecurityGroup";
let querystring = [
("GroupDescription", ""),
("GroupName", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?GroupDescription=&GroupName=&Action=&Version=#Action=CreateSecurityGroup'
http GET '{{baseUrl}}/?GroupDescription=&GroupName=&Action=&Version=#Action=CreateSecurityGroup'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?GroupDescription=&GroupName=&Action=&Version=#Action=CreateSecurityGroup'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?GroupDescription=&GroupName=&Action=&Version=#Action=CreateSecurityGroup")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"GroupId": "sg-903004f8"
}
GET
GET_CreateSnapshot
{{baseUrl}}/#Action=CreateSnapshot
QUERY PARAMS
VolumeId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=CreateSnapshot");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateSnapshot" {:query-params {:VolumeId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=CreateSnapshot"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=CreateSnapshot"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=CreateSnapshot");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=CreateSnapshot"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VolumeId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=CreateSnapshot")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=CreateSnapshot"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=CreateSnapshot")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=CreateSnapshot")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=CreateSnapshot');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateSnapshot',
params: {VolumeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=CreateSnapshot';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=CreateSnapshot',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=CreateSnapshot")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VolumeId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateSnapshot',
qs: {VolumeId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateSnapshot');
req.query({
VolumeId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateSnapshot',
params: {VolumeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=CreateSnapshot';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VolumeId=&Action=&Version=#Action=CreateSnapshot"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=CreateSnapshot" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VolumeId=&Action=&Version=#Action=CreateSnapshot",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=CreateSnapshot');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateSnapshot');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VolumeId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateSnapshot');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VolumeId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=CreateSnapshot' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=CreateSnapshot' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VolumeId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateSnapshot"
querystring = {"VolumeId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateSnapshot"
queryString <- list(
VolumeId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=CreateSnapshot")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VolumeId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateSnapshot";
let querystring = [
("VolumeId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=CreateSnapshot'
http GET '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=CreateSnapshot'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=CreateSnapshot'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=CreateSnapshot")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"Description": "This is my root volume snapshot.",
"OwnerId": 12345678910,
"SnapshotId": "snap-066877671789bd71b",
"StartTime": "2014-02-28T21:06:01.000Z",
"State": "pending",
"Tags": [],
"VolumeId": "vol-1234567890abcdef0",
"VolumeSize": 8
}
GET
GET_CreateSnapshots
{{baseUrl}}/#Action=CreateSnapshots
QUERY PARAMS
InstanceSpecification
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceSpecification=&Action=&Version=#Action=CreateSnapshots");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateSnapshots" {:query-params {:InstanceSpecification ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceSpecification=&Action=&Version=#Action=CreateSnapshots"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceSpecification=&Action=&Version=#Action=CreateSnapshots"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceSpecification=&Action=&Version=#Action=CreateSnapshots");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceSpecification=&Action=&Version=#Action=CreateSnapshots"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceSpecification=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceSpecification=&Action=&Version=#Action=CreateSnapshots")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceSpecification=&Action=&Version=#Action=CreateSnapshots"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceSpecification=&Action=&Version=#Action=CreateSnapshots")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceSpecification=&Action=&Version=#Action=CreateSnapshots")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceSpecification=&Action=&Version=#Action=CreateSnapshots');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateSnapshots',
params: {InstanceSpecification: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceSpecification=&Action=&Version=#Action=CreateSnapshots';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceSpecification=&Action=&Version=#Action=CreateSnapshots',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceSpecification=&Action=&Version=#Action=CreateSnapshots")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceSpecification=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateSnapshots',
qs: {InstanceSpecification: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateSnapshots');
req.query({
InstanceSpecification: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateSnapshots',
params: {InstanceSpecification: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceSpecification=&Action=&Version=#Action=CreateSnapshots';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceSpecification=&Action=&Version=#Action=CreateSnapshots"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceSpecification=&Action=&Version=#Action=CreateSnapshots" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceSpecification=&Action=&Version=#Action=CreateSnapshots",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceSpecification=&Action=&Version=#Action=CreateSnapshots');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateSnapshots');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceSpecification' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateSnapshots');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceSpecification' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceSpecification=&Action=&Version=#Action=CreateSnapshots' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceSpecification=&Action=&Version=#Action=CreateSnapshots' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceSpecification=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateSnapshots"
querystring = {"InstanceSpecification":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateSnapshots"
queryString <- list(
InstanceSpecification = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceSpecification=&Action=&Version=#Action=CreateSnapshots")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceSpecification'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateSnapshots";
let querystring = [
("InstanceSpecification", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceSpecification=&Action=&Version=#Action=CreateSnapshots'
http GET '{{baseUrl}}/?InstanceSpecification=&Action=&Version=#Action=CreateSnapshots'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceSpecification=&Action=&Version=#Action=CreateSnapshots'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceSpecification=&Action=&Version=#Action=CreateSnapshots")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateSpotDatafeedSubscription
{{baseUrl}}/#Action=CreateSpotDatafeedSubscription
QUERY PARAMS
Bucket
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Bucket=&Action=&Version=#Action=CreateSpotDatafeedSubscription");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateSpotDatafeedSubscription" {:query-params {:Bucket ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Bucket=&Action=&Version=#Action=CreateSpotDatafeedSubscription"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Bucket=&Action=&Version=#Action=CreateSpotDatafeedSubscription"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Bucket=&Action=&Version=#Action=CreateSpotDatafeedSubscription");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Bucket=&Action=&Version=#Action=CreateSpotDatafeedSubscription"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Bucket=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Bucket=&Action=&Version=#Action=CreateSpotDatafeedSubscription")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Bucket=&Action=&Version=#Action=CreateSpotDatafeedSubscription"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Bucket=&Action=&Version=#Action=CreateSpotDatafeedSubscription")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Bucket=&Action=&Version=#Action=CreateSpotDatafeedSubscription")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Bucket=&Action=&Version=#Action=CreateSpotDatafeedSubscription');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateSpotDatafeedSubscription',
params: {Bucket: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Bucket=&Action=&Version=#Action=CreateSpotDatafeedSubscription';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Bucket=&Action=&Version=#Action=CreateSpotDatafeedSubscription',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Bucket=&Action=&Version=#Action=CreateSpotDatafeedSubscription")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Bucket=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateSpotDatafeedSubscription',
qs: {Bucket: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateSpotDatafeedSubscription');
req.query({
Bucket: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateSpotDatafeedSubscription',
params: {Bucket: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Bucket=&Action=&Version=#Action=CreateSpotDatafeedSubscription';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Bucket=&Action=&Version=#Action=CreateSpotDatafeedSubscription"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Bucket=&Action=&Version=#Action=CreateSpotDatafeedSubscription" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Bucket=&Action=&Version=#Action=CreateSpotDatafeedSubscription",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Bucket=&Action=&Version=#Action=CreateSpotDatafeedSubscription');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateSpotDatafeedSubscription');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Bucket' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateSpotDatafeedSubscription');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Bucket' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Bucket=&Action=&Version=#Action=CreateSpotDatafeedSubscription' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Bucket=&Action=&Version=#Action=CreateSpotDatafeedSubscription' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Bucket=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateSpotDatafeedSubscription"
querystring = {"Bucket":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateSpotDatafeedSubscription"
queryString <- list(
Bucket = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Bucket=&Action=&Version=#Action=CreateSpotDatafeedSubscription")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Bucket'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateSpotDatafeedSubscription";
let querystring = [
("Bucket", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Bucket=&Action=&Version=#Action=CreateSpotDatafeedSubscription'
http GET '{{baseUrl}}/?Bucket=&Action=&Version=#Action=CreateSpotDatafeedSubscription'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Bucket=&Action=&Version=#Action=CreateSpotDatafeedSubscription'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Bucket=&Action=&Version=#Action=CreateSpotDatafeedSubscription")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"SpotDatafeedSubscription": {
"Bucket": "my-s3-bucket",
"OwnerId": "123456789012",
"Prefix": "spotdata",
"State": "Active"
}
}
GET
GET_CreateStoreImageTask
{{baseUrl}}/#Action=CreateStoreImageTask
QUERY PARAMS
ImageId
Bucket
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ImageId=&Bucket=&Action=&Version=#Action=CreateStoreImageTask");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateStoreImageTask" {:query-params {:ImageId ""
:Bucket ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ImageId=&Bucket=&Action=&Version=#Action=CreateStoreImageTask"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ImageId=&Bucket=&Action=&Version=#Action=CreateStoreImageTask"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ImageId=&Bucket=&Action=&Version=#Action=CreateStoreImageTask");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ImageId=&Bucket=&Action=&Version=#Action=CreateStoreImageTask"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ImageId=&Bucket=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ImageId=&Bucket=&Action=&Version=#Action=CreateStoreImageTask")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ImageId=&Bucket=&Action=&Version=#Action=CreateStoreImageTask"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ImageId=&Bucket=&Action=&Version=#Action=CreateStoreImageTask")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ImageId=&Bucket=&Action=&Version=#Action=CreateStoreImageTask")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ImageId=&Bucket=&Action=&Version=#Action=CreateStoreImageTask');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateStoreImageTask',
params: {ImageId: '', Bucket: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ImageId=&Bucket=&Action=&Version=#Action=CreateStoreImageTask';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ImageId=&Bucket=&Action=&Version=#Action=CreateStoreImageTask',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ImageId=&Bucket=&Action=&Version=#Action=CreateStoreImageTask")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ImageId=&Bucket=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateStoreImageTask',
qs: {ImageId: '', Bucket: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateStoreImageTask');
req.query({
ImageId: '',
Bucket: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateStoreImageTask',
params: {ImageId: '', Bucket: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ImageId=&Bucket=&Action=&Version=#Action=CreateStoreImageTask';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ImageId=&Bucket=&Action=&Version=#Action=CreateStoreImageTask"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ImageId=&Bucket=&Action=&Version=#Action=CreateStoreImageTask" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ImageId=&Bucket=&Action=&Version=#Action=CreateStoreImageTask",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ImageId=&Bucket=&Action=&Version=#Action=CreateStoreImageTask');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateStoreImageTask');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ImageId' => '',
'Bucket' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateStoreImageTask');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ImageId' => '',
'Bucket' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ImageId=&Bucket=&Action=&Version=#Action=CreateStoreImageTask' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ImageId=&Bucket=&Action=&Version=#Action=CreateStoreImageTask' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ImageId=&Bucket=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateStoreImageTask"
querystring = {"ImageId":"","Bucket":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateStoreImageTask"
queryString <- list(
ImageId = "",
Bucket = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ImageId=&Bucket=&Action=&Version=#Action=CreateStoreImageTask")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ImageId'] = ''
req.params['Bucket'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateStoreImageTask";
let querystring = [
("ImageId", ""),
("Bucket", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ImageId=&Bucket=&Action=&Version=#Action=CreateStoreImageTask'
http GET '{{baseUrl}}/?ImageId=&Bucket=&Action=&Version=#Action=CreateStoreImageTask'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ImageId=&Bucket=&Action=&Version=#Action=CreateStoreImageTask'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ImageId=&Bucket=&Action=&Version=#Action=CreateStoreImageTask")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateSubnet
{{baseUrl}}/#Action=CreateSubnet
QUERY PARAMS
VpcId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateSubnet");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateSubnet" {:query-params {:VpcId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateSubnet"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateSubnet"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateSubnet");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateSubnet"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpcId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateSubnet")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateSubnet"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateSubnet")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateSubnet")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateSubnet');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateSubnet',
params: {VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateSubnet';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateSubnet',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateSubnet")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpcId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateSubnet',
qs: {VpcId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateSubnet');
req.query({
VpcId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateSubnet',
params: {VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateSubnet';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateSubnet"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateSubnet" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateSubnet",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateSubnet');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateSubnet');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpcId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateSubnet');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpcId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateSubnet' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateSubnet' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpcId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateSubnet"
querystring = {"VpcId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateSubnet"
queryString <- list(
VpcId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateSubnet")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpcId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateSubnet";
let querystring = [
("VpcId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateSubnet'
http GET '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateSubnet'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateSubnet'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateSubnet")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"Subnet": {
"AvailabilityZone": "us-west-2c",
"AvailableIpAddressCount": 251,
"CidrBlock": "10.0.1.0/24",
"State": "pending",
"SubnetId": "subnet-9d4a7b6c",
"VpcId": "vpc-a01106c2"
}
}
GET
GET_CreateSubnetCidrReservation
{{baseUrl}}/#Action=CreateSubnetCidrReservation
QUERY PARAMS
SubnetId
Cidr
ReservationType
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?SubnetId=&Cidr=&ReservationType=&Action=&Version=#Action=CreateSubnetCidrReservation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateSubnetCidrReservation" {:query-params {:SubnetId ""
:Cidr ""
:ReservationType ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?SubnetId=&Cidr=&ReservationType=&Action=&Version=#Action=CreateSubnetCidrReservation"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?SubnetId=&Cidr=&ReservationType=&Action=&Version=#Action=CreateSubnetCidrReservation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?SubnetId=&Cidr=&ReservationType=&Action=&Version=#Action=CreateSubnetCidrReservation");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?SubnetId=&Cidr=&ReservationType=&Action=&Version=#Action=CreateSubnetCidrReservation"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?SubnetId=&Cidr=&ReservationType=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?SubnetId=&Cidr=&ReservationType=&Action=&Version=#Action=CreateSubnetCidrReservation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?SubnetId=&Cidr=&ReservationType=&Action=&Version=#Action=CreateSubnetCidrReservation"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?SubnetId=&Cidr=&ReservationType=&Action=&Version=#Action=CreateSubnetCidrReservation")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?SubnetId=&Cidr=&ReservationType=&Action=&Version=#Action=CreateSubnetCidrReservation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?SubnetId=&Cidr=&ReservationType=&Action=&Version=#Action=CreateSubnetCidrReservation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateSubnetCidrReservation',
params: {SubnetId: '', Cidr: '', ReservationType: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?SubnetId=&Cidr=&ReservationType=&Action=&Version=#Action=CreateSubnetCidrReservation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?SubnetId=&Cidr=&ReservationType=&Action=&Version=#Action=CreateSubnetCidrReservation',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?SubnetId=&Cidr=&ReservationType=&Action=&Version=#Action=CreateSubnetCidrReservation")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?SubnetId=&Cidr=&ReservationType=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateSubnetCidrReservation',
qs: {SubnetId: '', Cidr: '', ReservationType: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateSubnetCidrReservation');
req.query({
SubnetId: '',
Cidr: '',
ReservationType: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateSubnetCidrReservation',
params: {SubnetId: '', Cidr: '', ReservationType: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?SubnetId=&Cidr=&ReservationType=&Action=&Version=#Action=CreateSubnetCidrReservation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?SubnetId=&Cidr=&ReservationType=&Action=&Version=#Action=CreateSubnetCidrReservation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?SubnetId=&Cidr=&ReservationType=&Action=&Version=#Action=CreateSubnetCidrReservation" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?SubnetId=&Cidr=&ReservationType=&Action=&Version=#Action=CreateSubnetCidrReservation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?SubnetId=&Cidr=&ReservationType=&Action=&Version=#Action=CreateSubnetCidrReservation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateSubnetCidrReservation');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'SubnetId' => '',
'Cidr' => '',
'ReservationType' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateSubnetCidrReservation');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'SubnetId' => '',
'Cidr' => '',
'ReservationType' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?SubnetId=&Cidr=&ReservationType=&Action=&Version=#Action=CreateSubnetCidrReservation' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?SubnetId=&Cidr=&ReservationType=&Action=&Version=#Action=CreateSubnetCidrReservation' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?SubnetId=&Cidr=&ReservationType=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateSubnetCidrReservation"
querystring = {"SubnetId":"","Cidr":"","ReservationType":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateSubnetCidrReservation"
queryString <- list(
SubnetId = "",
Cidr = "",
ReservationType = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?SubnetId=&Cidr=&ReservationType=&Action=&Version=#Action=CreateSubnetCidrReservation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['SubnetId'] = ''
req.params['Cidr'] = ''
req.params['ReservationType'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateSubnetCidrReservation";
let querystring = [
("SubnetId", ""),
("Cidr", ""),
("ReservationType", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?SubnetId=&Cidr=&ReservationType=&Action=&Version=#Action=CreateSubnetCidrReservation'
http GET '{{baseUrl}}/?SubnetId=&Cidr=&ReservationType=&Action=&Version=#Action=CreateSubnetCidrReservation'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?SubnetId=&Cidr=&ReservationType=&Action=&Version=#Action=CreateSubnetCidrReservation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?SubnetId=&Cidr=&ReservationType=&Action=&Version=#Action=CreateSubnetCidrReservation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateTags
{{baseUrl}}/#Action=CreateTags
QUERY PARAMS
ResourceId
Tag
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ResourceId=&Tag=&Action=&Version=#Action=CreateTags");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateTags" {:query-params {:ResourceId ""
:Tag ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ResourceId=&Tag=&Action=&Version=#Action=CreateTags"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ResourceId=&Tag=&Action=&Version=#Action=CreateTags"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ResourceId=&Tag=&Action=&Version=#Action=CreateTags");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ResourceId=&Tag=&Action=&Version=#Action=CreateTags"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ResourceId=&Tag=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ResourceId=&Tag=&Action=&Version=#Action=CreateTags")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ResourceId=&Tag=&Action=&Version=#Action=CreateTags"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ResourceId=&Tag=&Action=&Version=#Action=CreateTags")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ResourceId=&Tag=&Action=&Version=#Action=CreateTags")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ResourceId=&Tag=&Action=&Version=#Action=CreateTags');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTags',
params: {ResourceId: '', Tag: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ResourceId=&Tag=&Action=&Version=#Action=CreateTags';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ResourceId=&Tag=&Action=&Version=#Action=CreateTags',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ResourceId=&Tag=&Action=&Version=#Action=CreateTags")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ResourceId=&Tag=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTags',
qs: {ResourceId: '', Tag: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateTags');
req.query({
ResourceId: '',
Tag: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTags',
params: {ResourceId: '', Tag: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ResourceId=&Tag=&Action=&Version=#Action=CreateTags';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ResourceId=&Tag=&Action=&Version=#Action=CreateTags"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ResourceId=&Tag=&Action=&Version=#Action=CreateTags" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ResourceId=&Tag=&Action=&Version=#Action=CreateTags",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ResourceId=&Tag=&Action=&Version=#Action=CreateTags');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTags');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ResourceId' => '',
'Tag' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTags');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ResourceId' => '',
'Tag' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ResourceId=&Tag=&Action=&Version=#Action=CreateTags' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ResourceId=&Tag=&Action=&Version=#Action=CreateTags' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ResourceId=&Tag=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTags"
querystring = {"ResourceId":"","Tag":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTags"
queryString <- list(
ResourceId = "",
Tag = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ResourceId=&Tag=&Action=&Version=#Action=CreateTags")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ResourceId'] = ''
req.params['Tag'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTags";
let querystring = [
("ResourceId", ""),
("Tag", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ResourceId=&Tag=&Action=&Version=#Action=CreateTags'
http GET '{{baseUrl}}/?ResourceId=&Tag=&Action=&Version=#Action=CreateTags'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ResourceId=&Tag=&Action=&Version=#Action=CreateTags'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ResourceId=&Tag=&Action=&Version=#Action=CreateTags")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateTrafficMirrorFilter
{{baseUrl}}/#Action=CreateTrafficMirrorFilter
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateTrafficMirrorFilter" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTrafficMirrorFilter',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTrafficMirrorFilter',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateTrafficMirrorFilter');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTrafficMirrorFilter',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTrafficMirrorFilter');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTrafficMirrorFilter');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTrafficMirrorFilter"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTrafficMirrorFilter"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTrafficMirrorFilter";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter'
http GET '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateTrafficMirrorFilterRule
{{baseUrl}}/#Action=CreateTrafficMirrorFilterRule
QUERY PARAMS
TrafficMirrorFilterId
TrafficDirection
RuleNumber
RuleAction
DestinationCidrBlock
SourceCidrBlock
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TrafficMirrorFilterId=&TrafficDirection=&RuleNumber=&RuleAction=&DestinationCidrBlock=&SourceCidrBlock=&Action=&Version=#Action=CreateTrafficMirrorFilterRule");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateTrafficMirrorFilterRule" {:query-params {:TrafficMirrorFilterId ""
:TrafficDirection ""
:RuleNumber ""
:RuleAction ""
:DestinationCidrBlock ""
:SourceCidrBlock ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TrafficMirrorFilterId=&TrafficDirection=&RuleNumber=&RuleAction=&DestinationCidrBlock=&SourceCidrBlock=&Action=&Version=#Action=CreateTrafficMirrorFilterRule"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TrafficMirrorFilterId=&TrafficDirection=&RuleNumber=&RuleAction=&DestinationCidrBlock=&SourceCidrBlock=&Action=&Version=#Action=CreateTrafficMirrorFilterRule"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TrafficMirrorFilterId=&TrafficDirection=&RuleNumber=&RuleAction=&DestinationCidrBlock=&SourceCidrBlock=&Action=&Version=#Action=CreateTrafficMirrorFilterRule");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TrafficMirrorFilterId=&TrafficDirection=&RuleNumber=&RuleAction=&DestinationCidrBlock=&SourceCidrBlock=&Action=&Version=#Action=CreateTrafficMirrorFilterRule"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TrafficMirrorFilterId=&TrafficDirection=&RuleNumber=&RuleAction=&DestinationCidrBlock=&SourceCidrBlock=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TrafficMirrorFilterId=&TrafficDirection=&RuleNumber=&RuleAction=&DestinationCidrBlock=&SourceCidrBlock=&Action=&Version=#Action=CreateTrafficMirrorFilterRule")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TrafficMirrorFilterId=&TrafficDirection=&RuleNumber=&RuleAction=&DestinationCidrBlock=&SourceCidrBlock=&Action=&Version=#Action=CreateTrafficMirrorFilterRule"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TrafficMirrorFilterId=&TrafficDirection=&RuleNumber=&RuleAction=&DestinationCidrBlock=&SourceCidrBlock=&Action=&Version=#Action=CreateTrafficMirrorFilterRule")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TrafficMirrorFilterId=&TrafficDirection=&RuleNumber=&RuleAction=&DestinationCidrBlock=&SourceCidrBlock=&Action=&Version=#Action=CreateTrafficMirrorFilterRule")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TrafficMirrorFilterId=&TrafficDirection=&RuleNumber=&RuleAction=&DestinationCidrBlock=&SourceCidrBlock=&Action=&Version=#Action=CreateTrafficMirrorFilterRule');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTrafficMirrorFilterRule',
params: {
TrafficMirrorFilterId: '',
TrafficDirection: '',
RuleNumber: '',
RuleAction: '',
DestinationCidrBlock: '',
SourceCidrBlock: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TrafficMirrorFilterId=&TrafficDirection=&RuleNumber=&RuleAction=&DestinationCidrBlock=&SourceCidrBlock=&Action=&Version=#Action=CreateTrafficMirrorFilterRule';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TrafficMirrorFilterId=&TrafficDirection=&RuleNumber=&RuleAction=&DestinationCidrBlock=&SourceCidrBlock=&Action=&Version=#Action=CreateTrafficMirrorFilterRule',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TrafficMirrorFilterId=&TrafficDirection=&RuleNumber=&RuleAction=&DestinationCidrBlock=&SourceCidrBlock=&Action=&Version=#Action=CreateTrafficMirrorFilterRule")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TrafficMirrorFilterId=&TrafficDirection=&RuleNumber=&RuleAction=&DestinationCidrBlock=&SourceCidrBlock=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTrafficMirrorFilterRule',
qs: {
TrafficMirrorFilterId: '',
TrafficDirection: '',
RuleNumber: '',
RuleAction: '',
DestinationCidrBlock: '',
SourceCidrBlock: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateTrafficMirrorFilterRule');
req.query({
TrafficMirrorFilterId: '',
TrafficDirection: '',
RuleNumber: '',
RuleAction: '',
DestinationCidrBlock: '',
SourceCidrBlock: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTrafficMirrorFilterRule',
params: {
TrafficMirrorFilterId: '',
TrafficDirection: '',
RuleNumber: '',
RuleAction: '',
DestinationCidrBlock: '',
SourceCidrBlock: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TrafficMirrorFilterId=&TrafficDirection=&RuleNumber=&RuleAction=&DestinationCidrBlock=&SourceCidrBlock=&Action=&Version=#Action=CreateTrafficMirrorFilterRule';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TrafficMirrorFilterId=&TrafficDirection=&RuleNumber=&RuleAction=&DestinationCidrBlock=&SourceCidrBlock=&Action=&Version=#Action=CreateTrafficMirrorFilterRule"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TrafficMirrorFilterId=&TrafficDirection=&RuleNumber=&RuleAction=&DestinationCidrBlock=&SourceCidrBlock=&Action=&Version=#Action=CreateTrafficMirrorFilterRule" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TrafficMirrorFilterId=&TrafficDirection=&RuleNumber=&RuleAction=&DestinationCidrBlock=&SourceCidrBlock=&Action=&Version=#Action=CreateTrafficMirrorFilterRule",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TrafficMirrorFilterId=&TrafficDirection=&RuleNumber=&RuleAction=&DestinationCidrBlock=&SourceCidrBlock=&Action=&Version=#Action=CreateTrafficMirrorFilterRule');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTrafficMirrorFilterRule');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TrafficMirrorFilterId' => '',
'TrafficDirection' => '',
'RuleNumber' => '',
'RuleAction' => '',
'DestinationCidrBlock' => '',
'SourceCidrBlock' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTrafficMirrorFilterRule');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TrafficMirrorFilterId' => '',
'TrafficDirection' => '',
'RuleNumber' => '',
'RuleAction' => '',
'DestinationCidrBlock' => '',
'SourceCidrBlock' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TrafficMirrorFilterId=&TrafficDirection=&RuleNumber=&RuleAction=&DestinationCidrBlock=&SourceCidrBlock=&Action=&Version=#Action=CreateTrafficMirrorFilterRule' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TrafficMirrorFilterId=&TrafficDirection=&RuleNumber=&RuleAction=&DestinationCidrBlock=&SourceCidrBlock=&Action=&Version=#Action=CreateTrafficMirrorFilterRule' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TrafficMirrorFilterId=&TrafficDirection=&RuleNumber=&RuleAction=&DestinationCidrBlock=&SourceCidrBlock=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTrafficMirrorFilterRule"
querystring = {"TrafficMirrorFilterId":"","TrafficDirection":"","RuleNumber":"","RuleAction":"","DestinationCidrBlock":"","SourceCidrBlock":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTrafficMirrorFilterRule"
queryString <- list(
TrafficMirrorFilterId = "",
TrafficDirection = "",
RuleNumber = "",
RuleAction = "",
DestinationCidrBlock = "",
SourceCidrBlock = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TrafficMirrorFilterId=&TrafficDirection=&RuleNumber=&RuleAction=&DestinationCidrBlock=&SourceCidrBlock=&Action=&Version=#Action=CreateTrafficMirrorFilterRule")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TrafficMirrorFilterId'] = ''
req.params['TrafficDirection'] = ''
req.params['RuleNumber'] = ''
req.params['RuleAction'] = ''
req.params['DestinationCidrBlock'] = ''
req.params['SourceCidrBlock'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTrafficMirrorFilterRule";
let querystring = [
("TrafficMirrorFilterId", ""),
("TrafficDirection", ""),
("RuleNumber", ""),
("RuleAction", ""),
("DestinationCidrBlock", ""),
("SourceCidrBlock", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TrafficMirrorFilterId=&TrafficDirection=&RuleNumber=&RuleAction=&DestinationCidrBlock=&SourceCidrBlock=&Action=&Version=#Action=CreateTrafficMirrorFilterRule'
http GET '{{baseUrl}}/?TrafficMirrorFilterId=&TrafficDirection=&RuleNumber=&RuleAction=&DestinationCidrBlock=&SourceCidrBlock=&Action=&Version=#Action=CreateTrafficMirrorFilterRule'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TrafficMirrorFilterId=&TrafficDirection=&RuleNumber=&RuleAction=&DestinationCidrBlock=&SourceCidrBlock=&Action=&Version=#Action=CreateTrafficMirrorFilterRule'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TrafficMirrorFilterId=&TrafficDirection=&RuleNumber=&RuleAction=&DestinationCidrBlock=&SourceCidrBlock=&Action=&Version=#Action=CreateTrafficMirrorFilterRule")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateTrafficMirrorSession
{{baseUrl}}/#Action=CreateTrafficMirrorSession
QUERY PARAMS
NetworkInterfaceId
TrafficMirrorTargetId
TrafficMirrorFilterId
SessionNumber
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?NetworkInterfaceId=&TrafficMirrorTargetId=&TrafficMirrorFilterId=&SessionNumber=&Action=&Version=#Action=CreateTrafficMirrorSession");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateTrafficMirrorSession" {:query-params {:NetworkInterfaceId ""
:TrafficMirrorTargetId ""
:TrafficMirrorFilterId ""
:SessionNumber ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?NetworkInterfaceId=&TrafficMirrorTargetId=&TrafficMirrorFilterId=&SessionNumber=&Action=&Version=#Action=CreateTrafficMirrorSession"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?NetworkInterfaceId=&TrafficMirrorTargetId=&TrafficMirrorFilterId=&SessionNumber=&Action=&Version=#Action=CreateTrafficMirrorSession"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?NetworkInterfaceId=&TrafficMirrorTargetId=&TrafficMirrorFilterId=&SessionNumber=&Action=&Version=#Action=CreateTrafficMirrorSession");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?NetworkInterfaceId=&TrafficMirrorTargetId=&TrafficMirrorFilterId=&SessionNumber=&Action=&Version=#Action=CreateTrafficMirrorSession"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?NetworkInterfaceId=&TrafficMirrorTargetId=&TrafficMirrorFilterId=&SessionNumber=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?NetworkInterfaceId=&TrafficMirrorTargetId=&TrafficMirrorFilterId=&SessionNumber=&Action=&Version=#Action=CreateTrafficMirrorSession")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?NetworkInterfaceId=&TrafficMirrorTargetId=&TrafficMirrorFilterId=&SessionNumber=&Action=&Version=#Action=CreateTrafficMirrorSession"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?NetworkInterfaceId=&TrafficMirrorTargetId=&TrafficMirrorFilterId=&SessionNumber=&Action=&Version=#Action=CreateTrafficMirrorSession")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?NetworkInterfaceId=&TrafficMirrorTargetId=&TrafficMirrorFilterId=&SessionNumber=&Action=&Version=#Action=CreateTrafficMirrorSession")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?NetworkInterfaceId=&TrafficMirrorTargetId=&TrafficMirrorFilterId=&SessionNumber=&Action=&Version=#Action=CreateTrafficMirrorSession');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTrafficMirrorSession',
params: {
NetworkInterfaceId: '',
TrafficMirrorTargetId: '',
TrafficMirrorFilterId: '',
SessionNumber: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?NetworkInterfaceId=&TrafficMirrorTargetId=&TrafficMirrorFilterId=&SessionNumber=&Action=&Version=#Action=CreateTrafficMirrorSession';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?NetworkInterfaceId=&TrafficMirrorTargetId=&TrafficMirrorFilterId=&SessionNumber=&Action=&Version=#Action=CreateTrafficMirrorSession',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?NetworkInterfaceId=&TrafficMirrorTargetId=&TrafficMirrorFilterId=&SessionNumber=&Action=&Version=#Action=CreateTrafficMirrorSession")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?NetworkInterfaceId=&TrafficMirrorTargetId=&TrafficMirrorFilterId=&SessionNumber=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTrafficMirrorSession',
qs: {
NetworkInterfaceId: '',
TrafficMirrorTargetId: '',
TrafficMirrorFilterId: '',
SessionNumber: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateTrafficMirrorSession');
req.query({
NetworkInterfaceId: '',
TrafficMirrorTargetId: '',
TrafficMirrorFilterId: '',
SessionNumber: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTrafficMirrorSession',
params: {
NetworkInterfaceId: '',
TrafficMirrorTargetId: '',
TrafficMirrorFilterId: '',
SessionNumber: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?NetworkInterfaceId=&TrafficMirrorTargetId=&TrafficMirrorFilterId=&SessionNumber=&Action=&Version=#Action=CreateTrafficMirrorSession';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?NetworkInterfaceId=&TrafficMirrorTargetId=&TrafficMirrorFilterId=&SessionNumber=&Action=&Version=#Action=CreateTrafficMirrorSession"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?NetworkInterfaceId=&TrafficMirrorTargetId=&TrafficMirrorFilterId=&SessionNumber=&Action=&Version=#Action=CreateTrafficMirrorSession" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?NetworkInterfaceId=&TrafficMirrorTargetId=&TrafficMirrorFilterId=&SessionNumber=&Action=&Version=#Action=CreateTrafficMirrorSession",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?NetworkInterfaceId=&TrafficMirrorTargetId=&TrafficMirrorFilterId=&SessionNumber=&Action=&Version=#Action=CreateTrafficMirrorSession');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTrafficMirrorSession');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'NetworkInterfaceId' => '',
'TrafficMirrorTargetId' => '',
'TrafficMirrorFilterId' => '',
'SessionNumber' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTrafficMirrorSession');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'NetworkInterfaceId' => '',
'TrafficMirrorTargetId' => '',
'TrafficMirrorFilterId' => '',
'SessionNumber' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?NetworkInterfaceId=&TrafficMirrorTargetId=&TrafficMirrorFilterId=&SessionNumber=&Action=&Version=#Action=CreateTrafficMirrorSession' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?NetworkInterfaceId=&TrafficMirrorTargetId=&TrafficMirrorFilterId=&SessionNumber=&Action=&Version=#Action=CreateTrafficMirrorSession' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?NetworkInterfaceId=&TrafficMirrorTargetId=&TrafficMirrorFilterId=&SessionNumber=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTrafficMirrorSession"
querystring = {"NetworkInterfaceId":"","TrafficMirrorTargetId":"","TrafficMirrorFilterId":"","SessionNumber":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTrafficMirrorSession"
queryString <- list(
NetworkInterfaceId = "",
TrafficMirrorTargetId = "",
TrafficMirrorFilterId = "",
SessionNumber = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?NetworkInterfaceId=&TrafficMirrorTargetId=&TrafficMirrorFilterId=&SessionNumber=&Action=&Version=#Action=CreateTrafficMirrorSession")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['NetworkInterfaceId'] = ''
req.params['TrafficMirrorTargetId'] = ''
req.params['TrafficMirrorFilterId'] = ''
req.params['SessionNumber'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTrafficMirrorSession";
let querystring = [
("NetworkInterfaceId", ""),
("TrafficMirrorTargetId", ""),
("TrafficMirrorFilterId", ""),
("SessionNumber", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?NetworkInterfaceId=&TrafficMirrorTargetId=&TrafficMirrorFilterId=&SessionNumber=&Action=&Version=#Action=CreateTrafficMirrorSession'
http GET '{{baseUrl}}/?NetworkInterfaceId=&TrafficMirrorTargetId=&TrafficMirrorFilterId=&SessionNumber=&Action=&Version=#Action=CreateTrafficMirrorSession'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?NetworkInterfaceId=&TrafficMirrorTargetId=&TrafficMirrorFilterId=&SessionNumber=&Action=&Version=#Action=CreateTrafficMirrorSession'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?NetworkInterfaceId=&TrafficMirrorTargetId=&TrafficMirrorFilterId=&SessionNumber=&Action=&Version=#Action=CreateTrafficMirrorSession")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateTrafficMirrorTarget
{{baseUrl}}/#Action=CreateTrafficMirrorTarget
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateTrafficMirrorTarget" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTrafficMirrorTarget',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTrafficMirrorTarget',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateTrafficMirrorTarget');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTrafficMirrorTarget',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTrafficMirrorTarget');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTrafficMirrorTarget');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTrafficMirrorTarget"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTrafficMirrorTarget"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTrafficMirrorTarget";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget'
http GET '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateTransitGateway
{{baseUrl}}/#Action=CreateTransitGateway
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateTransitGateway" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGateway',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateTransitGateway');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTransitGateway');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTransitGateway');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTransitGateway"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTransitGateway"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTransitGateway";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway'
http GET '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateTransitGatewayConnect
{{baseUrl}}/#Action=CreateTransitGatewayConnect
QUERY PARAMS
TransportTransitGatewayAttachmentId
Options
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransportTransitGatewayAttachmentId=&Options=&Action=&Version=#Action=CreateTransitGatewayConnect");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateTransitGatewayConnect" {:query-params {:TransportTransitGatewayAttachmentId ""
:Options ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransportTransitGatewayAttachmentId=&Options=&Action=&Version=#Action=CreateTransitGatewayConnect"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransportTransitGatewayAttachmentId=&Options=&Action=&Version=#Action=CreateTransitGatewayConnect"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransportTransitGatewayAttachmentId=&Options=&Action=&Version=#Action=CreateTransitGatewayConnect");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransportTransitGatewayAttachmentId=&Options=&Action=&Version=#Action=CreateTransitGatewayConnect"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransportTransitGatewayAttachmentId=&Options=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransportTransitGatewayAttachmentId=&Options=&Action=&Version=#Action=CreateTransitGatewayConnect")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransportTransitGatewayAttachmentId=&Options=&Action=&Version=#Action=CreateTransitGatewayConnect"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransportTransitGatewayAttachmentId=&Options=&Action=&Version=#Action=CreateTransitGatewayConnect")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransportTransitGatewayAttachmentId=&Options=&Action=&Version=#Action=CreateTransitGatewayConnect")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransportTransitGatewayAttachmentId=&Options=&Action=&Version=#Action=CreateTransitGatewayConnect');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayConnect',
params: {TransportTransitGatewayAttachmentId: '', Options: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransportTransitGatewayAttachmentId=&Options=&Action=&Version=#Action=CreateTransitGatewayConnect';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransportTransitGatewayAttachmentId=&Options=&Action=&Version=#Action=CreateTransitGatewayConnect',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransportTransitGatewayAttachmentId=&Options=&Action=&Version=#Action=CreateTransitGatewayConnect")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransportTransitGatewayAttachmentId=&Options=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayConnect',
qs: {TransportTransitGatewayAttachmentId: '', Options: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateTransitGatewayConnect');
req.query({
TransportTransitGatewayAttachmentId: '',
Options: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayConnect',
params: {TransportTransitGatewayAttachmentId: '', Options: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransportTransitGatewayAttachmentId=&Options=&Action=&Version=#Action=CreateTransitGatewayConnect';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransportTransitGatewayAttachmentId=&Options=&Action=&Version=#Action=CreateTransitGatewayConnect"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransportTransitGatewayAttachmentId=&Options=&Action=&Version=#Action=CreateTransitGatewayConnect" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransportTransitGatewayAttachmentId=&Options=&Action=&Version=#Action=CreateTransitGatewayConnect",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransportTransitGatewayAttachmentId=&Options=&Action=&Version=#Action=CreateTransitGatewayConnect');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTransitGatewayConnect');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransportTransitGatewayAttachmentId' => '',
'Options' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTransitGatewayConnect');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransportTransitGatewayAttachmentId' => '',
'Options' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransportTransitGatewayAttachmentId=&Options=&Action=&Version=#Action=CreateTransitGatewayConnect' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransportTransitGatewayAttachmentId=&Options=&Action=&Version=#Action=CreateTransitGatewayConnect' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransportTransitGatewayAttachmentId=&Options=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTransitGatewayConnect"
querystring = {"TransportTransitGatewayAttachmentId":"","Options":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTransitGatewayConnect"
queryString <- list(
TransportTransitGatewayAttachmentId = "",
Options = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransportTransitGatewayAttachmentId=&Options=&Action=&Version=#Action=CreateTransitGatewayConnect")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransportTransitGatewayAttachmentId'] = ''
req.params['Options'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTransitGatewayConnect";
let querystring = [
("TransportTransitGatewayAttachmentId", ""),
("Options", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransportTransitGatewayAttachmentId=&Options=&Action=&Version=#Action=CreateTransitGatewayConnect'
http GET '{{baseUrl}}/?TransportTransitGatewayAttachmentId=&Options=&Action=&Version=#Action=CreateTransitGatewayConnect'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransportTransitGatewayAttachmentId=&Options=&Action=&Version=#Action=CreateTransitGatewayConnect'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransportTransitGatewayAttachmentId=&Options=&Action=&Version=#Action=CreateTransitGatewayConnect")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateTransitGatewayConnectPeer
{{baseUrl}}/#Action=CreateTransitGatewayConnectPeer
QUERY PARAMS
TransitGatewayAttachmentId
PeerAddress
InsideCidrBlocks
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayAttachmentId=&PeerAddress=&InsideCidrBlocks=&Action=&Version=#Action=CreateTransitGatewayConnectPeer");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateTransitGatewayConnectPeer" {:query-params {:TransitGatewayAttachmentId ""
:PeerAddress ""
:InsideCidrBlocks ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayAttachmentId=&PeerAddress=&InsideCidrBlocks=&Action=&Version=#Action=CreateTransitGatewayConnectPeer"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayAttachmentId=&PeerAddress=&InsideCidrBlocks=&Action=&Version=#Action=CreateTransitGatewayConnectPeer"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayAttachmentId=&PeerAddress=&InsideCidrBlocks=&Action=&Version=#Action=CreateTransitGatewayConnectPeer");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayAttachmentId=&PeerAddress=&InsideCidrBlocks=&Action=&Version=#Action=CreateTransitGatewayConnectPeer"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayAttachmentId=&PeerAddress=&InsideCidrBlocks=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayAttachmentId=&PeerAddress=&InsideCidrBlocks=&Action=&Version=#Action=CreateTransitGatewayConnectPeer")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayAttachmentId=&PeerAddress=&InsideCidrBlocks=&Action=&Version=#Action=CreateTransitGatewayConnectPeer"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayAttachmentId=&PeerAddress=&InsideCidrBlocks=&Action=&Version=#Action=CreateTransitGatewayConnectPeer")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayAttachmentId=&PeerAddress=&InsideCidrBlocks=&Action=&Version=#Action=CreateTransitGatewayConnectPeer")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayAttachmentId=&PeerAddress=&InsideCidrBlocks=&Action=&Version=#Action=CreateTransitGatewayConnectPeer');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayConnectPeer',
params: {
TransitGatewayAttachmentId: '',
PeerAddress: '',
InsideCidrBlocks: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayAttachmentId=&PeerAddress=&InsideCidrBlocks=&Action=&Version=#Action=CreateTransitGatewayConnectPeer';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayAttachmentId=&PeerAddress=&InsideCidrBlocks=&Action=&Version=#Action=CreateTransitGatewayConnectPeer',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayAttachmentId=&PeerAddress=&InsideCidrBlocks=&Action=&Version=#Action=CreateTransitGatewayConnectPeer")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayAttachmentId=&PeerAddress=&InsideCidrBlocks=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayConnectPeer',
qs: {
TransitGatewayAttachmentId: '',
PeerAddress: '',
InsideCidrBlocks: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateTransitGatewayConnectPeer');
req.query({
TransitGatewayAttachmentId: '',
PeerAddress: '',
InsideCidrBlocks: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayConnectPeer',
params: {
TransitGatewayAttachmentId: '',
PeerAddress: '',
InsideCidrBlocks: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayAttachmentId=&PeerAddress=&InsideCidrBlocks=&Action=&Version=#Action=CreateTransitGatewayConnectPeer';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayAttachmentId=&PeerAddress=&InsideCidrBlocks=&Action=&Version=#Action=CreateTransitGatewayConnectPeer"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayAttachmentId=&PeerAddress=&InsideCidrBlocks=&Action=&Version=#Action=CreateTransitGatewayConnectPeer" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayAttachmentId=&PeerAddress=&InsideCidrBlocks=&Action=&Version=#Action=CreateTransitGatewayConnectPeer",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayAttachmentId=&PeerAddress=&InsideCidrBlocks=&Action=&Version=#Action=CreateTransitGatewayConnectPeer');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTransitGatewayConnectPeer');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayAttachmentId' => '',
'PeerAddress' => '',
'InsideCidrBlocks' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTransitGatewayConnectPeer');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayAttachmentId' => '',
'PeerAddress' => '',
'InsideCidrBlocks' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayAttachmentId=&PeerAddress=&InsideCidrBlocks=&Action=&Version=#Action=CreateTransitGatewayConnectPeer' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayAttachmentId=&PeerAddress=&InsideCidrBlocks=&Action=&Version=#Action=CreateTransitGatewayConnectPeer' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayAttachmentId=&PeerAddress=&InsideCidrBlocks=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTransitGatewayConnectPeer"
querystring = {"TransitGatewayAttachmentId":"","PeerAddress":"","InsideCidrBlocks":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTransitGatewayConnectPeer"
queryString <- list(
TransitGatewayAttachmentId = "",
PeerAddress = "",
InsideCidrBlocks = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayAttachmentId=&PeerAddress=&InsideCidrBlocks=&Action=&Version=#Action=CreateTransitGatewayConnectPeer")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayAttachmentId'] = ''
req.params['PeerAddress'] = ''
req.params['InsideCidrBlocks'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTransitGatewayConnectPeer";
let querystring = [
("TransitGatewayAttachmentId", ""),
("PeerAddress", ""),
("InsideCidrBlocks", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayAttachmentId=&PeerAddress=&InsideCidrBlocks=&Action=&Version=#Action=CreateTransitGatewayConnectPeer'
http GET '{{baseUrl}}/?TransitGatewayAttachmentId=&PeerAddress=&InsideCidrBlocks=&Action=&Version=#Action=CreateTransitGatewayConnectPeer'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayAttachmentId=&PeerAddress=&InsideCidrBlocks=&Action=&Version=#Action=CreateTransitGatewayConnectPeer'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayAttachmentId=&PeerAddress=&InsideCidrBlocks=&Action=&Version=#Action=CreateTransitGatewayConnectPeer")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateTransitGatewayMulticastDomain
{{baseUrl}}/#Action=CreateTransitGatewayMulticastDomain
QUERY PARAMS
TransitGatewayId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayMulticastDomain");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateTransitGatewayMulticastDomain" {:query-params {:TransitGatewayId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayMulticastDomain"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayMulticastDomain"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayMulticastDomain");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayMulticastDomain"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayMulticastDomain")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayMulticastDomain"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayMulticastDomain")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayMulticastDomain")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayMulticastDomain');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayMulticastDomain',
params: {TransitGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayMulticastDomain';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayMulticastDomain',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayMulticastDomain")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayMulticastDomain',
qs: {TransitGatewayId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateTransitGatewayMulticastDomain');
req.query({
TransitGatewayId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayMulticastDomain',
params: {TransitGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayMulticastDomain';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayMulticastDomain"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayMulticastDomain" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayMulticastDomain",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayMulticastDomain');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTransitGatewayMulticastDomain');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTransitGatewayMulticastDomain');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayMulticastDomain' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayMulticastDomain' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTransitGatewayMulticastDomain"
querystring = {"TransitGatewayId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTransitGatewayMulticastDomain"
queryString <- list(
TransitGatewayId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayMulticastDomain")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTransitGatewayMulticastDomain";
let querystring = [
("TransitGatewayId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayMulticastDomain'
http GET '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayMulticastDomain'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayMulticastDomain'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayMulticastDomain")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateTransitGatewayPeeringAttachment
{{baseUrl}}/#Action=CreateTransitGatewayPeeringAttachment
QUERY PARAMS
TransitGatewayId
PeerTransitGatewayId
PeerAccountId
PeerRegion
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayId=&PeerTransitGatewayId=&PeerAccountId=&PeerRegion=&Action=&Version=#Action=CreateTransitGatewayPeeringAttachment");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateTransitGatewayPeeringAttachment" {:query-params {:TransitGatewayId ""
:PeerTransitGatewayId ""
:PeerAccountId ""
:PeerRegion ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayId=&PeerTransitGatewayId=&PeerAccountId=&PeerRegion=&Action=&Version=#Action=CreateTransitGatewayPeeringAttachment"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayId=&PeerTransitGatewayId=&PeerAccountId=&PeerRegion=&Action=&Version=#Action=CreateTransitGatewayPeeringAttachment"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayId=&PeerTransitGatewayId=&PeerAccountId=&PeerRegion=&Action=&Version=#Action=CreateTransitGatewayPeeringAttachment");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayId=&PeerTransitGatewayId=&PeerAccountId=&PeerRegion=&Action=&Version=#Action=CreateTransitGatewayPeeringAttachment"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayId=&PeerTransitGatewayId=&PeerAccountId=&PeerRegion=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayId=&PeerTransitGatewayId=&PeerAccountId=&PeerRegion=&Action=&Version=#Action=CreateTransitGatewayPeeringAttachment")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayId=&PeerTransitGatewayId=&PeerAccountId=&PeerRegion=&Action=&Version=#Action=CreateTransitGatewayPeeringAttachment"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayId=&PeerTransitGatewayId=&PeerAccountId=&PeerRegion=&Action=&Version=#Action=CreateTransitGatewayPeeringAttachment")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayId=&PeerTransitGatewayId=&PeerAccountId=&PeerRegion=&Action=&Version=#Action=CreateTransitGatewayPeeringAttachment")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayId=&PeerTransitGatewayId=&PeerAccountId=&PeerRegion=&Action=&Version=#Action=CreateTransitGatewayPeeringAttachment');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayPeeringAttachment',
params: {
TransitGatewayId: '',
PeerTransitGatewayId: '',
PeerAccountId: '',
PeerRegion: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayId=&PeerTransitGatewayId=&PeerAccountId=&PeerRegion=&Action=&Version=#Action=CreateTransitGatewayPeeringAttachment';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayId=&PeerTransitGatewayId=&PeerAccountId=&PeerRegion=&Action=&Version=#Action=CreateTransitGatewayPeeringAttachment',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayId=&PeerTransitGatewayId=&PeerAccountId=&PeerRegion=&Action=&Version=#Action=CreateTransitGatewayPeeringAttachment")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayId=&PeerTransitGatewayId=&PeerAccountId=&PeerRegion=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayPeeringAttachment',
qs: {
TransitGatewayId: '',
PeerTransitGatewayId: '',
PeerAccountId: '',
PeerRegion: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateTransitGatewayPeeringAttachment');
req.query({
TransitGatewayId: '',
PeerTransitGatewayId: '',
PeerAccountId: '',
PeerRegion: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayPeeringAttachment',
params: {
TransitGatewayId: '',
PeerTransitGatewayId: '',
PeerAccountId: '',
PeerRegion: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayId=&PeerTransitGatewayId=&PeerAccountId=&PeerRegion=&Action=&Version=#Action=CreateTransitGatewayPeeringAttachment';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayId=&PeerTransitGatewayId=&PeerAccountId=&PeerRegion=&Action=&Version=#Action=CreateTransitGatewayPeeringAttachment"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayId=&PeerTransitGatewayId=&PeerAccountId=&PeerRegion=&Action=&Version=#Action=CreateTransitGatewayPeeringAttachment" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayId=&PeerTransitGatewayId=&PeerAccountId=&PeerRegion=&Action=&Version=#Action=CreateTransitGatewayPeeringAttachment",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayId=&PeerTransitGatewayId=&PeerAccountId=&PeerRegion=&Action=&Version=#Action=CreateTransitGatewayPeeringAttachment');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTransitGatewayPeeringAttachment');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayId' => '',
'PeerTransitGatewayId' => '',
'PeerAccountId' => '',
'PeerRegion' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTransitGatewayPeeringAttachment');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayId' => '',
'PeerTransitGatewayId' => '',
'PeerAccountId' => '',
'PeerRegion' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayId=&PeerTransitGatewayId=&PeerAccountId=&PeerRegion=&Action=&Version=#Action=CreateTransitGatewayPeeringAttachment' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayId=&PeerTransitGatewayId=&PeerAccountId=&PeerRegion=&Action=&Version=#Action=CreateTransitGatewayPeeringAttachment' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayId=&PeerTransitGatewayId=&PeerAccountId=&PeerRegion=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTransitGatewayPeeringAttachment"
querystring = {"TransitGatewayId":"","PeerTransitGatewayId":"","PeerAccountId":"","PeerRegion":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTransitGatewayPeeringAttachment"
queryString <- list(
TransitGatewayId = "",
PeerTransitGatewayId = "",
PeerAccountId = "",
PeerRegion = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayId=&PeerTransitGatewayId=&PeerAccountId=&PeerRegion=&Action=&Version=#Action=CreateTransitGatewayPeeringAttachment")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayId'] = ''
req.params['PeerTransitGatewayId'] = ''
req.params['PeerAccountId'] = ''
req.params['PeerRegion'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTransitGatewayPeeringAttachment";
let querystring = [
("TransitGatewayId", ""),
("PeerTransitGatewayId", ""),
("PeerAccountId", ""),
("PeerRegion", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayId=&PeerTransitGatewayId=&PeerAccountId=&PeerRegion=&Action=&Version=#Action=CreateTransitGatewayPeeringAttachment'
http GET '{{baseUrl}}/?TransitGatewayId=&PeerTransitGatewayId=&PeerAccountId=&PeerRegion=&Action=&Version=#Action=CreateTransitGatewayPeeringAttachment'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayId=&PeerTransitGatewayId=&PeerAccountId=&PeerRegion=&Action=&Version=#Action=CreateTransitGatewayPeeringAttachment'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayId=&PeerTransitGatewayId=&PeerAccountId=&PeerRegion=&Action=&Version=#Action=CreateTransitGatewayPeeringAttachment")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateTransitGatewayPolicyTable
{{baseUrl}}/#Action=CreateTransitGatewayPolicyTable
QUERY PARAMS
TransitGatewayId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayPolicyTable");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateTransitGatewayPolicyTable" {:query-params {:TransitGatewayId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayPolicyTable"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayPolicyTable"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayPolicyTable");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayPolicyTable"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayPolicyTable")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayPolicyTable"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayPolicyTable")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayPolicyTable")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayPolicyTable');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayPolicyTable',
params: {TransitGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayPolicyTable';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayPolicyTable',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayPolicyTable")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayPolicyTable',
qs: {TransitGatewayId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateTransitGatewayPolicyTable');
req.query({
TransitGatewayId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayPolicyTable',
params: {TransitGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayPolicyTable';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayPolicyTable"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayPolicyTable" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayPolicyTable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayPolicyTable');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTransitGatewayPolicyTable');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTransitGatewayPolicyTable');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayPolicyTable' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayPolicyTable' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTransitGatewayPolicyTable"
querystring = {"TransitGatewayId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTransitGatewayPolicyTable"
queryString <- list(
TransitGatewayId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayPolicyTable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTransitGatewayPolicyTable";
let querystring = [
("TransitGatewayId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayPolicyTable'
http GET '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayPolicyTable'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayPolicyTable'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayPolicyTable")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateTransitGatewayPrefixListReference
{{baseUrl}}/#Action=CreateTransitGatewayPrefixListReference
QUERY PARAMS
TransitGatewayRouteTableId
PrefixListId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=CreateTransitGatewayPrefixListReference");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateTransitGatewayPrefixListReference" {:query-params {:TransitGatewayRouteTableId ""
:PrefixListId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=CreateTransitGatewayPrefixListReference"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=CreateTransitGatewayPrefixListReference"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=CreateTransitGatewayPrefixListReference");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=CreateTransitGatewayPrefixListReference"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=CreateTransitGatewayPrefixListReference")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=CreateTransitGatewayPrefixListReference"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=CreateTransitGatewayPrefixListReference")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=CreateTransitGatewayPrefixListReference")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=CreateTransitGatewayPrefixListReference');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayPrefixListReference',
params: {TransitGatewayRouteTableId: '', PrefixListId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=CreateTransitGatewayPrefixListReference';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=CreateTransitGatewayPrefixListReference',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=CreateTransitGatewayPrefixListReference")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayPrefixListReference',
qs: {TransitGatewayRouteTableId: '', PrefixListId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateTransitGatewayPrefixListReference');
req.query({
TransitGatewayRouteTableId: '',
PrefixListId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayPrefixListReference',
params: {TransitGatewayRouteTableId: '', PrefixListId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=CreateTransitGatewayPrefixListReference';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=CreateTransitGatewayPrefixListReference"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=CreateTransitGatewayPrefixListReference" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=CreateTransitGatewayPrefixListReference",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=CreateTransitGatewayPrefixListReference');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTransitGatewayPrefixListReference');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayRouteTableId' => '',
'PrefixListId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTransitGatewayPrefixListReference');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayRouteTableId' => '',
'PrefixListId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=CreateTransitGatewayPrefixListReference' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=CreateTransitGatewayPrefixListReference' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTransitGatewayPrefixListReference"
querystring = {"TransitGatewayRouteTableId":"","PrefixListId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTransitGatewayPrefixListReference"
queryString <- list(
TransitGatewayRouteTableId = "",
PrefixListId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=CreateTransitGatewayPrefixListReference")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayRouteTableId'] = ''
req.params['PrefixListId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTransitGatewayPrefixListReference";
let querystring = [
("TransitGatewayRouteTableId", ""),
("PrefixListId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=CreateTransitGatewayPrefixListReference'
http GET '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=CreateTransitGatewayPrefixListReference'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=CreateTransitGatewayPrefixListReference'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=CreateTransitGatewayPrefixListReference")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateTransitGatewayRoute
{{baseUrl}}/#Action=CreateTransitGatewayRoute
QUERY PARAMS
DestinationCidrBlock
TransitGatewayRouteTableId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=CreateTransitGatewayRoute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateTransitGatewayRoute" {:query-params {:DestinationCidrBlock ""
:TransitGatewayRouteTableId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=CreateTransitGatewayRoute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=CreateTransitGatewayRoute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=CreateTransitGatewayRoute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=CreateTransitGatewayRoute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=CreateTransitGatewayRoute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=CreateTransitGatewayRoute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=CreateTransitGatewayRoute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=CreateTransitGatewayRoute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=CreateTransitGatewayRoute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayRoute',
params: {
DestinationCidrBlock: '',
TransitGatewayRouteTableId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=CreateTransitGatewayRoute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=CreateTransitGatewayRoute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=CreateTransitGatewayRoute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayRoute',
qs: {
DestinationCidrBlock: '',
TransitGatewayRouteTableId: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateTransitGatewayRoute');
req.query({
DestinationCidrBlock: '',
TransitGatewayRouteTableId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayRoute',
params: {
DestinationCidrBlock: '',
TransitGatewayRouteTableId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=CreateTransitGatewayRoute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=CreateTransitGatewayRoute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=CreateTransitGatewayRoute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=CreateTransitGatewayRoute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=CreateTransitGatewayRoute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTransitGatewayRoute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'DestinationCidrBlock' => '',
'TransitGatewayRouteTableId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTransitGatewayRoute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'DestinationCidrBlock' => '',
'TransitGatewayRouteTableId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=CreateTransitGatewayRoute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=CreateTransitGatewayRoute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTransitGatewayRoute"
querystring = {"DestinationCidrBlock":"","TransitGatewayRouteTableId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTransitGatewayRoute"
queryString <- list(
DestinationCidrBlock = "",
TransitGatewayRouteTableId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=CreateTransitGatewayRoute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['DestinationCidrBlock'] = ''
req.params['TransitGatewayRouteTableId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTransitGatewayRoute";
let querystring = [
("DestinationCidrBlock", ""),
("TransitGatewayRouteTableId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=CreateTransitGatewayRoute'
http GET '{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=CreateTransitGatewayRoute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=CreateTransitGatewayRoute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=CreateTransitGatewayRoute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateTransitGatewayRouteTable
{{baseUrl}}/#Action=CreateTransitGatewayRouteTable
QUERY PARAMS
TransitGatewayId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayRouteTable");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateTransitGatewayRouteTable" {:query-params {:TransitGatewayId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayRouteTable"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayRouteTable"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayRouteTable");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayRouteTable"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayRouteTable")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayRouteTable"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayRouteTable")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayRouteTable")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayRouteTable');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayRouteTable',
params: {TransitGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayRouteTable';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayRouteTable',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayRouteTable")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayRouteTable',
qs: {TransitGatewayId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateTransitGatewayRouteTable');
req.query({
TransitGatewayId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayRouteTable',
params: {TransitGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayRouteTable';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayRouteTable"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayRouteTable" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayRouteTable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayRouteTable');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTransitGatewayRouteTable');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTransitGatewayRouteTable');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayRouteTable' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayRouteTable' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTransitGatewayRouteTable"
querystring = {"TransitGatewayId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTransitGatewayRouteTable"
queryString <- list(
TransitGatewayId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayRouteTable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTransitGatewayRouteTable";
let querystring = [
("TransitGatewayId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayRouteTable'
http GET '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayRouteTable'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayRouteTable'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=CreateTransitGatewayRouteTable")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateTransitGatewayRouteTableAnnouncement
{{baseUrl}}/#Action=CreateTransitGatewayRouteTableAnnouncement
QUERY PARAMS
TransitGatewayRouteTableId
PeeringAttachmentId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayRouteTableId=&PeeringAttachmentId=&Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateTransitGatewayRouteTableAnnouncement" {:query-params {:TransitGatewayRouteTableId ""
:PeeringAttachmentId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayRouteTableId=&PeeringAttachmentId=&Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayRouteTableId=&PeeringAttachmentId=&Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayRouteTableId=&PeeringAttachmentId=&Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayRouteTableId=&PeeringAttachmentId=&Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayRouteTableId=&PeeringAttachmentId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayRouteTableId=&PeeringAttachmentId=&Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayRouteTableId=&PeeringAttachmentId=&Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&PeeringAttachmentId=&Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayRouteTableId=&PeeringAttachmentId=&Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&PeeringAttachmentId=&Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayRouteTableAnnouncement',
params: {
TransitGatewayRouteTableId: '',
PeeringAttachmentId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&PeeringAttachmentId=&Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayRouteTableId=&PeeringAttachmentId=&Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&PeeringAttachmentId=&Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayRouteTableId=&PeeringAttachmentId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayRouteTableAnnouncement',
qs: {
TransitGatewayRouteTableId: '',
PeeringAttachmentId: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateTransitGatewayRouteTableAnnouncement');
req.query({
TransitGatewayRouteTableId: '',
PeeringAttachmentId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayRouteTableAnnouncement',
params: {
TransitGatewayRouteTableId: '',
PeeringAttachmentId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&PeeringAttachmentId=&Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayRouteTableId=&PeeringAttachmentId=&Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayRouteTableId=&PeeringAttachmentId=&Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayRouteTableId=&PeeringAttachmentId=&Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&PeeringAttachmentId=&Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTransitGatewayRouteTableAnnouncement');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayRouteTableId' => '',
'PeeringAttachmentId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTransitGatewayRouteTableAnnouncement');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayRouteTableId' => '',
'PeeringAttachmentId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&PeeringAttachmentId=&Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&PeeringAttachmentId=&Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayRouteTableId=&PeeringAttachmentId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTransitGatewayRouteTableAnnouncement"
querystring = {"TransitGatewayRouteTableId":"","PeeringAttachmentId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTransitGatewayRouteTableAnnouncement"
queryString <- list(
TransitGatewayRouteTableId = "",
PeeringAttachmentId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayRouteTableId=&PeeringAttachmentId=&Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayRouteTableId'] = ''
req.params['PeeringAttachmentId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTransitGatewayRouteTableAnnouncement";
let querystring = [
("TransitGatewayRouteTableId", ""),
("PeeringAttachmentId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayRouteTableId=&PeeringAttachmentId=&Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement'
http GET '{{baseUrl}}/?TransitGatewayRouteTableId=&PeeringAttachmentId=&Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayRouteTableId=&PeeringAttachmentId=&Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayRouteTableId=&PeeringAttachmentId=&Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateTransitGatewayVpcAttachment
{{baseUrl}}/#Action=CreateTransitGatewayVpcAttachment
QUERY PARAMS
TransitGatewayId
VpcId
SubnetIds
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayId=&VpcId=&SubnetIds=&Action=&Version=#Action=CreateTransitGatewayVpcAttachment");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateTransitGatewayVpcAttachment" {:query-params {:TransitGatewayId ""
:VpcId ""
:SubnetIds ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayId=&VpcId=&SubnetIds=&Action=&Version=#Action=CreateTransitGatewayVpcAttachment"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayId=&VpcId=&SubnetIds=&Action=&Version=#Action=CreateTransitGatewayVpcAttachment"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayId=&VpcId=&SubnetIds=&Action=&Version=#Action=CreateTransitGatewayVpcAttachment");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayId=&VpcId=&SubnetIds=&Action=&Version=#Action=CreateTransitGatewayVpcAttachment"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayId=&VpcId=&SubnetIds=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayId=&VpcId=&SubnetIds=&Action=&Version=#Action=CreateTransitGatewayVpcAttachment")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayId=&VpcId=&SubnetIds=&Action=&Version=#Action=CreateTransitGatewayVpcAttachment"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayId=&VpcId=&SubnetIds=&Action=&Version=#Action=CreateTransitGatewayVpcAttachment")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayId=&VpcId=&SubnetIds=&Action=&Version=#Action=CreateTransitGatewayVpcAttachment")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayId=&VpcId=&SubnetIds=&Action=&Version=#Action=CreateTransitGatewayVpcAttachment');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayVpcAttachment',
params: {TransitGatewayId: '', VpcId: '', SubnetIds: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayId=&VpcId=&SubnetIds=&Action=&Version=#Action=CreateTransitGatewayVpcAttachment';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayId=&VpcId=&SubnetIds=&Action=&Version=#Action=CreateTransitGatewayVpcAttachment',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayId=&VpcId=&SubnetIds=&Action=&Version=#Action=CreateTransitGatewayVpcAttachment")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayId=&VpcId=&SubnetIds=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayVpcAttachment',
qs: {TransitGatewayId: '', VpcId: '', SubnetIds: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateTransitGatewayVpcAttachment');
req.query({
TransitGatewayId: '',
VpcId: '',
SubnetIds: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateTransitGatewayVpcAttachment',
params: {TransitGatewayId: '', VpcId: '', SubnetIds: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayId=&VpcId=&SubnetIds=&Action=&Version=#Action=CreateTransitGatewayVpcAttachment';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayId=&VpcId=&SubnetIds=&Action=&Version=#Action=CreateTransitGatewayVpcAttachment"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayId=&VpcId=&SubnetIds=&Action=&Version=#Action=CreateTransitGatewayVpcAttachment" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayId=&VpcId=&SubnetIds=&Action=&Version=#Action=CreateTransitGatewayVpcAttachment",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayId=&VpcId=&SubnetIds=&Action=&Version=#Action=CreateTransitGatewayVpcAttachment');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTransitGatewayVpcAttachment');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayId' => '',
'VpcId' => '',
'SubnetIds' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTransitGatewayVpcAttachment');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayId' => '',
'VpcId' => '',
'SubnetIds' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayId=&VpcId=&SubnetIds=&Action=&Version=#Action=CreateTransitGatewayVpcAttachment' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayId=&VpcId=&SubnetIds=&Action=&Version=#Action=CreateTransitGatewayVpcAttachment' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayId=&VpcId=&SubnetIds=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTransitGatewayVpcAttachment"
querystring = {"TransitGatewayId":"","VpcId":"","SubnetIds":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTransitGatewayVpcAttachment"
queryString <- list(
TransitGatewayId = "",
VpcId = "",
SubnetIds = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayId=&VpcId=&SubnetIds=&Action=&Version=#Action=CreateTransitGatewayVpcAttachment")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayId'] = ''
req.params['VpcId'] = ''
req.params['SubnetIds'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTransitGatewayVpcAttachment";
let querystring = [
("TransitGatewayId", ""),
("VpcId", ""),
("SubnetIds", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayId=&VpcId=&SubnetIds=&Action=&Version=#Action=CreateTransitGatewayVpcAttachment'
http GET '{{baseUrl}}/?TransitGatewayId=&VpcId=&SubnetIds=&Action=&Version=#Action=CreateTransitGatewayVpcAttachment'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayId=&VpcId=&SubnetIds=&Action=&Version=#Action=CreateTransitGatewayVpcAttachment'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayId=&VpcId=&SubnetIds=&Action=&Version=#Action=CreateTransitGatewayVpcAttachment")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateVerifiedAccessEndpoint
{{baseUrl}}/#Action=CreateVerifiedAccessEndpoint
QUERY PARAMS
VerifiedAccessGroupId
EndpointType
AttachmentType
DomainCertificateArn
ApplicationDomain
EndpointDomainPrefix
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VerifiedAccessGroupId=&EndpointType=&AttachmentType=&DomainCertificateArn=&ApplicationDomain=&EndpointDomainPrefix=&Action=&Version=#Action=CreateVerifiedAccessEndpoint");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateVerifiedAccessEndpoint" {:query-params {:VerifiedAccessGroupId ""
:EndpointType ""
:AttachmentType ""
:DomainCertificateArn ""
:ApplicationDomain ""
:EndpointDomainPrefix ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VerifiedAccessGroupId=&EndpointType=&AttachmentType=&DomainCertificateArn=&ApplicationDomain=&EndpointDomainPrefix=&Action=&Version=#Action=CreateVerifiedAccessEndpoint"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VerifiedAccessGroupId=&EndpointType=&AttachmentType=&DomainCertificateArn=&ApplicationDomain=&EndpointDomainPrefix=&Action=&Version=#Action=CreateVerifiedAccessEndpoint"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VerifiedAccessGroupId=&EndpointType=&AttachmentType=&DomainCertificateArn=&ApplicationDomain=&EndpointDomainPrefix=&Action=&Version=#Action=CreateVerifiedAccessEndpoint");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VerifiedAccessGroupId=&EndpointType=&AttachmentType=&DomainCertificateArn=&ApplicationDomain=&EndpointDomainPrefix=&Action=&Version=#Action=CreateVerifiedAccessEndpoint"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VerifiedAccessGroupId=&EndpointType=&AttachmentType=&DomainCertificateArn=&ApplicationDomain=&EndpointDomainPrefix=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VerifiedAccessGroupId=&EndpointType=&AttachmentType=&DomainCertificateArn=&ApplicationDomain=&EndpointDomainPrefix=&Action=&Version=#Action=CreateVerifiedAccessEndpoint")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VerifiedAccessGroupId=&EndpointType=&AttachmentType=&DomainCertificateArn=&ApplicationDomain=&EndpointDomainPrefix=&Action=&Version=#Action=CreateVerifiedAccessEndpoint"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessGroupId=&EndpointType=&AttachmentType=&DomainCertificateArn=&ApplicationDomain=&EndpointDomainPrefix=&Action=&Version=#Action=CreateVerifiedAccessEndpoint")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VerifiedAccessGroupId=&EndpointType=&AttachmentType=&DomainCertificateArn=&ApplicationDomain=&EndpointDomainPrefix=&Action=&Version=#Action=CreateVerifiedAccessEndpoint")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VerifiedAccessGroupId=&EndpointType=&AttachmentType=&DomainCertificateArn=&ApplicationDomain=&EndpointDomainPrefix=&Action=&Version=#Action=CreateVerifiedAccessEndpoint');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVerifiedAccessEndpoint',
params: {
VerifiedAccessGroupId: '',
EndpointType: '',
AttachmentType: '',
DomainCertificateArn: '',
ApplicationDomain: '',
EndpointDomainPrefix: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VerifiedAccessGroupId=&EndpointType=&AttachmentType=&DomainCertificateArn=&ApplicationDomain=&EndpointDomainPrefix=&Action=&Version=#Action=CreateVerifiedAccessEndpoint';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VerifiedAccessGroupId=&EndpointType=&AttachmentType=&DomainCertificateArn=&ApplicationDomain=&EndpointDomainPrefix=&Action=&Version=#Action=CreateVerifiedAccessEndpoint',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessGroupId=&EndpointType=&AttachmentType=&DomainCertificateArn=&ApplicationDomain=&EndpointDomainPrefix=&Action=&Version=#Action=CreateVerifiedAccessEndpoint")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VerifiedAccessGroupId=&EndpointType=&AttachmentType=&DomainCertificateArn=&ApplicationDomain=&EndpointDomainPrefix=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVerifiedAccessEndpoint',
qs: {
VerifiedAccessGroupId: '',
EndpointType: '',
AttachmentType: '',
DomainCertificateArn: '',
ApplicationDomain: '',
EndpointDomainPrefix: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateVerifiedAccessEndpoint');
req.query({
VerifiedAccessGroupId: '',
EndpointType: '',
AttachmentType: '',
DomainCertificateArn: '',
ApplicationDomain: '',
EndpointDomainPrefix: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVerifiedAccessEndpoint',
params: {
VerifiedAccessGroupId: '',
EndpointType: '',
AttachmentType: '',
DomainCertificateArn: '',
ApplicationDomain: '',
EndpointDomainPrefix: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VerifiedAccessGroupId=&EndpointType=&AttachmentType=&DomainCertificateArn=&ApplicationDomain=&EndpointDomainPrefix=&Action=&Version=#Action=CreateVerifiedAccessEndpoint';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VerifiedAccessGroupId=&EndpointType=&AttachmentType=&DomainCertificateArn=&ApplicationDomain=&EndpointDomainPrefix=&Action=&Version=#Action=CreateVerifiedAccessEndpoint"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VerifiedAccessGroupId=&EndpointType=&AttachmentType=&DomainCertificateArn=&ApplicationDomain=&EndpointDomainPrefix=&Action=&Version=#Action=CreateVerifiedAccessEndpoint" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VerifiedAccessGroupId=&EndpointType=&AttachmentType=&DomainCertificateArn=&ApplicationDomain=&EndpointDomainPrefix=&Action=&Version=#Action=CreateVerifiedAccessEndpoint",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VerifiedAccessGroupId=&EndpointType=&AttachmentType=&DomainCertificateArn=&ApplicationDomain=&EndpointDomainPrefix=&Action=&Version=#Action=CreateVerifiedAccessEndpoint');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateVerifiedAccessEndpoint');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VerifiedAccessGroupId' => '',
'EndpointType' => '',
'AttachmentType' => '',
'DomainCertificateArn' => '',
'ApplicationDomain' => '',
'EndpointDomainPrefix' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateVerifiedAccessEndpoint');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VerifiedAccessGroupId' => '',
'EndpointType' => '',
'AttachmentType' => '',
'DomainCertificateArn' => '',
'ApplicationDomain' => '',
'EndpointDomainPrefix' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VerifiedAccessGroupId=&EndpointType=&AttachmentType=&DomainCertificateArn=&ApplicationDomain=&EndpointDomainPrefix=&Action=&Version=#Action=CreateVerifiedAccessEndpoint' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VerifiedAccessGroupId=&EndpointType=&AttachmentType=&DomainCertificateArn=&ApplicationDomain=&EndpointDomainPrefix=&Action=&Version=#Action=CreateVerifiedAccessEndpoint' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VerifiedAccessGroupId=&EndpointType=&AttachmentType=&DomainCertificateArn=&ApplicationDomain=&EndpointDomainPrefix=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateVerifiedAccessEndpoint"
querystring = {"VerifiedAccessGroupId":"","EndpointType":"","AttachmentType":"","DomainCertificateArn":"","ApplicationDomain":"","EndpointDomainPrefix":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateVerifiedAccessEndpoint"
queryString <- list(
VerifiedAccessGroupId = "",
EndpointType = "",
AttachmentType = "",
DomainCertificateArn = "",
ApplicationDomain = "",
EndpointDomainPrefix = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VerifiedAccessGroupId=&EndpointType=&AttachmentType=&DomainCertificateArn=&ApplicationDomain=&EndpointDomainPrefix=&Action=&Version=#Action=CreateVerifiedAccessEndpoint")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VerifiedAccessGroupId'] = ''
req.params['EndpointType'] = ''
req.params['AttachmentType'] = ''
req.params['DomainCertificateArn'] = ''
req.params['ApplicationDomain'] = ''
req.params['EndpointDomainPrefix'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateVerifiedAccessEndpoint";
let querystring = [
("VerifiedAccessGroupId", ""),
("EndpointType", ""),
("AttachmentType", ""),
("DomainCertificateArn", ""),
("ApplicationDomain", ""),
("EndpointDomainPrefix", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VerifiedAccessGroupId=&EndpointType=&AttachmentType=&DomainCertificateArn=&ApplicationDomain=&EndpointDomainPrefix=&Action=&Version=#Action=CreateVerifiedAccessEndpoint'
http GET '{{baseUrl}}/?VerifiedAccessGroupId=&EndpointType=&AttachmentType=&DomainCertificateArn=&ApplicationDomain=&EndpointDomainPrefix=&Action=&Version=#Action=CreateVerifiedAccessEndpoint'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VerifiedAccessGroupId=&EndpointType=&AttachmentType=&DomainCertificateArn=&ApplicationDomain=&EndpointDomainPrefix=&Action=&Version=#Action=CreateVerifiedAccessEndpoint'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VerifiedAccessGroupId=&EndpointType=&AttachmentType=&DomainCertificateArn=&ApplicationDomain=&EndpointDomainPrefix=&Action=&Version=#Action=CreateVerifiedAccessEndpoint")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateVerifiedAccessGroup
{{baseUrl}}/#Action=CreateVerifiedAccessGroup
QUERY PARAMS
VerifiedAccessInstanceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=CreateVerifiedAccessGroup");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateVerifiedAccessGroup" {:query-params {:VerifiedAccessInstanceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=CreateVerifiedAccessGroup"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=CreateVerifiedAccessGroup"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=CreateVerifiedAccessGroup");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=CreateVerifiedAccessGroup"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VerifiedAccessInstanceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=CreateVerifiedAccessGroup")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=CreateVerifiedAccessGroup"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=CreateVerifiedAccessGroup")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=CreateVerifiedAccessGroup")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=CreateVerifiedAccessGroup');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVerifiedAccessGroup',
params: {VerifiedAccessInstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=CreateVerifiedAccessGroup';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=CreateVerifiedAccessGroup',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=CreateVerifiedAccessGroup")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VerifiedAccessInstanceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVerifiedAccessGroup',
qs: {VerifiedAccessInstanceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateVerifiedAccessGroup');
req.query({
VerifiedAccessInstanceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVerifiedAccessGroup',
params: {VerifiedAccessInstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=CreateVerifiedAccessGroup';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=CreateVerifiedAccessGroup"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=CreateVerifiedAccessGroup" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=CreateVerifiedAccessGroup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=CreateVerifiedAccessGroup');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateVerifiedAccessGroup');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VerifiedAccessInstanceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateVerifiedAccessGroup');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VerifiedAccessInstanceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=CreateVerifiedAccessGroup' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=CreateVerifiedAccessGroup' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VerifiedAccessInstanceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateVerifiedAccessGroup"
querystring = {"VerifiedAccessInstanceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateVerifiedAccessGroup"
queryString <- list(
VerifiedAccessInstanceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=CreateVerifiedAccessGroup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VerifiedAccessInstanceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateVerifiedAccessGroup";
let querystring = [
("VerifiedAccessInstanceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=CreateVerifiedAccessGroup'
http GET '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=CreateVerifiedAccessGroup'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=CreateVerifiedAccessGroup'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=CreateVerifiedAccessGroup")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateVerifiedAccessInstance
{{baseUrl}}/#Action=CreateVerifiedAccessInstance
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateVerifiedAccessInstance" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVerifiedAccessInstance',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVerifiedAccessInstance',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateVerifiedAccessInstance');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVerifiedAccessInstance',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateVerifiedAccessInstance');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateVerifiedAccessInstance');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateVerifiedAccessInstance"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateVerifiedAccessInstance"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateVerifiedAccessInstance";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance'
http GET '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateVerifiedAccessTrustProvider
{{baseUrl}}/#Action=CreateVerifiedAccessTrustProvider
QUERY PARAMS
TrustProviderType
PolicyReferenceName
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TrustProviderType=&PolicyReferenceName=&Action=&Version=#Action=CreateVerifiedAccessTrustProvider");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateVerifiedAccessTrustProvider" {:query-params {:TrustProviderType ""
:PolicyReferenceName ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TrustProviderType=&PolicyReferenceName=&Action=&Version=#Action=CreateVerifiedAccessTrustProvider"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TrustProviderType=&PolicyReferenceName=&Action=&Version=#Action=CreateVerifiedAccessTrustProvider"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TrustProviderType=&PolicyReferenceName=&Action=&Version=#Action=CreateVerifiedAccessTrustProvider");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TrustProviderType=&PolicyReferenceName=&Action=&Version=#Action=CreateVerifiedAccessTrustProvider"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TrustProviderType=&PolicyReferenceName=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TrustProviderType=&PolicyReferenceName=&Action=&Version=#Action=CreateVerifiedAccessTrustProvider")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TrustProviderType=&PolicyReferenceName=&Action=&Version=#Action=CreateVerifiedAccessTrustProvider"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TrustProviderType=&PolicyReferenceName=&Action=&Version=#Action=CreateVerifiedAccessTrustProvider")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TrustProviderType=&PolicyReferenceName=&Action=&Version=#Action=CreateVerifiedAccessTrustProvider")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TrustProviderType=&PolicyReferenceName=&Action=&Version=#Action=CreateVerifiedAccessTrustProvider');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVerifiedAccessTrustProvider',
params: {TrustProviderType: '', PolicyReferenceName: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TrustProviderType=&PolicyReferenceName=&Action=&Version=#Action=CreateVerifiedAccessTrustProvider';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TrustProviderType=&PolicyReferenceName=&Action=&Version=#Action=CreateVerifiedAccessTrustProvider',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TrustProviderType=&PolicyReferenceName=&Action=&Version=#Action=CreateVerifiedAccessTrustProvider")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TrustProviderType=&PolicyReferenceName=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVerifiedAccessTrustProvider',
qs: {TrustProviderType: '', PolicyReferenceName: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateVerifiedAccessTrustProvider');
req.query({
TrustProviderType: '',
PolicyReferenceName: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVerifiedAccessTrustProvider',
params: {TrustProviderType: '', PolicyReferenceName: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TrustProviderType=&PolicyReferenceName=&Action=&Version=#Action=CreateVerifiedAccessTrustProvider';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TrustProviderType=&PolicyReferenceName=&Action=&Version=#Action=CreateVerifiedAccessTrustProvider"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TrustProviderType=&PolicyReferenceName=&Action=&Version=#Action=CreateVerifiedAccessTrustProvider" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TrustProviderType=&PolicyReferenceName=&Action=&Version=#Action=CreateVerifiedAccessTrustProvider",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TrustProviderType=&PolicyReferenceName=&Action=&Version=#Action=CreateVerifiedAccessTrustProvider');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateVerifiedAccessTrustProvider');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TrustProviderType' => '',
'PolicyReferenceName' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateVerifiedAccessTrustProvider');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TrustProviderType' => '',
'PolicyReferenceName' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TrustProviderType=&PolicyReferenceName=&Action=&Version=#Action=CreateVerifiedAccessTrustProvider' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TrustProviderType=&PolicyReferenceName=&Action=&Version=#Action=CreateVerifiedAccessTrustProvider' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TrustProviderType=&PolicyReferenceName=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateVerifiedAccessTrustProvider"
querystring = {"TrustProviderType":"","PolicyReferenceName":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateVerifiedAccessTrustProvider"
queryString <- list(
TrustProviderType = "",
PolicyReferenceName = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TrustProviderType=&PolicyReferenceName=&Action=&Version=#Action=CreateVerifiedAccessTrustProvider")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TrustProviderType'] = ''
req.params['PolicyReferenceName'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateVerifiedAccessTrustProvider";
let querystring = [
("TrustProviderType", ""),
("PolicyReferenceName", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TrustProviderType=&PolicyReferenceName=&Action=&Version=#Action=CreateVerifiedAccessTrustProvider'
http GET '{{baseUrl}}/?TrustProviderType=&PolicyReferenceName=&Action=&Version=#Action=CreateVerifiedAccessTrustProvider'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TrustProviderType=&PolicyReferenceName=&Action=&Version=#Action=CreateVerifiedAccessTrustProvider'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TrustProviderType=&PolicyReferenceName=&Action=&Version=#Action=CreateVerifiedAccessTrustProvider")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateVolume
{{baseUrl}}/#Action=CreateVolume
QUERY PARAMS
AvailabilityZone
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateVolume");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateVolume" {:query-params {:AvailabilityZone ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateVolume"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateVolume"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateVolume");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateVolume"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?AvailabilityZone=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateVolume")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateVolume"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateVolume")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateVolume")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateVolume');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVolume',
params: {AvailabilityZone: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateVolume';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateVolume',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateVolume")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?AvailabilityZone=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVolume',
qs: {AvailabilityZone: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateVolume');
req.query({
AvailabilityZone: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVolume',
params: {AvailabilityZone: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateVolume';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateVolume"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateVolume" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateVolume",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateVolume');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateVolume');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'AvailabilityZone' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateVolume');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'AvailabilityZone' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateVolume' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateVolume' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?AvailabilityZone=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateVolume"
querystring = {"AvailabilityZone":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateVolume"
queryString <- list(
AvailabilityZone = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateVolume")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['AvailabilityZone'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateVolume";
let querystring = [
("AvailabilityZone", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateVolume'
http GET '{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateVolume'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateVolume'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?AvailabilityZone=&Action=&Version=#Action=CreateVolume")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"Attachments": [],
"AvailabilityZone": "us-east-1a",
"CreateTime": "2016-08-29T18:52:32.724Z",
"Iops": 1000,
"Size": 500,
"SnapshotId": "snap-066877671789bd71b",
"State": "creating",
"Tags": [],
"VolumeId": "vol-1234567890abcdef0",
"VolumeType": "io1"
}
GET
GET_CreateVpc
{{baseUrl}}/#Action=CreateVpc
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateVpc");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateVpc" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateVpc"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateVpc"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateVpc");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateVpc"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=CreateVpc")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateVpc"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVpc")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=CreateVpc")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=CreateVpc');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVpc',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVpc';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateVpc',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVpc")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVpc',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateVpc');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVpc',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVpc';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateVpc"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateVpc" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateVpc",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=CreateVpc');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateVpc');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateVpc');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVpc' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVpc' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateVpc"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateVpc"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateVpc")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateVpc";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateVpc'
http GET '{{baseUrl}}/?Action=&Version=#Action=CreateVpc'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateVpc'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateVpc")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"Vpc": {
"CidrBlock": "10.0.0.0/16",
"DhcpOptionsId": "dopt-7a8b9c2d",
"InstanceTenancy": "default",
"State": "pending",
"VpcId": "vpc-a01106c2"
}
}
GET
GET_CreateVpcEndpoint
{{baseUrl}}/#Action=CreateVpcEndpoint
QUERY PARAMS
VpcId
ServiceName
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpcId=&ServiceName=&Action=&Version=#Action=CreateVpcEndpoint");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateVpcEndpoint" {:query-params {:VpcId ""
:ServiceName ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpcId=&ServiceName=&Action=&Version=#Action=CreateVpcEndpoint"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpcId=&ServiceName=&Action=&Version=#Action=CreateVpcEndpoint"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpcId=&ServiceName=&Action=&Version=#Action=CreateVpcEndpoint");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpcId=&ServiceName=&Action=&Version=#Action=CreateVpcEndpoint"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpcId=&ServiceName=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpcId=&ServiceName=&Action=&Version=#Action=CreateVpcEndpoint")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpcId=&ServiceName=&Action=&Version=#Action=CreateVpcEndpoint"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpcId=&ServiceName=&Action=&Version=#Action=CreateVpcEndpoint")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpcId=&ServiceName=&Action=&Version=#Action=CreateVpcEndpoint")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpcId=&ServiceName=&Action=&Version=#Action=CreateVpcEndpoint');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVpcEndpoint',
params: {VpcId: '', ServiceName: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpcId=&ServiceName=&Action=&Version=#Action=CreateVpcEndpoint';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpcId=&ServiceName=&Action=&Version=#Action=CreateVpcEndpoint',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpcId=&ServiceName=&Action=&Version=#Action=CreateVpcEndpoint")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpcId=&ServiceName=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVpcEndpoint',
qs: {VpcId: '', ServiceName: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateVpcEndpoint');
req.query({
VpcId: '',
ServiceName: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVpcEndpoint',
params: {VpcId: '', ServiceName: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpcId=&ServiceName=&Action=&Version=#Action=CreateVpcEndpoint';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpcId=&ServiceName=&Action=&Version=#Action=CreateVpcEndpoint"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpcId=&ServiceName=&Action=&Version=#Action=CreateVpcEndpoint" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpcId=&ServiceName=&Action=&Version=#Action=CreateVpcEndpoint",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpcId=&ServiceName=&Action=&Version=#Action=CreateVpcEndpoint');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateVpcEndpoint');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpcId' => '',
'ServiceName' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateVpcEndpoint');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpcId' => '',
'ServiceName' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpcId=&ServiceName=&Action=&Version=#Action=CreateVpcEndpoint' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpcId=&ServiceName=&Action=&Version=#Action=CreateVpcEndpoint' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpcId=&ServiceName=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateVpcEndpoint"
querystring = {"VpcId":"","ServiceName":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateVpcEndpoint"
queryString <- list(
VpcId = "",
ServiceName = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpcId=&ServiceName=&Action=&Version=#Action=CreateVpcEndpoint")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpcId'] = ''
req.params['ServiceName'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateVpcEndpoint";
let querystring = [
("VpcId", ""),
("ServiceName", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpcId=&ServiceName=&Action=&Version=#Action=CreateVpcEndpoint'
http GET '{{baseUrl}}/?VpcId=&ServiceName=&Action=&Version=#Action=CreateVpcEndpoint'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpcId=&ServiceName=&Action=&Version=#Action=CreateVpcEndpoint'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpcId=&ServiceName=&Action=&Version=#Action=CreateVpcEndpoint")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateVpcEndpointConnectionNotification
{{baseUrl}}/#Action=CreateVpcEndpointConnectionNotification
QUERY PARAMS
ConnectionNotificationArn
ConnectionEvents
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ConnectionNotificationArn=&ConnectionEvents=&Action=&Version=#Action=CreateVpcEndpointConnectionNotification");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateVpcEndpointConnectionNotification" {:query-params {:ConnectionNotificationArn ""
:ConnectionEvents ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ConnectionNotificationArn=&ConnectionEvents=&Action=&Version=#Action=CreateVpcEndpointConnectionNotification"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ConnectionNotificationArn=&ConnectionEvents=&Action=&Version=#Action=CreateVpcEndpointConnectionNotification"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ConnectionNotificationArn=&ConnectionEvents=&Action=&Version=#Action=CreateVpcEndpointConnectionNotification");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ConnectionNotificationArn=&ConnectionEvents=&Action=&Version=#Action=CreateVpcEndpointConnectionNotification"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ConnectionNotificationArn=&ConnectionEvents=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ConnectionNotificationArn=&ConnectionEvents=&Action=&Version=#Action=CreateVpcEndpointConnectionNotification")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ConnectionNotificationArn=&ConnectionEvents=&Action=&Version=#Action=CreateVpcEndpointConnectionNotification"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ConnectionNotificationArn=&ConnectionEvents=&Action=&Version=#Action=CreateVpcEndpointConnectionNotification")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ConnectionNotificationArn=&ConnectionEvents=&Action=&Version=#Action=CreateVpcEndpointConnectionNotification")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ConnectionNotificationArn=&ConnectionEvents=&Action=&Version=#Action=CreateVpcEndpointConnectionNotification');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVpcEndpointConnectionNotification',
params: {ConnectionNotificationArn: '', ConnectionEvents: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ConnectionNotificationArn=&ConnectionEvents=&Action=&Version=#Action=CreateVpcEndpointConnectionNotification';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ConnectionNotificationArn=&ConnectionEvents=&Action=&Version=#Action=CreateVpcEndpointConnectionNotification',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ConnectionNotificationArn=&ConnectionEvents=&Action=&Version=#Action=CreateVpcEndpointConnectionNotification")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ConnectionNotificationArn=&ConnectionEvents=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVpcEndpointConnectionNotification',
qs: {ConnectionNotificationArn: '', ConnectionEvents: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateVpcEndpointConnectionNotification');
req.query({
ConnectionNotificationArn: '',
ConnectionEvents: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVpcEndpointConnectionNotification',
params: {ConnectionNotificationArn: '', ConnectionEvents: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ConnectionNotificationArn=&ConnectionEvents=&Action=&Version=#Action=CreateVpcEndpointConnectionNotification';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ConnectionNotificationArn=&ConnectionEvents=&Action=&Version=#Action=CreateVpcEndpointConnectionNotification"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ConnectionNotificationArn=&ConnectionEvents=&Action=&Version=#Action=CreateVpcEndpointConnectionNotification" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ConnectionNotificationArn=&ConnectionEvents=&Action=&Version=#Action=CreateVpcEndpointConnectionNotification",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ConnectionNotificationArn=&ConnectionEvents=&Action=&Version=#Action=CreateVpcEndpointConnectionNotification');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateVpcEndpointConnectionNotification');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ConnectionNotificationArn' => '',
'ConnectionEvents' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateVpcEndpointConnectionNotification');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ConnectionNotificationArn' => '',
'ConnectionEvents' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ConnectionNotificationArn=&ConnectionEvents=&Action=&Version=#Action=CreateVpcEndpointConnectionNotification' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ConnectionNotificationArn=&ConnectionEvents=&Action=&Version=#Action=CreateVpcEndpointConnectionNotification' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ConnectionNotificationArn=&ConnectionEvents=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateVpcEndpointConnectionNotification"
querystring = {"ConnectionNotificationArn":"","ConnectionEvents":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateVpcEndpointConnectionNotification"
queryString <- list(
ConnectionNotificationArn = "",
ConnectionEvents = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ConnectionNotificationArn=&ConnectionEvents=&Action=&Version=#Action=CreateVpcEndpointConnectionNotification")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ConnectionNotificationArn'] = ''
req.params['ConnectionEvents'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateVpcEndpointConnectionNotification";
let querystring = [
("ConnectionNotificationArn", ""),
("ConnectionEvents", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ConnectionNotificationArn=&ConnectionEvents=&Action=&Version=#Action=CreateVpcEndpointConnectionNotification'
http GET '{{baseUrl}}/?ConnectionNotificationArn=&ConnectionEvents=&Action=&Version=#Action=CreateVpcEndpointConnectionNotification'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ConnectionNotificationArn=&ConnectionEvents=&Action=&Version=#Action=CreateVpcEndpointConnectionNotification'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ConnectionNotificationArn=&ConnectionEvents=&Action=&Version=#Action=CreateVpcEndpointConnectionNotification")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateVpcEndpointServiceConfiguration
{{baseUrl}}/#Action=CreateVpcEndpointServiceConfiguration
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateVpcEndpointServiceConfiguration" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVpcEndpointServiceConfiguration',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVpcEndpointServiceConfiguration',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateVpcEndpointServiceConfiguration');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVpcEndpointServiceConfiguration',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateVpcEndpointServiceConfiguration');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateVpcEndpointServiceConfiguration');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateVpcEndpointServiceConfiguration"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateVpcEndpointServiceConfiguration"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateVpcEndpointServiceConfiguration";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration'
http GET '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateVpcPeeringConnection
{{baseUrl}}/#Action=CreateVpcPeeringConnection
QUERY PARAMS
VpcId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateVpcPeeringConnection");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateVpcPeeringConnection" {:query-params {:VpcId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateVpcPeeringConnection"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateVpcPeeringConnection"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateVpcPeeringConnection");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateVpcPeeringConnection"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpcId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateVpcPeeringConnection")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateVpcPeeringConnection"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateVpcPeeringConnection")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateVpcPeeringConnection")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateVpcPeeringConnection');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVpcPeeringConnection',
params: {VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateVpcPeeringConnection';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateVpcPeeringConnection',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateVpcPeeringConnection")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpcId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVpcPeeringConnection',
qs: {VpcId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateVpcPeeringConnection');
req.query({
VpcId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVpcPeeringConnection',
params: {VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateVpcPeeringConnection';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateVpcPeeringConnection"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateVpcPeeringConnection" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateVpcPeeringConnection",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateVpcPeeringConnection');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateVpcPeeringConnection');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpcId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateVpcPeeringConnection');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpcId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateVpcPeeringConnection' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateVpcPeeringConnection' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpcId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateVpcPeeringConnection"
querystring = {"VpcId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateVpcPeeringConnection"
queryString <- list(
VpcId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateVpcPeeringConnection")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpcId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateVpcPeeringConnection";
let querystring = [
("VpcId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateVpcPeeringConnection'
http GET '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateVpcPeeringConnection'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateVpcPeeringConnection'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpcId=&Action=&Version=#Action=CreateVpcPeeringConnection")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateVpnConnection
{{baseUrl}}/#Action=CreateVpnConnection
QUERY PARAMS
CustomerGatewayId
Type
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?CustomerGatewayId=&Type=&Action=&Version=#Action=CreateVpnConnection");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateVpnConnection" {:query-params {:CustomerGatewayId ""
:Type ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?CustomerGatewayId=&Type=&Action=&Version=#Action=CreateVpnConnection"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?CustomerGatewayId=&Type=&Action=&Version=#Action=CreateVpnConnection"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?CustomerGatewayId=&Type=&Action=&Version=#Action=CreateVpnConnection");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?CustomerGatewayId=&Type=&Action=&Version=#Action=CreateVpnConnection"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?CustomerGatewayId=&Type=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?CustomerGatewayId=&Type=&Action=&Version=#Action=CreateVpnConnection")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?CustomerGatewayId=&Type=&Action=&Version=#Action=CreateVpnConnection"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?CustomerGatewayId=&Type=&Action=&Version=#Action=CreateVpnConnection")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?CustomerGatewayId=&Type=&Action=&Version=#Action=CreateVpnConnection")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?CustomerGatewayId=&Type=&Action=&Version=#Action=CreateVpnConnection');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVpnConnection',
params: {CustomerGatewayId: '', Type: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?CustomerGatewayId=&Type=&Action=&Version=#Action=CreateVpnConnection';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?CustomerGatewayId=&Type=&Action=&Version=#Action=CreateVpnConnection',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?CustomerGatewayId=&Type=&Action=&Version=#Action=CreateVpnConnection")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?CustomerGatewayId=&Type=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVpnConnection',
qs: {CustomerGatewayId: '', Type: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateVpnConnection');
req.query({
CustomerGatewayId: '',
Type: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVpnConnection',
params: {CustomerGatewayId: '', Type: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?CustomerGatewayId=&Type=&Action=&Version=#Action=CreateVpnConnection';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?CustomerGatewayId=&Type=&Action=&Version=#Action=CreateVpnConnection"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?CustomerGatewayId=&Type=&Action=&Version=#Action=CreateVpnConnection" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?CustomerGatewayId=&Type=&Action=&Version=#Action=CreateVpnConnection",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?CustomerGatewayId=&Type=&Action=&Version=#Action=CreateVpnConnection');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateVpnConnection');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'CustomerGatewayId' => '',
'Type' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateVpnConnection');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'CustomerGatewayId' => '',
'Type' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?CustomerGatewayId=&Type=&Action=&Version=#Action=CreateVpnConnection' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?CustomerGatewayId=&Type=&Action=&Version=#Action=CreateVpnConnection' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?CustomerGatewayId=&Type=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateVpnConnection"
querystring = {"CustomerGatewayId":"","Type":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateVpnConnection"
queryString <- list(
CustomerGatewayId = "",
Type = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?CustomerGatewayId=&Type=&Action=&Version=#Action=CreateVpnConnection")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['CustomerGatewayId'] = ''
req.params['Type'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateVpnConnection";
let querystring = [
("CustomerGatewayId", ""),
("Type", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?CustomerGatewayId=&Type=&Action=&Version=#Action=CreateVpnConnection'
http GET '{{baseUrl}}/?CustomerGatewayId=&Type=&Action=&Version=#Action=CreateVpnConnection'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?CustomerGatewayId=&Type=&Action=&Version=#Action=CreateVpnConnection'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?CustomerGatewayId=&Type=&Action=&Version=#Action=CreateVpnConnection")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateVpnConnectionRoute
{{baseUrl}}/#Action=CreateVpnConnectionRoute
QUERY PARAMS
DestinationCidrBlock
VpnConnectionId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=CreateVpnConnectionRoute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateVpnConnectionRoute" {:query-params {:DestinationCidrBlock ""
:VpnConnectionId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=CreateVpnConnectionRoute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=CreateVpnConnectionRoute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=CreateVpnConnectionRoute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=CreateVpnConnectionRoute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=CreateVpnConnectionRoute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=CreateVpnConnectionRoute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=CreateVpnConnectionRoute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=CreateVpnConnectionRoute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=CreateVpnConnectionRoute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVpnConnectionRoute',
params: {DestinationCidrBlock: '', VpnConnectionId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=CreateVpnConnectionRoute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=CreateVpnConnectionRoute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=CreateVpnConnectionRoute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVpnConnectionRoute',
qs: {DestinationCidrBlock: '', VpnConnectionId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateVpnConnectionRoute');
req.query({
DestinationCidrBlock: '',
VpnConnectionId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVpnConnectionRoute',
params: {DestinationCidrBlock: '', VpnConnectionId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=CreateVpnConnectionRoute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=CreateVpnConnectionRoute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=CreateVpnConnectionRoute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=CreateVpnConnectionRoute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=CreateVpnConnectionRoute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateVpnConnectionRoute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'DestinationCidrBlock' => '',
'VpnConnectionId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateVpnConnectionRoute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'DestinationCidrBlock' => '',
'VpnConnectionId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=CreateVpnConnectionRoute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=CreateVpnConnectionRoute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateVpnConnectionRoute"
querystring = {"DestinationCidrBlock":"","VpnConnectionId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateVpnConnectionRoute"
queryString <- list(
DestinationCidrBlock = "",
VpnConnectionId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=CreateVpnConnectionRoute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['DestinationCidrBlock'] = ''
req.params['VpnConnectionId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateVpnConnectionRoute";
let querystring = [
("DestinationCidrBlock", ""),
("VpnConnectionId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=CreateVpnConnectionRoute'
http GET '{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=CreateVpnConnectionRoute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=CreateVpnConnectionRoute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=CreateVpnConnectionRoute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_CreateVpnGateway
{{baseUrl}}/#Action=CreateVpnGateway
QUERY PARAMS
Type
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Type=&Action=&Version=#Action=CreateVpnGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=CreateVpnGateway" {:query-params {:Type ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Type=&Action=&Version=#Action=CreateVpnGateway"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Type=&Action=&Version=#Action=CreateVpnGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Type=&Action=&Version=#Action=CreateVpnGateway");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Type=&Action=&Version=#Action=CreateVpnGateway"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Type=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Type=&Action=&Version=#Action=CreateVpnGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Type=&Action=&Version=#Action=CreateVpnGateway"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Type=&Action=&Version=#Action=CreateVpnGateway")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Type=&Action=&Version=#Action=CreateVpnGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Type=&Action=&Version=#Action=CreateVpnGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVpnGateway',
params: {Type: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Type=&Action=&Version=#Action=CreateVpnGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Type=&Action=&Version=#Action=CreateVpnGateway',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Type=&Action=&Version=#Action=CreateVpnGateway")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Type=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVpnGateway',
qs: {Type: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=CreateVpnGateway');
req.query({
Type: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=CreateVpnGateway',
params: {Type: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Type=&Action=&Version=#Action=CreateVpnGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Type=&Action=&Version=#Action=CreateVpnGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Type=&Action=&Version=#Action=CreateVpnGateway" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Type=&Action=&Version=#Action=CreateVpnGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Type=&Action=&Version=#Action=CreateVpnGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateVpnGateway');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Type' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateVpnGateway');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Type' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Type=&Action=&Version=#Action=CreateVpnGateway' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Type=&Action=&Version=#Action=CreateVpnGateway' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Type=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateVpnGateway"
querystring = {"Type":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateVpnGateway"
queryString <- list(
Type = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Type=&Action=&Version=#Action=CreateVpnGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Type'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateVpnGateway";
let querystring = [
("Type", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Type=&Action=&Version=#Action=CreateVpnGateway'
http GET '{{baseUrl}}/?Type=&Action=&Version=#Action=CreateVpnGateway'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Type=&Action=&Version=#Action=CreateVpnGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Type=&Action=&Version=#Action=CreateVpnGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteCarrierGateway
{{baseUrl}}/#Action=DeleteCarrierGateway
QUERY PARAMS
CarrierGatewayId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?CarrierGatewayId=&Action=&Version=#Action=DeleteCarrierGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteCarrierGateway" {:query-params {:CarrierGatewayId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?CarrierGatewayId=&Action=&Version=#Action=DeleteCarrierGateway"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?CarrierGatewayId=&Action=&Version=#Action=DeleteCarrierGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?CarrierGatewayId=&Action=&Version=#Action=DeleteCarrierGateway");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?CarrierGatewayId=&Action=&Version=#Action=DeleteCarrierGateway"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?CarrierGatewayId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?CarrierGatewayId=&Action=&Version=#Action=DeleteCarrierGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?CarrierGatewayId=&Action=&Version=#Action=DeleteCarrierGateway"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?CarrierGatewayId=&Action=&Version=#Action=DeleteCarrierGateway")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?CarrierGatewayId=&Action=&Version=#Action=DeleteCarrierGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?CarrierGatewayId=&Action=&Version=#Action=DeleteCarrierGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteCarrierGateway',
params: {CarrierGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?CarrierGatewayId=&Action=&Version=#Action=DeleteCarrierGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?CarrierGatewayId=&Action=&Version=#Action=DeleteCarrierGateway',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?CarrierGatewayId=&Action=&Version=#Action=DeleteCarrierGateway")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?CarrierGatewayId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteCarrierGateway',
qs: {CarrierGatewayId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteCarrierGateway');
req.query({
CarrierGatewayId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteCarrierGateway',
params: {CarrierGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?CarrierGatewayId=&Action=&Version=#Action=DeleteCarrierGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?CarrierGatewayId=&Action=&Version=#Action=DeleteCarrierGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?CarrierGatewayId=&Action=&Version=#Action=DeleteCarrierGateway" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?CarrierGatewayId=&Action=&Version=#Action=DeleteCarrierGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?CarrierGatewayId=&Action=&Version=#Action=DeleteCarrierGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteCarrierGateway');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'CarrierGatewayId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteCarrierGateway');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'CarrierGatewayId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?CarrierGatewayId=&Action=&Version=#Action=DeleteCarrierGateway' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?CarrierGatewayId=&Action=&Version=#Action=DeleteCarrierGateway' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?CarrierGatewayId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteCarrierGateway"
querystring = {"CarrierGatewayId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteCarrierGateway"
queryString <- list(
CarrierGatewayId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?CarrierGatewayId=&Action=&Version=#Action=DeleteCarrierGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['CarrierGatewayId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteCarrierGateway";
let querystring = [
("CarrierGatewayId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?CarrierGatewayId=&Action=&Version=#Action=DeleteCarrierGateway'
http GET '{{baseUrl}}/?CarrierGatewayId=&Action=&Version=#Action=DeleteCarrierGateway'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?CarrierGatewayId=&Action=&Version=#Action=DeleteCarrierGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?CarrierGatewayId=&Action=&Version=#Action=DeleteCarrierGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteClientVpnEndpoint
{{baseUrl}}/#Action=DeleteClientVpnEndpoint
QUERY PARAMS
ClientVpnEndpointId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DeleteClientVpnEndpoint");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteClientVpnEndpoint" {:query-params {:ClientVpnEndpointId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DeleteClientVpnEndpoint"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DeleteClientVpnEndpoint"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DeleteClientVpnEndpoint");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DeleteClientVpnEndpoint"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ClientVpnEndpointId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DeleteClientVpnEndpoint")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DeleteClientVpnEndpoint"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DeleteClientVpnEndpoint")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DeleteClientVpnEndpoint")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DeleteClientVpnEndpoint');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteClientVpnEndpoint',
params: {ClientVpnEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DeleteClientVpnEndpoint';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DeleteClientVpnEndpoint',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DeleteClientVpnEndpoint")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ClientVpnEndpointId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteClientVpnEndpoint',
qs: {ClientVpnEndpointId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteClientVpnEndpoint');
req.query({
ClientVpnEndpointId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteClientVpnEndpoint',
params: {ClientVpnEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DeleteClientVpnEndpoint';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DeleteClientVpnEndpoint"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DeleteClientVpnEndpoint" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DeleteClientVpnEndpoint",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DeleteClientVpnEndpoint');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteClientVpnEndpoint');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ClientVpnEndpointId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteClientVpnEndpoint');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ClientVpnEndpointId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DeleteClientVpnEndpoint' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DeleteClientVpnEndpoint' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ClientVpnEndpointId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteClientVpnEndpoint"
querystring = {"ClientVpnEndpointId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteClientVpnEndpoint"
queryString <- list(
ClientVpnEndpointId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DeleteClientVpnEndpoint")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ClientVpnEndpointId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteClientVpnEndpoint";
let querystring = [
("ClientVpnEndpointId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DeleteClientVpnEndpoint'
http GET '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DeleteClientVpnEndpoint'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DeleteClientVpnEndpoint'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DeleteClientVpnEndpoint")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteClientVpnRoute
{{baseUrl}}/#Action=DeleteClientVpnRoute
QUERY PARAMS
ClientVpnEndpointId
DestinationCidrBlock
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteClientVpnRoute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteClientVpnRoute" {:query-params {:ClientVpnEndpointId ""
:DestinationCidrBlock ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteClientVpnRoute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteClientVpnRoute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteClientVpnRoute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteClientVpnRoute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ClientVpnEndpointId=&DestinationCidrBlock=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteClientVpnRoute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteClientVpnRoute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteClientVpnRoute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteClientVpnRoute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteClientVpnRoute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteClientVpnRoute',
params: {ClientVpnEndpointId: '', DestinationCidrBlock: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteClientVpnRoute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteClientVpnRoute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteClientVpnRoute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ClientVpnEndpointId=&DestinationCidrBlock=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteClientVpnRoute',
qs: {ClientVpnEndpointId: '', DestinationCidrBlock: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteClientVpnRoute');
req.query({
ClientVpnEndpointId: '',
DestinationCidrBlock: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteClientVpnRoute',
params: {ClientVpnEndpointId: '', DestinationCidrBlock: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteClientVpnRoute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteClientVpnRoute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteClientVpnRoute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteClientVpnRoute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteClientVpnRoute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteClientVpnRoute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ClientVpnEndpointId' => '',
'DestinationCidrBlock' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteClientVpnRoute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ClientVpnEndpointId' => '',
'DestinationCidrBlock' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteClientVpnRoute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteClientVpnRoute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ClientVpnEndpointId=&DestinationCidrBlock=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteClientVpnRoute"
querystring = {"ClientVpnEndpointId":"","DestinationCidrBlock":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteClientVpnRoute"
queryString <- list(
ClientVpnEndpointId = "",
DestinationCidrBlock = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteClientVpnRoute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ClientVpnEndpointId'] = ''
req.params['DestinationCidrBlock'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteClientVpnRoute";
let querystring = [
("ClientVpnEndpointId", ""),
("DestinationCidrBlock", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteClientVpnRoute'
http GET '{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteClientVpnRoute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteClientVpnRoute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ClientVpnEndpointId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteClientVpnRoute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteCoipCidr
{{baseUrl}}/#Action=DeleteCoipCidr
QUERY PARAMS
Cidr
CoipPoolId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=DeleteCoipCidr");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteCoipCidr" {:query-params {:Cidr ""
:CoipPoolId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=DeleteCoipCidr"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=DeleteCoipCidr"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=DeleteCoipCidr");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=DeleteCoipCidr"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Cidr=&CoipPoolId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=DeleteCoipCidr")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=DeleteCoipCidr"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=DeleteCoipCidr")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=DeleteCoipCidr")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=DeleteCoipCidr');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteCoipCidr',
params: {Cidr: '', CoipPoolId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=DeleteCoipCidr';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=DeleteCoipCidr',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=DeleteCoipCidr")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Cidr=&CoipPoolId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteCoipCidr',
qs: {Cidr: '', CoipPoolId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteCoipCidr');
req.query({
Cidr: '',
CoipPoolId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteCoipCidr',
params: {Cidr: '', CoipPoolId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=DeleteCoipCidr';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=DeleteCoipCidr"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=DeleteCoipCidr" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=DeleteCoipCidr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=DeleteCoipCidr');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteCoipCidr');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Cidr' => '',
'CoipPoolId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteCoipCidr');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Cidr' => '',
'CoipPoolId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=DeleteCoipCidr' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=DeleteCoipCidr' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Cidr=&CoipPoolId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteCoipCidr"
querystring = {"Cidr":"","CoipPoolId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteCoipCidr"
queryString <- list(
Cidr = "",
CoipPoolId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=DeleteCoipCidr")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Cidr'] = ''
req.params['CoipPoolId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteCoipCidr";
let querystring = [
("Cidr", ""),
("CoipPoolId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=DeleteCoipCidr'
http GET '{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=DeleteCoipCidr'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=DeleteCoipCidr'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Cidr=&CoipPoolId=&Action=&Version=#Action=DeleteCoipCidr")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteCoipPool
{{baseUrl}}/#Action=DeleteCoipPool
QUERY PARAMS
CoipPoolId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?CoipPoolId=&Action=&Version=#Action=DeleteCoipPool");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteCoipPool" {:query-params {:CoipPoolId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?CoipPoolId=&Action=&Version=#Action=DeleteCoipPool"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?CoipPoolId=&Action=&Version=#Action=DeleteCoipPool"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?CoipPoolId=&Action=&Version=#Action=DeleteCoipPool");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?CoipPoolId=&Action=&Version=#Action=DeleteCoipPool"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?CoipPoolId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?CoipPoolId=&Action=&Version=#Action=DeleteCoipPool")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?CoipPoolId=&Action=&Version=#Action=DeleteCoipPool"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?CoipPoolId=&Action=&Version=#Action=DeleteCoipPool")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?CoipPoolId=&Action=&Version=#Action=DeleteCoipPool")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?CoipPoolId=&Action=&Version=#Action=DeleteCoipPool');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteCoipPool',
params: {CoipPoolId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?CoipPoolId=&Action=&Version=#Action=DeleteCoipPool';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?CoipPoolId=&Action=&Version=#Action=DeleteCoipPool',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?CoipPoolId=&Action=&Version=#Action=DeleteCoipPool")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?CoipPoolId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteCoipPool',
qs: {CoipPoolId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteCoipPool');
req.query({
CoipPoolId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteCoipPool',
params: {CoipPoolId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?CoipPoolId=&Action=&Version=#Action=DeleteCoipPool';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?CoipPoolId=&Action=&Version=#Action=DeleteCoipPool"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?CoipPoolId=&Action=&Version=#Action=DeleteCoipPool" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?CoipPoolId=&Action=&Version=#Action=DeleteCoipPool",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?CoipPoolId=&Action=&Version=#Action=DeleteCoipPool');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteCoipPool');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'CoipPoolId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteCoipPool');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'CoipPoolId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?CoipPoolId=&Action=&Version=#Action=DeleteCoipPool' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?CoipPoolId=&Action=&Version=#Action=DeleteCoipPool' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?CoipPoolId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteCoipPool"
querystring = {"CoipPoolId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteCoipPool"
queryString <- list(
CoipPoolId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?CoipPoolId=&Action=&Version=#Action=DeleteCoipPool")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['CoipPoolId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteCoipPool";
let querystring = [
("CoipPoolId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?CoipPoolId=&Action=&Version=#Action=DeleteCoipPool'
http GET '{{baseUrl}}/?CoipPoolId=&Action=&Version=#Action=DeleteCoipPool'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?CoipPoolId=&Action=&Version=#Action=DeleteCoipPool'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?CoipPoolId=&Action=&Version=#Action=DeleteCoipPool")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteCustomerGateway
{{baseUrl}}/#Action=DeleteCustomerGateway
QUERY PARAMS
CustomerGatewayId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?CustomerGatewayId=&Action=&Version=#Action=DeleteCustomerGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteCustomerGateway" {:query-params {:CustomerGatewayId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?CustomerGatewayId=&Action=&Version=#Action=DeleteCustomerGateway"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?CustomerGatewayId=&Action=&Version=#Action=DeleteCustomerGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?CustomerGatewayId=&Action=&Version=#Action=DeleteCustomerGateway");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?CustomerGatewayId=&Action=&Version=#Action=DeleteCustomerGateway"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?CustomerGatewayId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?CustomerGatewayId=&Action=&Version=#Action=DeleteCustomerGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?CustomerGatewayId=&Action=&Version=#Action=DeleteCustomerGateway"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?CustomerGatewayId=&Action=&Version=#Action=DeleteCustomerGateway")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?CustomerGatewayId=&Action=&Version=#Action=DeleteCustomerGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?CustomerGatewayId=&Action=&Version=#Action=DeleteCustomerGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteCustomerGateway',
params: {CustomerGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?CustomerGatewayId=&Action=&Version=#Action=DeleteCustomerGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?CustomerGatewayId=&Action=&Version=#Action=DeleteCustomerGateway',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?CustomerGatewayId=&Action=&Version=#Action=DeleteCustomerGateway")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?CustomerGatewayId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteCustomerGateway',
qs: {CustomerGatewayId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteCustomerGateway');
req.query({
CustomerGatewayId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteCustomerGateway',
params: {CustomerGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?CustomerGatewayId=&Action=&Version=#Action=DeleteCustomerGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?CustomerGatewayId=&Action=&Version=#Action=DeleteCustomerGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?CustomerGatewayId=&Action=&Version=#Action=DeleteCustomerGateway" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?CustomerGatewayId=&Action=&Version=#Action=DeleteCustomerGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?CustomerGatewayId=&Action=&Version=#Action=DeleteCustomerGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteCustomerGateway');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'CustomerGatewayId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteCustomerGateway');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'CustomerGatewayId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?CustomerGatewayId=&Action=&Version=#Action=DeleteCustomerGateway' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?CustomerGatewayId=&Action=&Version=#Action=DeleteCustomerGateway' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?CustomerGatewayId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteCustomerGateway"
querystring = {"CustomerGatewayId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteCustomerGateway"
queryString <- list(
CustomerGatewayId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?CustomerGatewayId=&Action=&Version=#Action=DeleteCustomerGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['CustomerGatewayId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteCustomerGateway";
let querystring = [
("CustomerGatewayId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?CustomerGatewayId=&Action=&Version=#Action=DeleteCustomerGateway'
http GET '{{baseUrl}}/?CustomerGatewayId=&Action=&Version=#Action=DeleteCustomerGateway'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?CustomerGatewayId=&Action=&Version=#Action=DeleteCustomerGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?CustomerGatewayId=&Action=&Version=#Action=DeleteCustomerGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteDhcpOptions
{{baseUrl}}/#Action=DeleteDhcpOptions
QUERY PARAMS
DhcpOptionsId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?DhcpOptionsId=&Action=&Version=#Action=DeleteDhcpOptions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteDhcpOptions" {:query-params {:DhcpOptionsId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?DhcpOptionsId=&Action=&Version=#Action=DeleteDhcpOptions"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?DhcpOptionsId=&Action=&Version=#Action=DeleteDhcpOptions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?DhcpOptionsId=&Action=&Version=#Action=DeleteDhcpOptions");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?DhcpOptionsId=&Action=&Version=#Action=DeleteDhcpOptions"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?DhcpOptionsId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?DhcpOptionsId=&Action=&Version=#Action=DeleteDhcpOptions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?DhcpOptionsId=&Action=&Version=#Action=DeleteDhcpOptions"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?DhcpOptionsId=&Action=&Version=#Action=DeleteDhcpOptions")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?DhcpOptionsId=&Action=&Version=#Action=DeleteDhcpOptions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?DhcpOptionsId=&Action=&Version=#Action=DeleteDhcpOptions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteDhcpOptions',
params: {DhcpOptionsId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?DhcpOptionsId=&Action=&Version=#Action=DeleteDhcpOptions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?DhcpOptionsId=&Action=&Version=#Action=DeleteDhcpOptions',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?DhcpOptionsId=&Action=&Version=#Action=DeleteDhcpOptions")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?DhcpOptionsId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteDhcpOptions',
qs: {DhcpOptionsId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteDhcpOptions');
req.query({
DhcpOptionsId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteDhcpOptions',
params: {DhcpOptionsId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?DhcpOptionsId=&Action=&Version=#Action=DeleteDhcpOptions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?DhcpOptionsId=&Action=&Version=#Action=DeleteDhcpOptions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?DhcpOptionsId=&Action=&Version=#Action=DeleteDhcpOptions" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?DhcpOptionsId=&Action=&Version=#Action=DeleteDhcpOptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?DhcpOptionsId=&Action=&Version=#Action=DeleteDhcpOptions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteDhcpOptions');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'DhcpOptionsId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteDhcpOptions');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'DhcpOptionsId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?DhcpOptionsId=&Action=&Version=#Action=DeleteDhcpOptions' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?DhcpOptionsId=&Action=&Version=#Action=DeleteDhcpOptions' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?DhcpOptionsId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteDhcpOptions"
querystring = {"DhcpOptionsId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteDhcpOptions"
queryString <- list(
DhcpOptionsId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?DhcpOptionsId=&Action=&Version=#Action=DeleteDhcpOptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['DhcpOptionsId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteDhcpOptions";
let querystring = [
("DhcpOptionsId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?DhcpOptionsId=&Action=&Version=#Action=DeleteDhcpOptions'
http GET '{{baseUrl}}/?DhcpOptionsId=&Action=&Version=#Action=DeleteDhcpOptions'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?DhcpOptionsId=&Action=&Version=#Action=DeleteDhcpOptions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?DhcpOptionsId=&Action=&Version=#Action=DeleteDhcpOptions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteEgressOnlyInternetGateway
{{baseUrl}}/#Action=DeleteEgressOnlyInternetGateway
QUERY PARAMS
EgressOnlyInternetGatewayId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?EgressOnlyInternetGatewayId=&Action=&Version=#Action=DeleteEgressOnlyInternetGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteEgressOnlyInternetGateway" {:query-params {:EgressOnlyInternetGatewayId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?EgressOnlyInternetGatewayId=&Action=&Version=#Action=DeleteEgressOnlyInternetGateway"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?EgressOnlyInternetGatewayId=&Action=&Version=#Action=DeleteEgressOnlyInternetGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?EgressOnlyInternetGatewayId=&Action=&Version=#Action=DeleteEgressOnlyInternetGateway");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?EgressOnlyInternetGatewayId=&Action=&Version=#Action=DeleteEgressOnlyInternetGateway"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?EgressOnlyInternetGatewayId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?EgressOnlyInternetGatewayId=&Action=&Version=#Action=DeleteEgressOnlyInternetGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?EgressOnlyInternetGatewayId=&Action=&Version=#Action=DeleteEgressOnlyInternetGateway"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?EgressOnlyInternetGatewayId=&Action=&Version=#Action=DeleteEgressOnlyInternetGateway")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?EgressOnlyInternetGatewayId=&Action=&Version=#Action=DeleteEgressOnlyInternetGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?EgressOnlyInternetGatewayId=&Action=&Version=#Action=DeleteEgressOnlyInternetGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteEgressOnlyInternetGateway',
params: {EgressOnlyInternetGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?EgressOnlyInternetGatewayId=&Action=&Version=#Action=DeleteEgressOnlyInternetGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?EgressOnlyInternetGatewayId=&Action=&Version=#Action=DeleteEgressOnlyInternetGateway',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?EgressOnlyInternetGatewayId=&Action=&Version=#Action=DeleteEgressOnlyInternetGateway")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?EgressOnlyInternetGatewayId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteEgressOnlyInternetGateway',
qs: {EgressOnlyInternetGatewayId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteEgressOnlyInternetGateway');
req.query({
EgressOnlyInternetGatewayId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteEgressOnlyInternetGateway',
params: {EgressOnlyInternetGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?EgressOnlyInternetGatewayId=&Action=&Version=#Action=DeleteEgressOnlyInternetGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?EgressOnlyInternetGatewayId=&Action=&Version=#Action=DeleteEgressOnlyInternetGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?EgressOnlyInternetGatewayId=&Action=&Version=#Action=DeleteEgressOnlyInternetGateway" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?EgressOnlyInternetGatewayId=&Action=&Version=#Action=DeleteEgressOnlyInternetGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?EgressOnlyInternetGatewayId=&Action=&Version=#Action=DeleteEgressOnlyInternetGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteEgressOnlyInternetGateway');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'EgressOnlyInternetGatewayId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteEgressOnlyInternetGateway');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'EgressOnlyInternetGatewayId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?EgressOnlyInternetGatewayId=&Action=&Version=#Action=DeleteEgressOnlyInternetGateway' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?EgressOnlyInternetGatewayId=&Action=&Version=#Action=DeleteEgressOnlyInternetGateway' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?EgressOnlyInternetGatewayId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteEgressOnlyInternetGateway"
querystring = {"EgressOnlyInternetGatewayId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteEgressOnlyInternetGateway"
queryString <- list(
EgressOnlyInternetGatewayId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?EgressOnlyInternetGatewayId=&Action=&Version=#Action=DeleteEgressOnlyInternetGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['EgressOnlyInternetGatewayId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteEgressOnlyInternetGateway";
let querystring = [
("EgressOnlyInternetGatewayId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?EgressOnlyInternetGatewayId=&Action=&Version=#Action=DeleteEgressOnlyInternetGateway'
http GET '{{baseUrl}}/?EgressOnlyInternetGatewayId=&Action=&Version=#Action=DeleteEgressOnlyInternetGateway'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?EgressOnlyInternetGatewayId=&Action=&Version=#Action=DeleteEgressOnlyInternetGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?EgressOnlyInternetGatewayId=&Action=&Version=#Action=DeleteEgressOnlyInternetGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteFleets
{{baseUrl}}/#Action=DeleteFleets
QUERY PARAMS
FleetId
TerminateInstances
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?FleetId=&TerminateInstances=&Action=&Version=#Action=DeleteFleets");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteFleets" {:query-params {:FleetId ""
:TerminateInstances ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?FleetId=&TerminateInstances=&Action=&Version=#Action=DeleteFleets"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?FleetId=&TerminateInstances=&Action=&Version=#Action=DeleteFleets"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?FleetId=&TerminateInstances=&Action=&Version=#Action=DeleteFleets");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?FleetId=&TerminateInstances=&Action=&Version=#Action=DeleteFleets"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?FleetId=&TerminateInstances=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?FleetId=&TerminateInstances=&Action=&Version=#Action=DeleteFleets")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?FleetId=&TerminateInstances=&Action=&Version=#Action=DeleteFleets"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?FleetId=&TerminateInstances=&Action=&Version=#Action=DeleteFleets")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?FleetId=&TerminateInstances=&Action=&Version=#Action=DeleteFleets")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?FleetId=&TerminateInstances=&Action=&Version=#Action=DeleteFleets');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteFleets',
params: {FleetId: '', TerminateInstances: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?FleetId=&TerminateInstances=&Action=&Version=#Action=DeleteFleets';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?FleetId=&TerminateInstances=&Action=&Version=#Action=DeleteFleets',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?FleetId=&TerminateInstances=&Action=&Version=#Action=DeleteFleets")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?FleetId=&TerminateInstances=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteFleets',
qs: {FleetId: '', TerminateInstances: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteFleets');
req.query({
FleetId: '',
TerminateInstances: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteFleets',
params: {FleetId: '', TerminateInstances: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?FleetId=&TerminateInstances=&Action=&Version=#Action=DeleteFleets';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?FleetId=&TerminateInstances=&Action=&Version=#Action=DeleteFleets"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?FleetId=&TerminateInstances=&Action=&Version=#Action=DeleteFleets" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?FleetId=&TerminateInstances=&Action=&Version=#Action=DeleteFleets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?FleetId=&TerminateInstances=&Action=&Version=#Action=DeleteFleets');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteFleets');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'FleetId' => '',
'TerminateInstances' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteFleets');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'FleetId' => '',
'TerminateInstances' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?FleetId=&TerminateInstances=&Action=&Version=#Action=DeleteFleets' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?FleetId=&TerminateInstances=&Action=&Version=#Action=DeleteFleets' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?FleetId=&TerminateInstances=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteFleets"
querystring = {"FleetId":"","TerminateInstances":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteFleets"
queryString <- list(
FleetId = "",
TerminateInstances = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?FleetId=&TerminateInstances=&Action=&Version=#Action=DeleteFleets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['FleetId'] = ''
req.params['TerminateInstances'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteFleets";
let querystring = [
("FleetId", ""),
("TerminateInstances", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?FleetId=&TerminateInstances=&Action=&Version=#Action=DeleteFleets'
http GET '{{baseUrl}}/?FleetId=&TerminateInstances=&Action=&Version=#Action=DeleteFleets'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?FleetId=&TerminateInstances=&Action=&Version=#Action=DeleteFleets'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?FleetId=&TerminateInstances=&Action=&Version=#Action=DeleteFleets")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteFlowLogs
{{baseUrl}}/#Action=DeleteFlowLogs
QUERY PARAMS
FlowLogId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?FlowLogId=&Action=&Version=#Action=DeleteFlowLogs");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteFlowLogs" {:query-params {:FlowLogId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?FlowLogId=&Action=&Version=#Action=DeleteFlowLogs"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?FlowLogId=&Action=&Version=#Action=DeleteFlowLogs"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?FlowLogId=&Action=&Version=#Action=DeleteFlowLogs");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?FlowLogId=&Action=&Version=#Action=DeleteFlowLogs"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?FlowLogId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?FlowLogId=&Action=&Version=#Action=DeleteFlowLogs")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?FlowLogId=&Action=&Version=#Action=DeleteFlowLogs"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?FlowLogId=&Action=&Version=#Action=DeleteFlowLogs")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?FlowLogId=&Action=&Version=#Action=DeleteFlowLogs")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?FlowLogId=&Action=&Version=#Action=DeleteFlowLogs');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteFlowLogs',
params: {FlowLogId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?FlowLogId=&Action=&Version=#Action=DeleteFlowLogs';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?FlowLogId=&Action=&Version=#Action=DeleteFlowLogs',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?FlowLogId=&Action=&Version=#Action=DeleteFlowLogs")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?FlowLogId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteFlowLogs',
qs: {FlowLogId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteFlowLogs');
req.query({
FlowLogId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteFlowLogs',
params: {FlowLogId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?FlowLogId=&Action=&Version=#Action=DeleteFlowLogs';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?FlowLogId=&Action=&Version=#Action=DeleteFlowLogs"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?FlowLogId=&Action=&Version=#Action=DeleteFlowLogs" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?FlowLogId=&Action=&Version=#Action=DeleteFlowLogs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?FlowLogId=&Action=&Version=#Action=DeleteFlowLogs');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteFlowLogs');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'FlowLogId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteFlowLogs');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'FlowLogId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?FlowLogId=&Action=&Version=#Action=DeleteFlowLogs' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?FlowLogId=&Action=&Version=#Action=DeleteFlowLogs' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?FlowLogId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteFlowLogs"
querystring = {"FlowLogId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteFlowLogs"
queryString <- list(
FlowLogId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?FlowLogId=&Action=&Version=#Action=DeleteFlowLogs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['FlowLogId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteFlowLogs";
let querystring = [
("FlowLogId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?FlowLogId=&Action=&Version=#Action=DeleteFlowLogs'
http GET '{{baseUrl}}/?FlowLogId=&Action=&Version=#Action=DeleteFlowLogs'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?FlowLogId=&Action=&Version=#Action=DeleteFlowLogs'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?FlowLogId=&Action=&Version=#Action=DeleteFlowLogs")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteFpgaImage
{{baseUrl}}/#Action=DeleteFpgaImage
QUERY PARAMS
FpgaImageId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=DeleteFpgaImage");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteFpgaImage" {:query-params {:FpgaImageId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=DeleteFpgaImage"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=DeleteFpgaImage"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=DeleteFpgaImage");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=DeleteFpgaImage"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?FpgaImageId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=DeleteFpgaImage")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=DeleteFpgaImage"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=DeleteFpgaImage")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=DeleteFpgaImage")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=DeleteFpgaImage');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteFpgaImage',
params: {FpgaImageId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=DeleteFpgaImage';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=DeleteFpgaImage',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=DeleteFpgaImage")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?FpgaImageId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteFpgaImage',
qs: {FpgaImageId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteFpgaImage');
req.query({
FpgaImageId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteFpgaImage',
params: {FpgaImageId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=DeleteFpgaImage';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=DeleteFpgaImage"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=DeleteFpgaImage" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=DeleteFpgaImage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=DeleteFpgaImage');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteFpgaImage');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'FpgaImageId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteFpgaImage');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'FpgaImageId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=DeleteFpgaImage' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=DeleteFpgaImage' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?FpgaImageId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteFpgaImage"
querystring = {"FpgaImageId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteFpgaImage"
queryString <- list(
FpgaImageId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=DeleteFpgaImage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['FpgaImageId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteFpgaImage";
let querystring = [
("FpgaImageId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=DeleteFpgaImage'
http GET '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=DeleteFpgaImage'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=DeleteFpgaImage'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=DeleteFpgaImage")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteInstanceEventWindow
{{baseUrl}}/#Action=DeleteInstanceEventWindow
QUERY PARAMS
InstanceEventWindowId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=DeleteInstanceEventWindow");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteInstanceEventWindow" {:query-params {:InstanceEventWindowId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=DeleteInstanceEventWindow"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=DeleteInstanceEventWindow"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=DeleteInstanceEventWindow");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=DeleteInstanceEventWindow"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceEventWindowId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=DeleteInstanceEventWindow")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=DeleteInstanceEventWindow"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=DeleteInstanceEventWindow")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=DeleteInstanceEventWindow")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=DeleteInstanceEventWindow');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteInstanceEventWindow',
params: {InstanceEventWindowId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=DeleteInstanceEventWindow';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=DeleteInstanceEventWindow',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=DeleteInstanceEventWindow")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceEventWindowId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteInstanceEventWindow',
qs: {InstanceEventWindowId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteInstanceEventWindow');
req.query({
InstanceEventWindowId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteInstanceEventWindow',
params: {InstanceEventWindowId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=DeleteInstanceEventWindow';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=DeleteInstanceEventWindow"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=DeleteInstanceEventWindow" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=DeleteInstanceEventWindow",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=DeleteInstanceEventWindow');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteInstanceEventWindow');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceEventWindowId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteInstanceEventWindow');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceEventWindowId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=DeleteInstanceEventWindow' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=DeleteInstanceEventWindow' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceEventWindowId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteInstanceEventWindow"
querystring = {"InstanceEventWindowId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteInstanceEventWindow"
queryString <- list(
InstanceEventWindowId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=DeleteInstanceEventWindow")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceEventWindowId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteInstanceEventWindow";
let querystring = [
("InstanceEventWindowId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=DeleteInstanceEventWindow'
http GET '{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=DeleteInstanceEventWindow'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=DeleteInstanceEventWindow'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=DeleteInstanceEventWindow")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteInternetGateway
{{baseUrl}}/#Action=DeleteInternetGateway
QUERY PARAMS
InternetGatewayId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InternetGatewayId=&Action=&Version=#Action=DeleteInternetGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteInternetGateway" {:query-params {:InternetGatewayId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InternetGatewayId=&Action=&Version=#Action=DeleteInternetGateway"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InternetGatewayId=&Action=&Version=#Action=DeleteInternetGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InternetGatewayId=&Action=&Version=#Action=DeleteInternetGateway");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InternetGatewayId=&Action=&Version=#Action=DeleteInternetGateway"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InternetGatewayId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InternetGatewayId=&Action=&Version=#Action=DeleteInternetGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InternetGatewayId=&Action=&Version=#Action=DeleteInternetGateway"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InternetGatewayId=&Action=&Version=#Action=DeleteInternetGateway")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InternetGatewayId=&Action=&Version=#Action=DeleteInternetGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InternetGatewayId=&Action=&Version=#Action=DeleteInternetGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteInternetGateway',
params: {InternetGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InternetGatewayId=&Action=&Version=#Action=DeleteInternetGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InternetGatewayId=&Action=&Version=#Action=DeleteInternetGateway',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InternetGatewayId=&Action=&Version=#Action=DeleteInternetGateway")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InternetGatewayId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteInternetGateway',
qs: {InternetGatewayId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteInternetGateway');
req.query({
InternetGatewayId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteInternetGateway',
params: {InternetGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InternetGatewayId=&Action=&Version=#Action=DeleteInternetGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InternetGatewayId=&Action=&Version=#Action=DeleteInternetGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InternetGatewayId=&Action=&Version=#Action=DeleteInternetGateway" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InternetGatewayId=&Action=&Version=#Action=DeleteInternetGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InternetGatewayId=&Action=&Version=#Action=DeleteInternetGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteInternetGateway');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InternetGatewayId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteInternetGateway');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InternetGatewayId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InternetGatewayId=&Action=&Version=#Action=DeleteInternetGateway' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InternetGatewayId=&Action=&Version=#Action=DeleteInternetGateway' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InternetGatewayId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteInternetGateway"
querystring = {"InternetGatewayId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteInternetGateway"
queryString <- list(
InternetGatewayId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InternetGatewayId=&Action=&Version=#Action=DeleteInternetGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InternetGatewayId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteInternetGateway";
let querystring = [
("InternetGatewayId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InternetGatewayId=&Action=&Version=#Action=DeleteInternetGateway'
http GET '{{baseUrl}}/?InternetGatewayId=&Action=&Version=#Action=DeleteInternetGateway'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InternetGatewayId=&Action=&Version=#Action=DeleteInternetGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InternetGatewayId=&Action=&Version=#Action=DeleteInternetGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteIpam
{{baseUrl}}/#Action=DeleteIpam
QUERY PARAMS
IpamId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?IpamId=&Action=&Version=#Action=DeleteIpam");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteIpam" {:query-params {:IpamId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?IpamId=&Action=&Version=#Action=DeleteIpam"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?IpamId=&Action=&Version=#Action=DeleteIpam"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?IpamId=&Action=&Version=#Action=DeleteIpam");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?IpamId=&Action=&Version=#Action=DeleteIpam"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?IpamId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?IpamId=&Action=&Version=#Action=DeleteIpam")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?IpamId=&Action=&Version=#Action=DeleteIpam"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?IpamId=&Action=&Version=#Action=DeleteIpam")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?IpamId=&Action=&Version=#Action=DeleteIpam")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?IpamId=&Action=&Version=#Action=DeleteIpam');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteIpam',
params: {IpamId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?IpamId=&Action=&Version=#Action=DeleteIpam';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?IpamId=&Action=&Version=#Action=DeleteIpam',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?IpamId=&Action=&Version=#Action=DeleteIpam")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?IpamId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteIpam',
qs: {IpamId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteIpam');
req.query({
IpamId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteIpam',
params: {IpamId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?IpamId=&Action=&Version=#Action=DeleteIpam';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?IpamId=&Action=&Version=#Action=DeleteIpam"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?IpamId=&Action=&Version=#Action=DeleteIpam" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?IpamId=&Action=&Version=#Action=DeleteIpam",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?IpamId=&Action=&Version=#Action=DeleteIpam');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteIpam');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'IpamId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteIpam');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'IpamId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?IpamId=&Action=&Version=#Action=DeleteIpam' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?IpamId=&Action=&Version=#Action=DeleteIpam' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?IpamId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteIpam"
querystring = {"IpamId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteIpam"
queryString <- list(
IpamId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?IpamId=&Action=&Version=#Action=DeleteIpam")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['IpamId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteIpam";
let querystring = [
("IpamId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?IpamId=&Action=&Version=#Action=DeleteIpam'
http GET '{{baseUrl}}/?IpamId=&Action=&Version=#Action=DeleteIpam'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?IpamId=&Action=&Version=#Action=DeleteIpam'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?IpamId=&Action=&Version=#Action=DeleteIpam")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteIpamPool
{{baseUrl}}/#Action=DeleteIpamPool
QUERY PARAMS
IpamPoolId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeleteIpamPool");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteIpamPool" {:query-params {:IpamPoolId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeleteIpamPool"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeleteIpamPool"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeleteIpamPool");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeleteIpamPool"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?IpamPoolId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeleteIpamPool")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeleteIpamPool"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeleteIpamPool")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeleteIpamPool")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeleteIpamPool');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteIpamPool',
params: {IpamPoolId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeleteIpamPool';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeleteIpamPool',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeleteIpamPool")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?IpamPoolId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteIpamPool',
qs: {IpamPoolId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteIpamPool');
req.query({
IpamPoolId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteIpamPool',
params: {IpamPoolId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeleteIpamPool';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeleteIpamPool"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeleteIpamPool" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeleteIpamPool",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeleteIpamPool');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteIpamPool');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'IpamPoolId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteIpamPool');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'IpamPoolId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeleteIpamPool' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeleteIpamPool' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?IpamPoolId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteIpamPool"
querystring = {"IpamPoolId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteIpamPool"
queryString <- list(
IpamPoolId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeleteIpamPool")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['IpamPoolId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteIpamPool";
let querystring = [
("IpamPoolId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeleteIpamPool'
http GET '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeleteIpamPool'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeleteIpamPool'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeleteIpamPool")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteIpamResourceDiscovery
{{baseUrl}}/#Action=DeleteIpamResourceDiscovery
QUERY PARAMS
IpamResourceDiscoveryId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=DeleteIpamResourceDiscovery");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteIpamResourceDiscovery" {:query-params {:IpamResourceDiscoveryId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=DeleteIpamResourceDiscovery"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=DeleteIpamResourceDiscovery"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=DeleteIpamResourceDiscovery");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=DeleteIpamResourceDiscovery"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?IpamResourceDiscoveryId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=DeleteIpamResourceDiscovery")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=DeleteIpamResourceDiscovery"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=DeleteIpamResourceDiscovery")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=DeleteIpamResourceDiscovery")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=DeleteIpamResourceDiscovery');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteIpamResourceDiscovery',
params: {IpamResourceDiscoveryId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=DeleteIpamResourceDiscovery';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=DeleteIpamResourceDiscovery',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=DeleteIpamResourceDiscovery")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?IpamResourceDiscoveryId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteIpamResourceDiscovery',
qs: {IpamResourceDiscoveryId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteIpamResourceDiscovery');
req.query({
IpamResourceDiscoveryId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteIpamResourceDiscovery',
params: {IpamResourceDiscoveryId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=DeleteIpamResourceDiscovery';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=DeleteIpamResourceDiscovery"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=DeleteIpamResourceDiscovery" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=DeleteIpamResourceDiscovery",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=DeleteIpamResourceDiscovery');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteIpamResourceDiscovery');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'IpamResourceDiscoveryId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteIpamResourceDiscovery');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'IpamResourceDiscoveryId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=DeleteIpamResourceDiscovery' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=DeleteIpamResourceDiscovery' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?IpamResourceDiscoveryId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteIpamResourceDiscovery"
querystring = {"IpamResourceDiscoveryId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteIpamResourceDiscovery"
queryString <- list(
IpamResourceDiscoveryId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=DeleteIpamResourceDiscovery")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['IpamResourceDiscoveryId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteIpamResourceDiscovery";
let querystring = [
("IpamResourceDiscoveryId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=DeleteIpamResourceDiscovery'
http GET '{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=DeleteIpamResourceDiscovery'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=DeleteIpamResourceDiscovery'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=DeleteIpamResourceDiscovery")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteIpamScope
{{baseUrl}}/#Action=DeleteIpamScope
QUERY PARAMS
IpamScopeId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=DeleteIpamScope");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteIpamScope" {:query-params {:IpamScopeId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=DeleteIpamScope"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=DeleteIpamScope"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=DeleteIpamScope");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=DeleteIpamScope"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?IpamScopeId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=DeleteIpamScope")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=DeleteIpamScope"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=DeleteIpamScope")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=DeleteIpamScope")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=DeleteIpamScope');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteIpamScope',
params: {IpamScopeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=DeleteIpamScope';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=DeleteIpamScope',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=DeleteIpamScope")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?IpamScopeId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteIpamScope',
qs: {IpamScopeId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteIpamScope');
req.query({
IpamScopeId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteIpamScope',
params: {IpamScopeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=DeleteIpamScope';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=DeleteIpamScope"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=DeleteIpamScope" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=DeleteIpamScope",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=DeleteIpamScope');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteIpamScope');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'IpamScopeId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteIpamScope');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'IpamScopeId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=DeleteIpamScope' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=DeleteIpamScope' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?IpamScopeId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteIpamScope"
querystring = {"IpamScopeId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteIpamScope"
queryString <- list(
IpamScopeId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=DeleteIpamScope")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['IpamScopeId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteIpamScope";
let querystring = [
("IpamScopeId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=DeleteIpamScope'
http GET '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=DeleteIpamScope'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=DeleteIpamScope'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=DeleteIpamScope")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteKeyPair
{{baseUrl}}/#Action=DeleteKeyPair
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteKeyPair" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteKeyPair',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteKeyPair',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteKeyPair');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteKeyPair',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteKeyPair');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteKeyPair');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteKeyPair"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteKeyPair"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteKeyPair";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair'
http GET '{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteLaunchTemplate
{{baseUrl}}/#Action=DeleteLaunchTemplate
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteLaunchTemplate" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteLaunchTemplate',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteLaunchTemplate',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteLaunchTemplate');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteLaunchTemplate',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteLaunchTemplate');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteLaunchTemplate');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteLaunchTemplate"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteLaunchTemplate"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteLaunchTemplate";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate'
http GET '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"LaunchTemplate": {
"CreateTime": "2017-11-23T16:46:25.000Z",
"CreatedBy": "arn:aws:iam::123456789012:root",
"DefaultVersionNumber": 2,
"LatestVersionNumber": 2,
"LaunchTemplateId": "lt-0abcd290751193123",
"LaunchTemplateName": "my-template"
}
}
GET
GET_DeleteLaunchTemplateVersions
{{baseUrl}}/#Action=DeleteLaunchTemplateVersions
QUERY PARAMS
LaunchTemplateVersion
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?LaunchTemplateVersion=&Action=&Version=#Action=DeleteLaunchTemplateVersions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteLaunchTemplateVersions" {:query-params {:LaunchTemplateVersion ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?LaunchTemplateVersion=&Action=&Version=#Action=DeleteLaunchTemplateVersions"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?LaunchTemplateVersion=&Action=&Version=#Action=DeleteLaunchTemplateVersions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?LaunchTemplateVersion=&Action=&Version=#Action=DeleteLaunchTemplateVersions");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?LaunchTemplateVersion=&Action=&Version=#Action=DeleteLaunchTemplateVersions"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?LaunchTemplateVersion=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?LaunchTemplateVersion=&Action=&Version=#Action=DeleteLaunchTemplateVersions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?LaunchTemplateVersion=&Action=&Version=#Action=DeleteLaunchTemplateVersions"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?LaunchTemplateVersion=&Action=&Version=#Action=DeleteLaunchTemplateVersions")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?LaunchTemplateVersion=&Action=&Version=#Action=DeleteLaunchTemplateVersions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?LaunchTemplateVersion=&Action=&Version=#Action=DeleteLaunchTemplateVersions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteLaunchTemplateVersions',
params: {LaunchTemplateVersion: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?LaunchTemplateVersion=&Action=&Version=#Action=DeleteLaunchTemplateVersions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?LaunchTemplateVersion=&Action=&Version=#Action=DeleteLaunchTemplateVersions',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?LaunchTemplateVersion=&Action=&Version=#Action=DeleteLaunchTemplateVersions")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?LaunchTemplateVersion=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteLaunchTemplateVersions',
qs: {LaunchTemplateVersion: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteLaunchTemplateVersions');
req.query({
LaunchTemplateVersion: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteLaunchTemplateVersions',
params: {LaunchTemplateVersion: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?LaunchTemplateVersion=&Action=&Version=#Action=DeleteLaunchTemplateVersions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?LaunchTemplateVersion=&Action=&Version=#Action=DeleteLaunchTemplateVersions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?LaunchTemplateVersion=&Action=&Version=#Action=DeleteLaunchTemplateVersions" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?LaunchTemplateVersion=&Action=&Version=#Action=DeleteLaunchTemplateVersions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?LaunchTemplateVersion=&Action=&Version=#Action=DeleteLaunchTemplateVersions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteLaunchTemplateVersions');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'LaunchTemplateVersion' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteLaunchTemplateVersions');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'LaunchTemplateVersion' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?LaunchTemplateVersion=&Action=&Version=#Action=DeleteLaunchTemplateVersions' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?LaunchTemplateVersion=&Action=&Version=#Action=DeleteLaunchTemplateVersions' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?LaunchTemplateVersion=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteLaunchTemplateVersions"
querystring = {"LaunchTemplateVersion":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteLaunchTemplateVersions"
queryString <- list(
LaunchTemplateVersion = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?LaunchTemplateVersion=&Action=&Version=#Action=DeleteLaunchTemplateVersions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['LaunchTemplateVersion'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteLaunchTemplateVersions";
let querystring = [
("LaunchTemplateVersion", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?LaunchTemplateVersion=&Action=&Version=#Action=DeleteLaunchTemplateVersions'
http GET '{{baseUrl}}/?LaunchTemplateVersion=&Action=&Version=#Action=DeleteLaunchTemplateVersions'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?LaunchTemplateVersion=&Action=&Version=#Action=DeleteLaunchTemplateVersions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?LaunchTemplateVersion=&Action=&Version=#Action=DeleteLaunchTemplateVersions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"SuccessfullyDeletedLaunchTemplateVersions": [
{
"LaunchTemplateId": "lt-0abcd290751193123",
"LaunchTemplateName": "my-template",
"VersionNumber": 1
}
],
"UnsuccessfullyDeletedLaunchTemplateVersions": []
}
GET
GET_DeleteLocalGatewayRoute
{{baseUrl}}/#Action=DeleteLocalGatewayRoute
QUERY PARAMS
LocalGatewayRouteTableId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRoute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteLocalGatewayRoute" {:query-params {:LocalGatewayRouteTableId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRoute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRoute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRoute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRoute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?LocalGatewayRouteTableId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRoute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRoute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRoute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRoute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRoute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteLocalGatewayRoute',
params: {LocalGatewayRouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRoute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRoute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRoute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?LocalGatewayRouteTableId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteLocalGatewayRoute',
qs: {LocalGatewayRouteTableId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteLocalGatewayRoute');
req.query({
LocalGatewayRouteTableId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteLocalGatewayRoute',
params: {LocalGatewayRouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRoute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRoute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRoute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRoute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRoute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteLocalGatewayRoute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'LocalGatewayRouteTableId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteLocalGatewayRoute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'LocalGatewayRouteTableId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRoute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRoute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?LocalGatewayRouteTableId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteLocalGatewayRoute"
querystring = {"LocalGatewayRouteTableId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteLocalGatewayRoute"
queryString <- list(
LocalGatewayRouteTableId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRoute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['LocalGatewayRouteTableId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteLocalGatewayRoute";
let querystring = [
("LocalGatewayRouteTableId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRoute'
http GET '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRoute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRoute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRoute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteLocalGatewayRouteTable
{{baseUrl}}/#Action=DeleteLocalGatewayRouteTable
QUERY PARAMS
LocalGatewayRouteTableId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRouteTable");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteLocalGatewayRouteTable" {:query-params {:LocalGatewayRouteTableId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRouteTable"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRouteTable"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRouteTable");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRouteTable"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?LocalGatewayRouteTableId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRouteTable")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRouteTable"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRouteTable")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRouteTable")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRouteTable');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteLocalGatewayRouteTable',
params: {LocalGatewayRouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRouteTable';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRouteTable',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRouteTable")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?LocalGatewayRouteTableId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteLocalGatewayRouteTable',
qs: {LocalGatewayRouteTableId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteLocalGatewayRouteTable');
req.query({
LocalGatewayRouteTableId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteLocalGatewayRouteTable',
params: {LocalGatewayRouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRouteTable';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRouteTable"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRouteTable" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRouteTable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRouteTable');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteLocalGatewayRouteTable');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'LocalGatewayRouteTableId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteLocalGatewayRouteTable');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'LocalGatewayRouteTableId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRouteTable' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRouteTable' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?LocalGatewayRouteTableId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteLocalGatewayRouteTable"
querystring = {"LocalGatewayRouteTableId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteLocalGatewayRouteTable"
queryString <- list(
LocalGatewayRouteTableId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRouteTable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['LocalGatewayRouteTableId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteLocalGatewayRouteTable";
let querystring = [
("LocalGatewayRouteTableId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRouteTable'
http GET '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRouteTable'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRouteTable'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=DeleteLocalGatewayRouteTable")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation
{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation
QUERY PARAMS
LocalGatewayRouteTableVirtualInterfaceGroupAssociationId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?LocalGatewayRouteTableVirtualInterfaceGroupAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation" {:query-params {:LocalGatewayRouteTableVirtualInterfaceGroupAssociationId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?LocalGatewayRouteTableVirtualInterfaceGroupAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?LocalGatewayRouteTableVirtualInterfaceGroupAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?LocalGatewayRouteTableVirtualInterfaceGroupAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?LocalGatewayRouteTableVirtualInterfaceGroupAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?LocalGatewayRouteTableVirtualInterfaceGroupAssociationId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?LocalGatewayRouteTableVirtualInterfaceGroupAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?LocalGatewayRouteTableVirtualInterfaceGroupAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?LocalGatewayRouteTableVirtualInterfaceGroupAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?LocalGatewayRouteTableVirtualInterfaceGroupAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?LocalGatewayRouteTableVirtualInterfaceGroupAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation',
params: {
LocalGatewayRouteTableVirtualInterfaceGroupAssociationId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?LocalGatewayRouteTableVirtualInterfaceGroupAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?LocalGatewayRouteTableVirtualInterfaceGroupAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?LocalGatewayRouteTableVirtualInterfaceGroupAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?LocalGatewayRouteTableVirtualInterfaceGroupAssociationId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation',
qs: {
LocalGatewayRouteTableVirtualInterfaceGroupAssociationId: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation');
req.query({
LocalGatewayRouteTableVirtualInterfaceGroupAssociationId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation',
params: {
LocalGatewayRouteTableVirtualInterfaceGroupAssociationId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?LocalGatewayRouteTableVirtualInterfaceGroupAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?LocalGatewayRouteTableVirtualInterfaceGroupAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?LocalGatewayRouteTableVirtualInterfaceGroupAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?LocalGatewayRouteTableVirtualInterfaceGroupAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?LocalGatewayRouteTableVirtualInterfaceGroupAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'LocalGatewayRouteTableVirtualInterfaceGroupAssociationId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'LocalGatewayRouteTableVirtualInterfaceGroupAssociationId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?LocalGatewayRouteTableVirtualInterfaceGroupAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?LocalGatewayRouteTableVirtualInterfaceGroupAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?LocalGatewayRouteTableVirtualInterfaceGroupAssociationId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation"
querystring = {"LocalGatewayRouteTableVirtualInterfaceGroupAssociationId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation"
queryString <- list(
LocalGatewayRouteTableVirtualInterfaceGroupAssociationId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?LocalGatewayRouteTableVirtualInterfaceGroupAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['LocalGatewayRouteTableVirtualInterfaceGroupAssociationId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation";
let querystring = [
("LocalGatewayRouteTableVirtualInterfaceGroupAssociationId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?LocalGatewayRouteTableVirtualInterfaceGroupAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation'
http GET '{{baseUrl}}/?LocalGatewayRouteTableVirtualInterfaceGroupAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?LocalGatewayRouteTableVirtualInterfaceGroupAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?LocalGatewayRouteTableVirtualInterfaceGroupAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteLocalGatewayRouteTableVpcAssociation
{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVpcAssociation
QUERY PARAMS
LocalGatewayRouteTableVpcAssociationId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?LocalGatewayRouteTableVpcAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVpcAssociation" {:query-params {:LocalGatewayRouteTableVpcAssociationId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?LocalGatewayRouteTableVpcAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?LocalGatewayRouteTableVpcAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?LocalGatewayRouteTableVpcAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?LocalGatewayRouteTableVpcAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?LocalGatewayRouteTableVpcAssociationId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?LocalGatewayRouteTableVpcAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?LocalGatewayRouteTableVpcAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?LocalGatewayRouteTableVpcAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?LocalGatewayRouteTableVpcAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?LocalGatewayRouteTableVpcAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVpcAssociation',
params: {LocalGatewayRouteTableVpcAssociationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?LocalGatewayRouteTableVpcAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?LocalGatewayRouteTableVpcAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?LocalGatewayRouteTableVpcAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?LocalGatewayRouteTableVpcAssociationId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVpcAssociation',
qs: {LocalGatewayRouteTableVpcAssociationId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVpcAssociation');
req.query({
LocalGatewayRouteTableVpcAssociationId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVpcAssociation',
params: {LocalGatewayRouteTableVpcAssociationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?LocalGatewayRouteTableVpcAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?LocalGatewayRouteTableVpcAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?LocalGatewayRouteTableVpcAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?LocalGatewayRouteTableVpcAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?LocalGatewayRouteTableVpcAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVpcAssociation');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'LocalGatewayRouteTableVpcAssociationId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVpcAssociation');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'LocalGatewayRouteTableVpcAssociationId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?LocalGatewayRouteTableVpcAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?LocalGatewayRouteTableVpcAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?LocalGatewayRouteTableVpcAssociationId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVpcAssociation"
querystring = {"LocalGatewayRouteTableVpcAssociationId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVpcAssociation"
queryString <- list(
LocalGatewayRouteTableVpcAssociationId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?LocalGatewayRouteTableVpcAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['LocalGatewayRouteTableVpcAssociationId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVpcAssociation";
let querystring = [
("LocalGatewayRouteTableVpcAssociationId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?LocalGatewayRouteTableVpcAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation'
http GET '{{baseUrl}}/?LocalGatewayRouteTableVpcAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?LocalGatewayRouteTableVpcAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?LocalGatewayRouteTableVpcAssociationId=&Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteManagedPrefixList
{{baseUrl}}/#Action=DeleteManagedPrefixList
QUERY PARAMS
PrefixListId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=DeleteManagedPrefixList");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteManagedPrefixList" {:query-params {:PrefixListId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=DeleteManagedPrefixList"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=DeleteManagedPrefixList"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=DeleteManagedPrefixList");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=DeleteManagedPrefixList"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?PrefixListId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=DeleteManagedPrefixList")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=DeleteManagedPrefixList"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=DeleteManagedPrefixList")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=DeleteManagedPrefixList")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=DeleteManagedPrefixList');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteManagedPrefixList',
params: {PrefixListId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=DeleteManagedPrefixList';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=DeleteManagedPrefixList',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=DeleteManagedPrefixList")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?PrefixListId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteManagedPrefixList',
qs: {PrefixListId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteManagedPrefixList');
req.query({
PrefixListId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteManagedPrefixList',
params: {PrefixListId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=DeleteManagedPrefixList';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=DeleteManagedPrefixList"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=DeleteManagedPrefixList" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=DeleteManagedPrefixList",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=DeleteManagedPrefixList');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteManagedPrefixList');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'PrefixListId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteManagedPrefixList');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'PrefixListId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=DeleteManagedPrefixList' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=DeleteManagedPrefixList' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?PrefixListId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteManagedPrefixList"
querystring = {"PrefixListId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteManagedPrefixList"
queryString <- list(
PrefixListId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=DeleteManagedPrefixList")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['PrefixListId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteManagedPrefixList";
let querystring = [
("PrefixListId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=DeleteManagedPrefixList'
http GET '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=DeleteManagedPrefixList'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=DeleteManagedPrefixList'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=DeleteManagedPrefixList")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteNatGateway
{{baseUrl}}/#Action=DeleteNatGateway
QUERY PARAMS
NatGatewayId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=DeleteNatGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteNatGateway" {:query-params {:NatGatewayId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=DeleteNatGateway"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=DeleteNatGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=DeleteNatGateway");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=DeleteNatGateway"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?NatGatewayId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=DeleteNatGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=DeleteNatGateway"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=DeleteNatGateway")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=DeleteNatGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=DeleteNatGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteNatGateway',
params: {NatGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=DeleteNatGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=DeleteNatGateway',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=DeleteNatGateway")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?NatGatewayId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteNatGateway',
qs: {NatGatewayId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteNatGateway');
req.query({
NatGatewayId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteNatGateway',
params: {NatGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=DeleteNatGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=DeleteNatGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=DeleteNatGateway" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=DeleteNatGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=DeleteNatGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteNatGateway');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'NatGatewayId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteNatGateway');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'NatGatewayId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=DeleteNatGateway' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=DeleteNatGateway' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?NatGatewayId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteNatGateway"
querystring = {"NatGatewayId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteNatGateway"
queryString <- list(
NatGatewayId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=DeleteNatGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['NatGatewayId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteNatGateway";
let querystring = [
("NatGatewayId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=DeleteNatGateway'
http GET '{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=DeleteNatGateway'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=DeleteNatGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?NatGatewayId=&Action=&Version=#Action=DeleteNatGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"NatGatewayId": "nat-04ae55e711cec5680"
}
GET
GET_DeleteNetworkAcl
{{baseUrl}}/#Action=DeleteNetworkAcl
QUERY PARAMS
NetworkAclId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?NetworkAclId=&Action=&Version=#Action=DeleteNetworkAcl");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteNetworkAcl" {:query-params {:NetworkAclId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?NetworkAclId=&Action=&Version=#Action=DeleteNetworkAcl"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?NetworkAclId=&Action=&Version=#Action=DeleteNetworkAcl"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?NetworkAclId=&Action=&Version=#Action=DeleteNetworkAcl");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?NetworkAclId=&Action=&Version=#Action=DeleteNetworkAcl"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?NetworkAclId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?NetworkAclId=&Action=&Version=#Action=DeleteNetworkAcl")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?NetworkAclId=&Action=&Version=#Action=DeleteNetworkAcl"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?NetworkAclId=&Action=&Version=#Action=DeleteNetworkAcl")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?NetworkAclId=&Action=&Version=#Action=DeleteNetworkAcl")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?NetworkAclId=&Action=&Version=#Action=DeleteNetworkAcl');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteNetworkAcl',
params: {NetworkAclId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?NetworkAclId=&Action=&Version=#Action=DeleteNetworkAcl';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?NetworkAclId=&Action=&Version=#Action=DeleteNetworkAcl',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?NetworkAclId=&Action=&Version=#Action=DeleteNetworkAcl")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?NetworkAclId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteNetworkAcl',
qs: {NetworkAclId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteNetworkAcl');
req.query({
NetworkAclId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteNetworkAcl',
params: {NetworkAclId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?NetworkAclId=&Action=&Version=#Action=DeleteNetworkAcl';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?NetworkAclId=&Action=&Version=#Action=DeleteNetworkAcl"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?NetworkAclId=&Action=&Version=#Action=DeleteNetworkAcl" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?NetworkAclId=&Action=&Version=#Action=DeleteNetworkAcl",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?NetworkAclId=&Action=&Version=#Action=DeleteNetworkAcl');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteNetworkAcl');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'NetworkAclId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteNetworkAcl');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'NetworkAclId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?NetworkAclId=&Action=&Version=#Action=DeleteNetworkAcl' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?NetworkAclId=&Action=&Version=#Action=DeleteNetworkAcl' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?NetworkAclId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteNetworkAcl"
querystring = {"NetworkAclId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteNetworkAcl"
queryString <- list(
NetworkAclId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?NetworkAclId=&Action=&Version=#Action=DeleteNetworkAcl")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['NetworkAclId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteNetworkAcl";
let querystring = [
("NetworkAclId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?NetworkAclId=&Action=&Version=#Action=DeleteNetworkAcl'
http GET '{{baseUrl}}/?NetworkAclId=&Action=&Version=#Action=DeleteNetworkAcl'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?NetworkAclId=&Action=&Version=#Action=DeleteNetworkAcl'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?NetworkAclId=&Action=&Version=#Action=DeleteNetworkAcl")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteNetworkAclEntry
{{baseUrl}}/#Action=DeleteNetworkAclEntry
QUERY PARAMS
Egress
NetworkAclId
RuleNumber
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Egress=&NetworkAclId=&RuleNumber=&Action=&Version=#Action=DeleteNetworkAclEntry");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteNetworkAclEntry" {:query-params {:Egress ""
:NetworkAclId ""
:RuleNumber ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Egress=&NetworkAclId=&RuleNumber=&Action=&Version=#Action=DeleteNetworkAclEntry"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Egress=&NetworkAclId=&RuleNumber=&Action=&Version=#Action=DeleteNetworkAclEntry"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Egress=&NetworkAclId=&RuleNumber=&Action=&Version=#Action=DeleteNetworkAclEntry");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Egress=&NetworkAclId=&RuleNumber=&Action=&Version=#Action=DeleteNetworkAclEntry"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Egress=&NetworkAclId=&RuleNumber=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Egress=&NetworkAclId=&RuleNumber=&Action=&Version=#Action=DeleteNetworkAclEntry")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Egress=&NetworkAclId=&RuleNumber=&Action=&Version=#Action=DeleteNetworkAclEntry"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Egress=&NetworkAclId=&RuleNumber=&Action=&Version=#Action=DeleteNetworkAclEntry")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Egress=&NetworkAclId=&RuleNumber=&Action=&Version=#Action=DeleteNetworkAclEntry")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Egress=&NetworkAclId=&RuleNumber=&Action=&Version=#Action=DeleteNetworkAclEntry');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteNetworkAclEntry',
params: {Egress: '', NetworkAclId: '', RuleNumber: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Egress=&NetworkAclId=&RuleNumber=&Action=&Version=#Action=DeleteNetworkAclEntry';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Egress=&NetworkAclId=&RuleNumber=&Action=&Version=#Action=DeleteNetworkAclEntry',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Egress=&NetworkAclId=&RuleNumber=&Action=&Version=#Action=DeleteNetworkAclEntry")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Egress=&NetworkAclId=&RuleNumber=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteNetworkAclEntry',
qs: {Egress: '', NetworkAclId: '', RuleNumber: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteNetworkAclEntry');
req.query({
Egress: '',
NetworkAclId: '',
RuleNumber: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteNetworkAclEntry',
params: {Egress: '', NetworkAclId: '', RuleNumber: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Egress=&NetworkAclId=&RuleNumber=&Action=&Version=#Action=DeleteNetworkAclEntry';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Egress=&NetworkAclId=&RuleNumber=&Action=&Version=#Action=DeleteNetworkAclEntry"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Egress=&NetworkAclId=&RuleNumber=&Action=&Version=#Action=DeleteNetworkAclEntry" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Egress=&NetworkAclId=&RuleNumber=&Action=&Version=#Action=DeleteNetworkAclEntry",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Egress=&NetworkAclId=&RuleNumber=&Action=&Version=#Action=DeleteNetworkAclEntry');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteNetworkAclEntry');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Egress' => '',
'NetworkAclId' => '',
'RuleNumber' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteNetworkAclEntry');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Egress' => '',
'NetworkAclId' => '',
'RuleNumber' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Egress=&NetworkAclId=&RuleNumber=&Action=&Version=#Action=DeleteNetworkAclEntry' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Egress=&NetworkAclId=&RuleNumber=&Action=&Version=#Action=DeleteNetworkAclEntry' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Egress=&NetworkAclId=&RuleNumber=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteNetworkAclEntry"
querystring = {"Egress":"","NetworkAclId":"","RuleNumber":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteNetworkAclEntry"
queryString <- list(
Egress = "",
NetworkAclId = "",
RuleNumber = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Egress=&NetworkAclId=&RuleNumber=&Action=&Version=#Action=DeleteNetworkAclEntry")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Egress'] = ''
req.params['NetworkAclId'] = ''
req.params['RuleNumber'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteNetworkAclEntry";
let querystring = [
("Egress", ""),
("NetworkAclId", ""),
("RuleNumber", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Egress=&NetworkAclId=&RuleNumber=&Action=&Version=#Action=DeleteNetworkAclEntry'
http GET '{{baseUrl}}/?Egress=&NetworkAclId=&RuleNumber=&Action=&Version=#Action=DeleteNetworkAclEntry'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Egress=&NetworkAclId=&RuleNumber=&Action=&Version=#Action=DeleteNetworkAclEntry'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Egress=&NetworkAclId=&RuleNumber=&Action=&Version=#Action=DeleteNetworkAclEntry")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteNetworkInsightsAccessScope
{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScope
QUERY PARAMS
NetworkInsightsAccessScopeId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScope");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScope" {:query-params {:NetworkInsightsAccessScopeId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScope"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScope"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScope");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScope"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?NetworkInsightsAccessScopeId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScope")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScope"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScope")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScope")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScope');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScope',
params: {NetworkInsightsAccessScopeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScope';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScope',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScope")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?NetworkInsightsAccessScopeId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScope',
qs: {NetworkInsightsAccessScopeId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScope');
req.query({
NetworkInsightsAccessScopeId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScope',
params: {NetworkInsightsAccessScopeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScope';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScope"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScope" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScope",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScope');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScope');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'NetworkInsightsAccessScopeId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScope');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'NetworkInsightsAccessScopeId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScope' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScope' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?NetworkInsightsAccessScopeId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScope"
querystring = {"NetworkInsightsAccessScopeId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScope"
queryString <- list(
NetworkInsightsAccessScopeId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScope")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['NetworkInsightsAccessScopeId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScope";
let querystring = [
("NetworkInsightsAccessScopeId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScope'
http GET '{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScope'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScope'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScope")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteNetworkInsightsAccessScopeAnalysis
{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScopeAnalysis
QUERY PARAMS
NetworkInsightsAccessScopeAnalysisId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScopeAnalysis" {:query-params {:NetworkInsightsAccessScopeAnalysisId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScopeAnalysis',
params: {NetworkInsightsAccessScopeAnalysisId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScopeAnalysis',
qs: {NetworkInsightsAccessScopeAnalysisId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScopeAnalysis');
req.query({
NetworkInsightsAccessScopeAnalysisId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScopeAnalysis',
params: {NetworkInsightsAccessScopeAnalysisId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScopeAnalysis');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'NetworkInsightsAccessScopeAnalysisId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScopeAnalysis');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'NetworkInsightsAccessScopeAnalysisId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScopeAnalysis"
querystring = {"NetworkInsightsAccessScopeAnalysisId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScopeAnalysis"
queryString <- list(
NetworkInsightsAccessScopeAnalysisId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['NetworkInsightsAccessScopeAnalysisId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScopeAnalysis";
let querystring = [
("NetworkInsightsAccessScopeAnalysisId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis'
http GET '{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteNetworkInsightsAnalysis
{{baseUrl}}/#Action=DeleteNetworkInsightsAnalysis
QUERY PARAMS
NetworkInsightsAnalysisId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?NetworkInsightsAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAnalysis");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteNetworkInsightsAnalysis" {:query-params {:NetworkInsightsAnalysisId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?NetworkInsightsAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAnalysis"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?NetworkInsightsAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAnalysis"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?NetworkInsightsAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAnalysis");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?NetworkInsightsAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAnalysis"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?NetworkInsightsAnalysisId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?NetworkInsightsAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAnalysis")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?NetworkInsightsAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAnalysis"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?NetworkInsightsAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAnalysis")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?NetworkInsightsAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAnalysis")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?NetworkInsightsAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAnalysis');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteNetworkInsightsAnalysis',
params: {NetworkInsightsAnalysisId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?NetworkInsightsAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAnalysis';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?NetworkInsightsAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAnalysis',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?NetworkInsightsAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAnalysis")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?NetworkInsightsAnalysisId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteNetworkInsightsAnalysis',
qs: {NetworkInsightsAnalysisId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteNetworkInsightsAnalysis');
req.query({
NetworkInsightsAnalysisId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteNetworkInsightsAnalysis',
params: {NetworkInsightsAnalysisId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?NetworkInsightsAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAnalysis';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?NetworkInsightsAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAnalysis"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?NetworkInsightsAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAnalysis" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?NetworkInsightsAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAnalysis",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?NetworkInsightsAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAnalysis');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteNetworkInsightsAnalysis');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'NetworkInsightsAnalysisId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteNetworkInsightsAnalysis');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'NetworkInsightsAnalysisId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?NetworkInsightsAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAnalysis' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?NetworkInsightsAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAnalysis' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?NetworkInsightsAnalysisId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteNetworkInsightsAnalysis"
querystring = {"NetworkInsightsAnalysisId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteNetworkInsightsAnalysis"
queryString <- list(
NetworkInsightsAnalysisId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?NetworkInsightsAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAnalysis")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['NetworkInsightsAnalysisId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteNetworkInsightsAnalysis";
let querystring = [
("NetworkInsightsAnalysisId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?NetworkInsightsAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAnalysis'
http GET '{{baseUrl}}/?NetworkInsightsAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAnalysis'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?NetworkInsightsAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAnalysis'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?NetworkInsightsAnalysisId=&Action=&Version=#Action=DeleteNetworkInsightsAnalysis")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteNetworkInsightsPath
{{baseUrl}}/#Action=DeleteNetworkInsightsPath
QUERY PARAMS
NetworkInsightsPathId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?NetworkInsightsPathId=&Action=&Version=#Action=DeleteNetworkInsightsPath");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteNetworkInsightsPath" {:query-params {:NetworkInsightsPathId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?NetworkInsightsPathId=&Action=&Version=#Action=DeleteNetworkInsightsPath"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?NetworkInsightsPathId=&Action=&Version=#Action=DeleteNetworkInsightsPath"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?NetworkInsightsPathId=&Action=&Version=#Action=DeleteNetworkInsightsPath");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?NetworkInsightsPathId=&Action=&Version=#Action=DeleteNetworkInsightsPath"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?NetworkInsightsPathId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?NetworkInsightsPathId=&Action=&Version=#Action=DeleteNetworkInsightsPath")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?NetworkInsightsPathId=&Action=&Version=#Action=DeleteNetworkInsightsPath"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?NetworkInsightsPathId=&Action=&Version=#Action=DeleteNetworkInsightsPath")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?NetworkInsightsPathId=&Action=&Version=#Action=DeleteNetworkInsightsPath")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?NetworkInsightsPathId=&Action=&Version=#Action=DeleteNetworkInsightsPath');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteNetworkInsightsPath',
params: {NetworkInsightsPathId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?NetworkInsightsPathId=&Action=&Version=#Action=DeleteNetworkInsightsPath';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?NetworkInsightsPathId=&Action=&Version=#Action=DeleteNetworkInsightsPath',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?NetworkInsightsPathId=&Action=&Version=#Action=DeleteNetworkInsightsPath")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?NetworkInsightsPathId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteNetworkInsightsPath',
qs: {NetworkInsightsPathId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteNetworkInsightsPath');
req.query({
NetworkInsightsPathId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteNetworkInsightsPath',
params: {NetworkInsightsPathId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?NetworkInsightsPathId=&Action=&Version=#Action=DeleteNetworkInsightsPath';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?NetworkInsightsPathId=&Action=&Version=#Action=DeleteNetworkInsightsPath"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?NetworkInsightsPathId=&Action=&Version=#Action=DeleteNetworkInsightsPath" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?NetworkInsightsPathId=&Action=&Version=#Action=DeleteNetworkInsightsPath",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?NetworkInsightsPathId=&Action=&Version=#Action=DeleteNetworkInsightsPath');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteNetworkInsightsPath');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'NetworkInsightsPathId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteNetworkInsightsPath');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'NetworkInsightsPathId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?NetworkInsightsPathId=&Action=&Version=#Action=DeleteNetworkInsightsPath' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?NetworkInsightsPathId=&Action=&Version=#Action=DeleteNetworkInsightsPath' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?NetworkInsightsPathId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteNetworkInsightsPath"
querystring = {"NetworkInsightsPathId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteNetworkInsightsPath"
queryString <- list(
NetworkInsightsPathId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?NetworkInsightsPathId=&Action=&Version=#Action=DeleteNetworkInsightsPath")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['NetworkInsightsPathId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteNetworkInsightsPath";
let querystring = [
("NetworkInsightsPathId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?NetworkInsightsPathId=&Action=&Version=#Action=DeleteNetworkInsightsPath'
http GET '{{baseUrl}}/?NetworkInsightsPathId=&Action=&Version=#Action=DeleteNetworkInsightsPath'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?NetworkInsightsPathId=&Action=&Version=#Action=DeleteNetworkInsightsPath'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?NetworkInsightsPathId=&Action=&Version=#Action=DeleteNetworkInsightsPath")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteNetworkInterface
{{baseUrl}}/#Action=DeleteNetworkInterface
QUERY PARAMS
NetworkInterfaceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DeleteNetworkInterface");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteNetworkInterface" {:query-params {:NetworkInterfaceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DeleteNetworkInterface"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DeleteNetworkInterface"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DeleteNetworkInterface");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DeleteNetworkInterface"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?NetworkInterfaceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DeleteNetworkInterface")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DeleteNetworkInterface"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DeleteNetworkInterface")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DeleteNetworkInterface")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DeleteNetworkInterface');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteNetworkInterface',
params: {NetworkInterfaceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DeleteNetworkInterface';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DeleteNetworkInterface',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DeleteNetworkInterface")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?NetworkInterfaceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteNetworkInterface',
qs: {NetworkInterfaceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteNetworkInterface');
req.query({
NetworkInterfaceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteNetworkInterface',
params: {NetworkInterfaceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DeleteNetworkInterface';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DeleteNetworkInterface"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DeleteNetworkInterface" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DeleteNetworkInterface",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DeleteNetworkInterface');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteNetworkInterface');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'NetworkInterfaceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteNetworkInterface');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'NetworkInterfaceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DeleteNetworkInterface' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DeleteNetworkInterface' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?NetworkInterfaceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteNetworkInterface"
querystring = {"NetworkInterfaceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteNetworkInterface"
queryString <- list(
NetworkInterfaceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DeleteNetworkInterface")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['NetworkInterfaceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteNetworkInterface";
let querystring = [
("NetworkInterfaceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DeleteNetworkInterface'
http GET '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DeleteNetworkInterface'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DeleteNetworkInterface'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DeleteNetworkInterface")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteNetworkInterfacePermission
{{baseUrl}}/#Action=DeleteNetworkInterfacePermission
QUERY PARAMS
NetworkInterfacePermissionId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?NetworkInterfacePermissionId=&Action=&Version=#Action=DeleteNetworkInterfacePermission");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteNetworkInterfacePermission" {:query-params {:NetworkInterfacePermissionId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?NetworkInterfacePermissionId=&Action=&Version=#Action=DeleteNetworkInterfacePermission"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?NetworkInterfacePermissionId=&Action=&Version=#Action=DeleteNetworkInterfacePermission"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?NetworkInterfacePermissionId=&Action=&Version=#Action=DeleteNetworkInterfacePermission");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?NetworkInterfacePermissionId=&Action=&Version=#Action=DeleteNetworkInterfacePermission"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?NetworkInterfacePermissionId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?NetworkInterfacePermissionId=&Action=&Version=#Action=DeleteNetworkInterfacePermission")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?NetworkInterfacePermissionId=&Action=&Version=#Action=DeleteNetworkInterfacePermission"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?NetworkInterfacePermissionId=&Action=&Version=#Action=DeleteNetworkInterfacePermission")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?NetworkInterfacePermissionId=&Action=&Version=#Action=DeleteNetworkInterfacePermission")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?NetworkInterfacePermissionId=&Action=&Version=#Action=DeleteNetworkInterfacePermission');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteNetworkInterfacePermission',
params: {NetworkInterfacePermissionId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?NetworkInterfacePermissionId=&Action=&Version=#Action=DeleteNetworkInterfacePermission';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?NetworkInterfacePermissionId=&Action=&Version=#Action=DeleteNetworkInterfacePermission',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?NetworkInterfacePermissionId=&Action=&Version=#Action=DeleteNetworkInterfacePermission")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?NetworkInterfacePermissionId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteNetworkInterfacePermission',
qs: {NetworkInterfacePermissionId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteNetworkInterfacePermission');
req.query({
NetworkInterfacePermissionId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteNetworkInterfacePermission',
params: {NetworkInterfacePermissionId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?NetworkInterfacePermissionId=&Action=&Version=#Action=DeleteNetworkInterfacePermission';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?NetworkInterfacePermissionId=&Action=&Version=#Action=DeleteNetworkInterfacePermission"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?NetworkInterfacePermissionId=&Action=&Version=#Action=DeleteNetworkInterfacePermission" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?NetworkInterfacePermissionId=&Action=&Version=#Action=DeleteNetworkInterfacePermission",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?NetworkInterfacePermissionId=&Action=&Version=#Action=DeleteNetworkInterfacePermission');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteNetworkInterfacePermission');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'NetworkInterfacePermissionId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteNetworkInterfacePermission');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'NetworkInterfacePermissionId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?NetworkInterfacePermissionId=&Action=&Version=#Action=DeleteNetworkInterfacePermission' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?NetworkInterfacePermissionId=&Action=&Version=#Action=DeleteNetworkInterfacePermission' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?NetworkInterfacePermissionId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteNetworkInterfacePermission"
querystring = {"NetworkInterfacePermissionId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteNetworkInterfacePermission"
queryString <- list(
NetworkInterfacePermissionId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?NetworkInterfacePermissionId=&Action=&Version=#Action=DeleteNetworkInterfacePermission")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['NetworkInterfacePermissionId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteNetworkInterfacePermission";
let querystring = [
("NetworkInterfacePermissionId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?NetworkInterfacePermissionId=&Action=&Version=#Action=DeleteNetworkInterfacePermission'
http GET '{{baseUrl}}/?NetworkInterfacePermissionId=&Action=&Version=#Action=DeleteNetworkInterfacePermission'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?NetworkInterfacePermissionId=&Action=&Version=#Action=DeleteNetworkInterfacePermission'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?NetworkInterfacePermissionId=&Action=&Version=#Action=DeleteNetworkInterfacePermission")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeletePlacementGroup
{{baseUrl}}/#Action=DeletePlacementGroup
QUERY PARAMS
GroupName
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?GroupName=&Action=&Version=#Action=DeletePlacementGroup");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeletePlacementGroup" {:query-params {:GroupName ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?GroupName=&Action=&Version=#Action=DeletePlacementGroup"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?GroupName=&Action=&Version=#Action=DeletePlacementGroup"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?GroupName=&Action=&Version=#Action=DeletePlacementGroup");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?GroupName=&Action=&Version=#Action=DeletePlacementGroup"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?GroupName=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?GroupName=&Action=&Version=#Action=DeletePlacementGroup")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?GroupName=&Action=&Version=#Action=DeletePlacementGroup"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?GroupName=&Action=&Version=#Action=DeletePlacementGroup")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?GroupName=&Action=&Version=#Action=DeletePlacementGroup")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?GroupName=&Action=&Version=#Action=DeletePlacementGroup');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeletePlacementGroup',
params: {GroupName: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?GroupName=&Action=&Version=#Action=DeletePlacementGroup';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?GroupName=&Action=&Version=#Action=DeletePlacementGroup',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?GroupName=&Action=&Version=#Action=DeletePlacementGroup")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?GroupName=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeletePlacementGroup',
qs: {GroupName: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeletePlacementGroup');
req.query({
GroupName: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeletePlacementGroup',
params: {GroupName: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?GroupName=&Action=&Version=#Action=DeletePlacementGroup';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?GroupName=&Action=&Version=#Action=DeletePlacementGroup"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?GroupName=&Action=&Version=#Action=DeletePlacementGroup" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?GroupName=&Action=&Version=#Action=DeletePlacementGroup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?GroupName=&Action=&Version=#Action=DeletePlacementGroup');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeletePlacementGroup');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'GroupName' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeletePlacementGroup');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'GroupName' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?GroupName=&Action=&Version=#Action=DeletePlacementGroup' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?GroupName=&Action=&Version=#Action=DeletePlacementGroup' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?GroupName=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeletePlacementGroup"
querystring = {"GroupName":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeletePlacementGroup"
queryString <- list(
GroupName = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?GroupName=&Action=&Version=#Action=DeletePlacementGroup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['GroupName'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeletePlacementGroup";
let querystring = [
("GroupName", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?GroupName=&Action=&Version=#Action=DeletePlacementGroup'
http GET '{{baseUrl}}/?GroupName=&Action=&Version=#Action=DeletePlacementGroup'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?GroupName=&Action=&Version=#Action=DeletePlacementGroup'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?GroupName=&Action=&Version=#Action=DeletePlacementGroup")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeletePublicIpv4Pool
{{baseUrl}}/#Action=DeletePublicIpv4Pool
QUERY PARAMS
PoolId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?PoolId=&Action=&Version=#Action=DeletePublicIpv4Pool");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeletePublicIpv4Pool" {:query-params {:PoolId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?PoolId=&Action=&Version=#Action=DeletePublicIpv4Pool"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?PoolId=&Action=&Version=#Action=DeletePublicIpv4Pool"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?PoolId=&Action=&Version=#Action=DeletePublicIpv4Pool");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?PoolId=&Action=&Version=#Action=DeletePublicIpv4Pool"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?PoolId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?PoolId=&Action=&Version=#Action=DeletePublicIpv4Pool")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?PoolId=&Action=&Version=#Action=DeletePublicIpv4Pool"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?PoolId=&Action=&Version=#Action=DeletePublicIpv4Pool")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?PoolId=&Action=&Version=#Action=DeletePublicIpv4Pool")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?PoolId=&Action=&Version=#Action=DeletePublicIpv4Pool');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeletePublicIpv4Pool',
params: {PoolId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?PoolId=&Action=&Version=#Action=DeletePublicIpv4Pool';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?PoolId=&Action=&Version=#Action=DeletePublicIpv4Pool',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?PoolId=&Action=&Version=#Action=DeletePublicIpv4Pool")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?PoolId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeletePublicIpv4Pool',
qs: {PoolId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeletePublicIpv4Pool');
req.query({
PoolId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeletePublicIpv4Pool',
params: {PoolId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?PoolId=&Action=&Version=#Action=DeletePublicIpv4Pool';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?PoolId=&Action=&Version=#Action=DeletePublicIpv4Pool"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?PoolId=&Action=&Version=#Action=DeletePublicIpv4Pool" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?PoolId=&Action=&Version=#Action=DeletePublicIpv4Pool",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?PoolId=&Action=&Version=#Action=DeletePublicIpv4Pool');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeletePublicIpv4Pool');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'PoolId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeletePublicIpv4Pool');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'PoolId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?PoolId=&Action=&Version=#Action=DeletePublicIpv4Pool' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?PoolId=&Action=&Version=#Action=DeletePublicIpv4Pool' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?PoolId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeletePublicIpv4Pool"
querystring = {"PoolId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeletePublicIpv4Pool"
queryString <- list(
PoolId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?PoolId=&Action=&Version=#Action=DeletePublicIpv4Pool")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['PoolId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeletePublicIpv4Pool";
let querystring = [
("PoolId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?PoolId=&Action=&Version=#Action=DeletePublicIpv4Pool'
http GET '{{baseUrl}}/?PoolId=&Action=&Version=#Action=DeletePublicIpv4Pool'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?PoolId=&Action=&Version=#Action=DeletePublicIpv4Pool'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?PoolId=&Action=&Version=#Action=DeletePublicIpv4Pool")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteQueuedReservedInstances
{{baseUrl}}/#Action=DeleteQueuedReservedInstances
QUERY PARAMS
ReservedInstancesId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ReservedInstancesId=&Action=&Version=#Action=DeleteQueuedReservedInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteQueuedReservedInstances" {:query-params {:ReservedInstancesId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ReservedInstancesId=&Action=&Version=#Action=DeleteQueuedReservedInstances"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ReservedInstancesId=&Action=&Version=#Action=DeleteQueuedReservedInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ReservedInstancesId=&Action=&Version=#Action=DeleteQueuedReservedInstances");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ReservedInstancesId=&Action=&Version=#Action=DeleteQueuedReservedInstances"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ReservedInstancesId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ReservedInstancesId=&Action=&Version=#Action=DeleteQueuedReservedInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ReservedInstancesId=&Action=&Version=#Action=DeleteQueuedReservedInstances"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ReservedInstancesId=&Action=&Version=#Action=DeleteQueuedReservedInstances")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ReservedInstancesId=&Action=&Version=#Action=DeleteQueuedReservedInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ReservedInstancesId=&Action=&Version=#Action=DeleteQueuedReservedInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteQueuedReservedInstances',
params: {ReservedInstancesId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ReservedInstancesId=&Action=&Version=#Action=DeleteQueuedReservedInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ReservedInstancesId=&Action=&Version=#Action=DeleteQueuedReservedInstances',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ReservedInstancesId=&Action=&Version=#Action=DeleteQueuedReservedInstances")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ReservedInstancesId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteQueuedReservedInstances',
qs: {ReservedInstancesId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteQueuedReservedInstances');
req.query({
ReservedInstancesId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteQueuedReservedInstances',
params: {ReservedInstancesId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ReservedInstancesId=&Action=&Version=#Action=DeleteQueuedReservedInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ReservedInstancesId=&Action=&Version=#Action=DeleteQueuedReservedInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ReservedInstancesId=&Action=&Version=#Action=DeleteQueuedReservedInstances" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ReservedInstancesId=&Action=&Version=#Action=DeleteQueuedReservedInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ReservedInstancesId=&Action=&Version=#Action=DeleteQueuedReservedInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteQueuedReservedInstances');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ReservedInstancesId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteQueuedReservedInstances');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ReservedInstancesId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ReservedInstancesId=&Action=&Version=#Action=DeleteQueuedReservedInstances' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ReservedInstancesId=&Action=&Version=#Action=DeleteQueuedReservedInstances' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ReservedInstancesId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteQueuedReservedInstances"
querystring = {"ReservedInstancesId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteQueuedReservedInstances"
queryString <- list(
ReservedInstancesId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ReservedInstancesId=&Action=&Version=#Action=DeleteQueuedReservedInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ReservedInstancesId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteQueuedReservedInstances";
let querystring = [
("ReservedInstancesId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ReservedInstancesId=&Action=&Version=#Action=DeleteQueuedReservedInstances'
http GET '{{baseUrl}}/?ReservedInstancesId=&Action=&Version=#Action=DeleteQueuedReservedInstances'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ReservedInstancesId=&Action=&Version=#Action=DeleteQueuedReservedInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ReservedInstancesId=&Action=&Version=#Action=DeleteQueuedReservedInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteRoute
{{baseUrl}}/#Action=DeleteRoute
QUERY PARAMS
RouteTableId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRoute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteRoute" {:query-params {:RouteTableId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRoute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRoute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRoute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRoute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?RouteTableId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRoute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRoute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRoute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRoute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRoute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteRoute',
params: {RouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRoute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRoute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRoute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?RouteTableId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteRoute',
qs: {RouteTableId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteRoute');
req.query({
RouteTableId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteRoute',
params: {RouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRoute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRoute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRoute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRoute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRoute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteRoute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'RouteTableId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteRoute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'RouteTableId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRoute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRoute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?RouteTableId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteRoute"
querystring = {"RouteTableId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteRoute"
queryString <- list(
RouteTableId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRoute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['RouteTableId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteRoute";
let querystring = [
("RouteTableId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRoute'
http GET '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRoute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRoute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRoute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteRouteTable
{{baseUrl}}/#Action=DeleteRouteTable
QUERY PARAMS
RouteTableId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRouteTable");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteRouteTable" {:query-params {:RouteTableId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRouteTable"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRouteTable"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRouteTable");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRouteTable"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?RouteTableId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRouteTable")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRouteTable"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRouteTable")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRouteTable")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRouteTable');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteRouteTable',
params: {RouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRouteTable';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRouteTable',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRouteTable")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?RouteTableId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteRouteTable',
qs: {RouteTableId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteRouteTable');
req.query({
RouteTableId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteRouteTable',
params: {RouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRouteTable';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRouteTable"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRouteTable" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRouteTable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRouteTable');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteRouteTable');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'RouteTableId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteRouteTable');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'RouteTableId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRouteTable' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRouteTable' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?RouteTableId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteRouteTable"
querystring = {"RouteTableId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteRouteTable"
queryString <- list(
RouteTableId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRouteTable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['RouteTableId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteRouteTable";
let querystring = [
("RouteTableId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRouteTable'
http GET '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRouteTable'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRouteTable'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=DeleteRouteTable")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteSecurityGroup
{{baseUrl}}/#Action=DeleteSecurityGroup
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteSecurityGroup" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteSecurityGroup',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteSecurityGroup',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteSecurityGroup');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteSecurityGroup',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteSecurityGroup');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteSecurityGroup');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteSecurityGroup"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteSecurityGroup"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteSecurityGroup";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup'
http GET '{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteSnapshot
{{baseUrl}}/#Action=DeleteSnapshot
QUERY PARAMS
SnapshotId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=DeleteSnapshot");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteSnapshot" {:query-params {:SnapshotId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=DeleteSnapshot"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=DeleteSnapshot"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=DeleteSnapshot");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=DeleteSnapshot"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?SnapshotId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=DeleteSnapshot")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=DeleteSnapshot"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=DeleteSnapshot")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=DeleteSnapshot")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=DeleteSnapshot');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteSnapshot',
params: {SnapshotId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=DeleteSnapshot';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=DeleteSnapshot',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=DeleteSnapshot")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?SnapshotId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteSnapshot',
qs: {SnapshotId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteSnapshot');
req.query({
SnapshotId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteSnapshot',
params: {SnapshotId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=DeleteSnapshot';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=DeleteSnapshot"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=DeleteSnapshot" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=DeleteSnapshot",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=DeleteSnapshot');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteSnapshot');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'SnapshotId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteSnapshot');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'SnapshotId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=DeleteSnapshot' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=DeleteSnapshot' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?SnapshotId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteSnapshot"
querystring = {"SnapshotId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteSnapshot"
queryString <- list(
SnapshotId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=DeleteSnapshot")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['SnapshotId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteSnapshot";
let querystring = [
("SnapshotId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=DeleteSnapshot'
http GET '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=DeleteSnapshot'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=DeleteSnapshot'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=DeleteSnapshot")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteSpotDatafeedSubscription
{{baseUrl}}/#Action=DeleteSpotDatafeedSubscription
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteSpotDatafeedSubscription" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteSpotDatafeedSubscription',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteSpotDatafeedSubscription',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteSpotDatafeedSubscription');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteSpotDatafeedSubscription',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteSpotDatafeedSubscription');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteSpotDatafeedSubscription');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteSpotDatafeedSubscription"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteSpotDatafeedSubscription"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteSpotDatafeedSubscription";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription'
http GET '{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteSubnet
{{baseUrl}}/#Action=DeleteSubnet
QUERY PARAMS
SubnetId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=DeleteSubnet");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteSubnet" {:query-params {:SubnetId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=DeleteSubnet"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=DeleteSubnet"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=DeleteSubnet");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=DeleteSubnet"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?SubnetId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=DeleteSubnet")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=DeleteSubnet"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=DeleteSubnet")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=DeleteSubnet")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=DeleteSubnet');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteSubnet',
params: {SubnetId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=DeleteSubnet';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=DeleteSubnet',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=DeleteSubnet")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?SubnetId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteSubnet',
qs: {SubnetId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteSubnet');
req.query({
SubnetId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteSubnet',
params: {SubnetId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=DeleteSubnet';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?SubnetId=&Action=&Version=#Action=DeleteSubnet"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=DeleteSubnet" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?SubnetId=&Action=&Version=#Action=DeleteSubnet",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=DeleteSubnet');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteSubnet');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'SubnetId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteSubnet');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'SubnetId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=DeleteSubnet' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=DeleteSubnet' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?SubnetId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteSubnet"
querystring = {"SubnetId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteSubnet"
queryString <- list(
SubnetId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=DeleteSubnet")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['SubnetId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteSubnet";
let querystring = [
("SubnetId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=DeleteSubnet'
http GET '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=DeleteSubnet'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=DeleteSubnet'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=DeleteSubnet")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteSubnetCidrReservation
{{baseUrl}}/#Action=DeleteSubnetCidrReservation
QUERY PARAMS
SubnetCidrReservationId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?SubnetCidrReservationId=&Action=&Version=#Action=DeleteSubnetCidrReservation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteSubnetCidrReservation" {:query-params {:SubnetCidrReservationId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?SubnetCidrReservationId=&Action=&Version=#Action=DeleteSubnetCidrReservation"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?SubnetCidrReservationId=&Action=&Version=#Action=DeleteSubnetCidrReservation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?SubnetCidrReservationId=&Action=&Version=#Action=DeleteSubnetCidrReservation");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?SubnetCidrReservationId=&Action=&Version=#Action=DeleteSubnetCidrReservation"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?SubnetCidrReservationId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?SubnetCidrReservationId=&Action=&Version=#Action=DeleteSubnetCidrReservation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?SubnetCidrReservationId=&Action=&Version=#Action=DeleteSubnetCidrReservation"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?SubnetCidrReservationId=&Action=&Version=#Action=DeleteSubnetCidrReservation")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?SubnetCidrReservationId=&Action=&Version=#Action=DeleteSubnetCidrReservation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?SubnetCidrReservationId=&Action=&Version=#Action=DeleteSubnetCidrReservation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteSubnetCidrReservation',
params: {SubnetCidrReservationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?SubnetCidrReservationId=&Action=&Version=#Action=DeleteSubnetCidrReservation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?SubnetCidrReservationId=&Action=&Version=#Action=DeleteSubnetCidrReservation',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?SubnetCidrReservationId=&Action=&Version=#Action=DeleteSubnetCidrReservation")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?SubnetCidrReservationId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteSubnetCidrReservation',
qs: {SubnetCidrReservationId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteSubnetCidrReservation');
req.query({
SubnetCidrReservationId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteSubnetCidrReservation',
params: {SubnetCidrReservationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?SubnetCidrReservationId=&Action=&Version=#Action=DeleteSubnetCidrReservation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?SubnetCidrReservationId=&Action=&Version=#Action=DeleteSubnetCidrReservation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?SubnetCidrReservationId=&Action=&Version=#Action=DeleteSubnetCidrReservation" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?SubnetCidrReservationId=&Action=&Version=#Action=DeleteSubnetCidrReservation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?SubnetCidrReservationId=&Action=&Version=#Action=DeleteSubnetCidrReservation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteSubnetCidrReservation');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'SubnetCidrReservationId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteSubnetCidrReservation');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'SubnetCidrReservationId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?SubnetCidrReservationId=&Action=&Version=#Action=DeleteSubnetCidrReservation' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?SubnetCidrReservationId=&Action=&Version=#Action=DeleteSubnetCidrReservation' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?SubnetCidrReservationId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteSubnetCidrReservation"
querystring = {"SubnetCidrReservationId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteSubnetCidrReservation"
queryString <- list(
SubnetCidrReservationId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?SubnetCidrReservationId=&Action=&Version=#Action=DeleteSubnetCidrReservation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['SubnetCidrReservationId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteSubnetCidrReservation";
let querystring = [
("SubnetCidrReservationId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?SubnetCidrReservationId=&Action=&Version=#Action=DeleteSubnetCidrReservation'
http GET '{{baseUrl}}/?SubnetCidrReservationId=&Action=&Version=#Action=DeleteSubnetCidrReservation'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?SubnetCidrReservationId=&Action=&Version=#Action=DeleteSubnetCidrReservation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?SubnetCidrReservationId=&Action=&Version=#Action=DeleteSubnetCidrReservation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteTags
{{baseUrl}}/#Action=DeleteTags
QUERY PARAMS
ResourceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ResourceId=&Action=&Version=#Action=DeleteTags");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteTags" {:query-params {:ResourceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ResourceId=&Action=&Version=#Action=DeleteTags"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ResourceId=&Action=&Version=#Action=DeleteTags"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ResourceId=&Action=&Version=#Action=DeleteTags");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ResourceId=&Action=&Version=#Action=DeleteTags"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ResourceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ResourceId=&Action=&Version=#Action=DeleteTags")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ResourceId=&Action=&Version=#Action=DeleteTags"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ResourceId=&Action=&Version=#Action=DeleteTags")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ResourceId=&Action=&Version=#Action=DeleteTags")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ResourceId=&Action=&Version=#Action=DeleteTags');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTags',
params: {ResourceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ResourceId=&Action=&Version=#Action=DeleteTags';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ResourceId=&Action=&Version=#Action=DeleteTags',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ResourceId=&Action=&Version=#Action=DeleteTags")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ResourceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTags',
qs: {ResourceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteTags');
req.query({
ResourceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTags',
params: {ResourceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ResourceId=&Action=&Version=#Action=DeleteTags';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ResourceId=&Action=&Version=#Action=DeleteTags"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ResourceId=&Action=&Version=#Action=DeleteTags" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ResourceId=&Action=&Version=#Action=DeleteTags",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ResourceId=&Action=&Version=#Action=DeleteTags');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTags');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ResourceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTags');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ResourceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ResourceId=&Action=&Version=#Action=DeleteTags' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ResourceId=&Action=&Version=#Action=DeleteTags' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ResourceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTags"
querystring = {"ResourceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTags"
queryString <- list(
ResourceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ResourceId=&Action=&Version=#Action=DeleteTags")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ResourceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTags";
let querystring = [
("ResourceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ResourceId=&Action=&Version=#Action=DeleteTags'
http GET '{{baseUrl}}/?ResourceId=&Action=&Version=#Action=DeleteTags'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ResourceId=&Action=&Version=#Action=DeleteTags'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ResourceId=&Action=&Version=#Action=DeleteTags")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteTrafficMirrorFilter
{{baseUrl}}/#Action=DeleteTrafficMirrorFilter
QUERY PARAMS
TrafficMirrorFilterId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=DeleteTrafficMirrorFilter");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteTrafficMirrorFilter" {:query-params {:TrafficMirrorFilterId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=DeleteTrafficMirrorFilter"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=DeleteTrafficMirrorFilter"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=DeleteTrafficMirrorFilter");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=DeleteTrafficMirrorFilter"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TrafficMirrorFilterId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=DeleteTrafficMirrorFilter")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=DeleteTrafficMirrorFilter"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=DeleteTrafficMirrorFilter")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=DeleteTrafficMirrorFilter")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=DeleteTrafficMirrorFilter');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTrafficMirrorFilter',
params: {TrafficMirrorFilterId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=DeleteTrafficMirrorFilter';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=DeleteTrafficMirrorFilter',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=DeleteTrafficMirrorFilter")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TrafficMirrorFilterId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTrafficMirrorFilter',
qs: {TrafficMirrorFilterId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteTrafficMirrorFilter');
req.query({
TrafficMirrorFilterId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTrafficMirrorFilter',
params: {TrafficMirrorFilterId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=DeleteTrafficMirrorFilter';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=DeleteTrafficMirrorFilter"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=DeleteTrafficMirrorFilter" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=DeleteTrafficMirrorFilter",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=DeleteTrafficMirrorFilter');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTrafficMirrorFilter');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TrafficMirrorFilterId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTrafficMirrorFilter');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TrafficMirrorFilterId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=DeleteTrafficMirrorFilter' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=DeleteTrafficMirrorFilter' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TrafficMirrorFilterId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTrafficMirrorFilter"
querystring = {"TrafficMirrorFilterId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTrafficMirrorFilter"
queryString <- list(
TrafficMirrorFilterId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=DeleteTrafficMirrorFilter")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TrafficMirrorFilterId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTrafficMirrorFilter";
let querystring = [
("TrafficMirrorFilterId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=DeleteTrafficMirrorFilter'
http GET '{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=DeleteTrafficMirrorFilter'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=DeleteTrafficMirrorFilter'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=DeleteTrafficMirrorFilter")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteTrafficMirrorFilterRule
{{baseUrl}}/#Action=DeleteTrafficMirrorFilterRule
QUERY PARAMS
TrafficMirrorFilterRuleId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=DeleteTrafficMirrorFilterRule");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteTrafficMirrorFilterRule" {:query-params {:TrafficMirrorFilterRuleId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=DeleteTrafficMirrorFilterRule"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=DeleteTrafficMirrorFilterRule"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=DeleteTrafficMirrorFilterRule");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=DeleteTrafficMirrorFilterRule"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TrafficMirrorFilterRuleId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=DeleteTrafficMirrorFilterRule")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=DeleteTrafficMirrorFilterRule"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=DeleteTrafficMirrorFilterRule")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=DeleteTrafficMirrorFilterRule")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=DeleteTrafficMirrorFilterRule');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTrafficMirrorFilterRule',
params: {TrafficMirrorFilterRuleId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=DeleteTrafficMirrorFilterRule';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=DeleteTrafficMirrorFilterRule',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=DeleteTrafficMirrorFilterRule")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TrafficMirrorFilterRuleId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTrafficMirrorFilterRule',
qs: {TrafficMirrorFilterRuleId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteTrafficMirrorFilterRule');
req.query({
TrafficMirrorFilterRuleId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTrafficMirrorFilterRule',
params: {TrafficMirrorFilterRuleId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=DeleteTrafficMirrorFilterRule';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=DeleteTrafficMirrorFilterRule"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=DeleteTrafficMirrorFilterRule" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=DeleteTrafficMirrorFilterRule",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=DeleteTrafficMirrorFilterRule');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTrafficMirrorFilterRule');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TrafficMirrorFilterRuleId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTrafficMirrorFilterRule');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TrafficMirrorFilterRuleId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=DeleteTrafficMirrorFilterRule' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=DeleteTrafficMirrorFilterRule' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TrafficMirrorFilterRuleId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTrafficMirrorFilterRule"
querystring = {"TrafficMirrorFilterRuleId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTrafficMirrorFilterRule"
queryString <- list(
TrafficMirrorFilterRuleId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=DeleteTrafficMirrorFilterRule")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TrafficMirrorFilterRuleId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTrafficMirrorFilterRule";
let querystring = [
("TrafficMirrorFilterRuleId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=DeleteTrafficMirrorFilterRule'
http GET '{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=DeleteTrafficMirrorFilterRule'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=DeleteTrafficMirrorFilterRule'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=DeleteTrafficMirrorFilterRule")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteTrafficMirrorSession
{{baseUrl}}/#Action=DeleteTrafficMirrorSession
QUERY PARAMS
TrafficMirrorSessionId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=DeleteTrafficMirrorSession");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteTrafficMirrorSession" {:query-params {:TrafficMirrorSessionId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=DeleteTrafficMirrorSession"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=DeleteTrafficMirrorSession"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=DeleteTrafficMirrorSession");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=DeleteTrafficMirrorSession"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TrafficMirrorSessionId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=DeleteTrafficMirrorSession")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=DeleteTrafficMirrorSession"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=DeleteTrafficMirrorSession")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=DeleteTrafficMirrorSession")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=DeleteTrafficMirrorSession');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTrafficMirrorSession',
params: {TrafficMirrorSessionId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=DeleteTrafficMirrorSession';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=DeleteTrafficMirrorSession',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=DeleteTrafficMirrorSession")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TrafficMirrorSessionId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTrafficMirrorSession',
qs: {TrafficMirrorSessionId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteTrafficMirrorSession');
req.query({
TrafficMirrorSessionId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTrafficMirrorSession',
params: {TrafficMirrorSessionId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=DeleteTrafficMirrorSession';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=DeleteTrafficMirrorSession"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=DeleteTrafficMirrorSession" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=DeleteTrafficMirrorSession",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=DeleteTrafficMirrorSession');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTrafficMirrorSession');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TrafficMirrorSessionId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTrafficMirrorSession');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TrafficMirrorSessionId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=DeleteTrafficMirrorSession' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=DeleteTrafficMirrorSession' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TrafficMirrorSessionId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTrafficMirrorSession"
querystring = {"TrafficMirrorSessionId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTrafficMirrorSession"
queryString <- list(
TrafficMirrorSessionId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=DeleteTrafficMirrorSession")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TrafficMirrorSessionId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTrafficMirrorSession";
let querystring = [
("TrafficMirrorSessionId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=DeleteTrafficMirrorSession'
http GET '{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=DeleteTrafficMirrorSession'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=DeleteTrafficMirrorSession'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=DeleteTrafficMirrorSession")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteTrafficMirrorTarget
{{baseUrl}}/#Action=DeleteTrafficMirrorTarget
QUERY PARAMS
TrafficMirrorTargetId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TrafficMirrorTargetId=&Action=&Version=#Action=DeleteTrafficMirrorTarget");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteTrafficMirrorTarget" {:query-params {:TrafficMirrorTargetId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TrafficMirrorTargetId=&Action=&Version=#Action=DeleteTrafficMirrorTarget"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TrafficMirrorTargetId=&Action=&Version=#Action=DeleteTrafficMirrorTarget"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TrafficMirrorTargetId=&Action=&Version=#Action=DeleteTrafficMirrorTarget");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TrafficMirrorTargetId=&Action=&Version=#Action=DeleteTrafficMirrorTarget"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TrafficMirrorTargetId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TrafficMirrorTargetId=&Action=&Version=#Action=DeleteTrafficMirrorTarget")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TrafficMirrorTargetId=&Action=&Version=#Action=DeleteTrafficMirrorTarget"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TrafficMirrorTargetId=&Action=&Version=#Action=DeleteTrafficMirrorTarget")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TrafficMirrorTargetId=&Action=&Version=#Action=DeleteTrafficMirrorTarget")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TrafficMirrorTargetId=&Action=&Version=#Action=DeleteTrafficMirrorTarget');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTrafficMirrorTarget',
params: {TrafficMirrorTargetId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TrafficMirrorTargetId=&Action=&Version=#Action=DeleteTrafficMirrorTarget';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TrafficMirrorTargetId=&Action=&Version=#Action=DeleteTrafficMirrorTarget',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TrafficMirrorTargetId=&Action=&Version=#Action=DeleteTrafficMirrorTarget")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TrafficMirrorTargetId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTrafficMirrorTarget',
qs: {TrafficMirrorTargetId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteTrafficMirrorTarget');
req.query({
TrafficMirrorTargetId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTrafficMirrorTarget',
params: {TrafficMirrorTargetId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TrafficMirrorTargetId=&Action=&Version=#Action=DeleteTrafficMirrorTarget';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TrafficMirrorTargetId=&Action=&Version=#Action=DeleteTrafficMirrorTarget"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TrafficMirrorTargetId=&Action=&Version=#Action=DeleteTrafficMirrorTarget" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TrafficMirrorTargetId=&Action=&Version=#Action=DeleteTrafficMirrorTarget",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TrafficMirrorTargetId=&Action=&Version=#Action=DeleteTrafficMirrorTarget');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTrafficMirrorTarget');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TrafficMirrorTargetId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTrafficMirrorTarget');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TrafficMirrorTargetId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TrafficMirrorTargetId=&Action=&Version=#Action=DeleteTrafficMirrorTarget' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TrafficMirrorTargetId=&Action=&Version=#Action=DeleteTrafficMirrorTarget' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TrafficMirrorTargetId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTrafficMirrorTarget"
querystring = {"TrafficMirrorTargetId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTrafficMirrorTarget"
queryString <- list(
TrafficMirrorTargetId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TrafficMirrorTargetId=&Action=&Version=#Action=DeleteTrafficMirrorTarget")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TrafficMirrorTargetId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTrafficMirrorTarget";
let querystring = [
("TrafficMirrorTargetId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TrafficMirrorTargetId=&Action=&Version=#Action=DeleteTrafficMirrorTarget'
http GET '{{baseUrl}}/?TrafficMirrorTargetId=&Action=&Version=#Action=DeleteTrafficMirrorTarget'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TrafficMirrorTargetId=&Action=&Version=#Action=DeleteTrafficMirrorTarget'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TrafficMirrorTargetId=&Action=&Version=#Action=DeleteTrafficMirrorTarget")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteTransitGateway
{{baseUrl}}/#Action=DeleteTransitGateway
QUERY PARAMS
TransitGatewayId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=DeleteTransitGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteTransitGateway" {:query-params {:TransitGatewayId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=DeleteTransitGateway"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=DeleteTransitGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=DeleteTransitGateway");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=DeleteTransitGateway"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=DeleteTransitGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=DeleteTransitGateway"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=DeleteTransitGateway")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=DeleteTransitGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=DeleteTransitGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGateway',
params: {TransitGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=DeleteTransitGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=DeleteTransitGateway',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=DeleteTransitGateway")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGateway',
qs: {TransitGatewayId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteTransitGateway');
req.query({
TransitGatewayId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGateway',
params: {TransitGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=DeleteTransitGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=DeleteTransitGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=DeleteTransitGateway" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=DeleteTransitGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=DeleteTransitGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTransitGateway');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTransitGateway');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=DeleteTransitGateway' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=DeleteTransitGateway' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTransitGateway"
querystring = {"TransitGatewayId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTransitGateway"
queryString <- list(
TransitGatewayId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=DeleteTransitGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTransitGateway";
let querystring = [
("TransitGatewayId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=DeleteTransitGateway'
http GET '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=DeleteTransitGateway'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=DeleteTransitGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=DeleteTransitGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteTransitGatewayConnect
{{baseUrl}}/#Action=DeleteTransitGatewayConnect
QUERY PARAMS
TransitGatewayAttachmentId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayConnect");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteTransitGatewayConnect" {:query-params {:TransitGatewayAttachmentId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayConnect"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayConnect"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayConnect");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayConnect"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayAttachmentId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayConnect")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayConnect"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayConnect")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayConnect")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayConnect');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayConnect',
params: {TransitGatewayAttachmentId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayConnect';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayConnect',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayConnect")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayAttachmentId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayConnect',
qs: {TransitGatewayAttachmentId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteTransitGatewayConnect');
req.query({
TransitGatewayAttachmentId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayConnect',
params: {TransitGatewayAttachmentId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayConnect';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayConnect"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayConnect" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayConnect",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayConnect');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTransitGatewayConnect');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayAttachmentId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTransitGatewayConnect');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayAttachmentId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayConnect' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayConnect' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayAttachmentId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTransitGatewayConnect"
querystring = {"TransitGatewayAttachmentId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTransitGatewayConnect"
queryString <- list(
TransitGatewayAttachmentId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayConnect")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayAttachmentId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTransitGatewayConnect";
let querystring = [
("TransitGatewayAttachmentId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayConnect'
http GET '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayConnect'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayConnect'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayConnect")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteTransitGatewayConnectPeer
{{baseUrl}}/#Action=DeleteTransitGatewayConnectPeer
QUERY PARAMS
TransitGatewayConnectPeerId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayConnectPeerId=&Action=&Version=#Action=DeleteTransitGatewayConnectPeer");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteTransitGatewayConnectPeer" {:query-params {:TransitGatewayConnectPeerId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayConnectPeerId=&Action=&Version=#Action=DeleteTransitGatewayConnectPeer"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayConnectPeerId=&Action=&Version=#Action=DeleteTransitGatewayConnectPeer"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayConnectPeerId=&Action=&Version=#Action=DeleteTransitGatewayConnectPeer");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayConnectPeerId=&Action=&Version=#Action=DeleteTransitGatewayConnectPeer"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayConnectPeerId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayConnectPeerId=&Action=&Version=#Action=DeleteTransitGatewayConnectPeer")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayConnectPeerId=&Action=&Version=#Action=DeleteTransitGatewayConnectPeer"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayConnectPeerId=&Action=&Version=#Action=DeleteTransitGatewayConnectPeer")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayConnectPeerId=&Action=&Version=#Action=DeleteTransitGatewayConnectPeer")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayConnectPeerId=&Action=&Version=#Action=DeleteTransitGatewayConnectPeer');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayConnectPeer',
params: {TransitGatewayConnectPeerId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayConnectPeerId=&Action=&Version=#Action=DeleteTransitGatewayConnectPeer';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayConnectPeerId=&Action=&Version=#Action=DeleteTransitGatewayConnectPeer',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayConnectPeerId=&Action=&Version=#Action=DeleteTransitGatewayConnectPeer")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayConnectPeerId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayConnectPeer',
qs: {TransitGatewayConnectPeerId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteTransitGatewayConnectPeer');
req.query({
TransitGatewayConnectPeerId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayConnectPeer',
params: {TransitGatewayConnectPeerId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayConnectPeerId=&Action=&Version=#Action=DeleteTransitGatewayConnectPeer';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayConnectPeerId=&Action=&Version=#Action=DeleteTransitGatewayConnectPeer"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayConnectPeerId=&Action=&Version=#Action=DeleteTransitGatewayConnectPeer" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayConnectPeerId=&Action=&Version=#Action=DeleteTransitGatewayConnectPeer",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayConnectPeerId=&Action=&Version=#Action=DeleteTransitGatewayConnectPeer');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTransitGatewayConnectPeer');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayConnectPeerId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTransitGatewayConnectPeer');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayConnectPeerId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayConnectPeerId=&Action=&Version=#Action=DeleteTransitGatewayConnectPeer' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayConnectPeerId=&Action=&Version=#Action=DeleteTransitGatewayConnectPeer' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayConnectPeerId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTransitGatewayConnectPeer"
querystring = {"TransitGatewayConnectPeerId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTransitGatewayConnectPeer"
queryString <- list(
TransitGatewayConnectPeerId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayConnectPeerId=&Action=&Version=#Action=DeleteTransitGatewayConnectPeer")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayConnectPeerId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTransitGatewayConnectPeer";
let querystring = [
("TransitGatewayConnectPeerId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayConnectPeerId=&Action=&Version=#Action=DeleteTransitGatewayConnectPeer'
http GET '{{baseUrl}}/?TransitGatewayConnectPeerId=&Action=&Version=#Action=DeleteTransitGatewayConnectPeer'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayConnectPeerId=&Action=&Version=#Action=DeleteTransitGatewayConnectPeer'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayConnectPeerId=&Action=&Version=#Action=DeleteTransitGatewayConnectPeer")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteTransitGatewayMulticastDomain
{{baseUrl}}/#Action=DeleteTransitGatewayMulticastDomain
QUERY PARAMS
TransitGatewayMulticastDomainId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=DeleteTransitGatewayMulticastDomain");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteTransitGatewayMulticastDomain" {:query-params {:TransitGatewayMulticastDomainId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=DeleteTransitGatewayMulticastDomain"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=DeleteTransitGatewayMulticastDomain"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=DeleteTransitGatewayMulticastDomain");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=DeleteTransitGatewayMulticastDomain"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayMulticastDomainId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=DeleteTransitGatewayMulticastDomain")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=DeleteTransitGatewayMulticastDomain"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=DeleteTransitGatewayMulticastDomain")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=DeleteTransitGatewayMulticastDomain")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=DeleteTransitGatewayMulticastDomain');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayMulticastDomain',
params: {TransitGatewayMulticastDomainId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=DeleteTransitGatewayMulticastDomain';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=DeleteTransitGatewayMulticastDomain',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=DeleteTransitGatewayMulticastDomain")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayMulticastDomainId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayMulticastDomain',
qs: {TransitGatewayMulticastDomainId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteTransitGatewayMulticastDomain');
req.query({
TransitGatewayMulticastDomainId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayMulticastDomain',
params: {TransitGatewayMulticastDomainId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=DeleteTransitGatewayMulticastDomain';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=DeleteTransitGatewayMulticastDomain"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=DeleteTransitGatewayMulticastDomain" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=DeleteTransitGatewayMulticastDomain",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=DeleteTransitGatewayMulticastDomain');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTransitGatewayMulticastDomain');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayMulticastDomainId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTransitGatewayMulticastDomain');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayMulticastDomainId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=DeleteTransitGatewayMulticastDomain' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=DeleteTransitGatewayMulticastDomain' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayMulticastDomainId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTransitGatewayMulticastDomain"
querystring = {"TransitGatewayMulticastDomainId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTransitGatewayMulticastDomain"
queryString <- list(
TransitGatewayMulticastDomainId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=DeleteTransitGatewayMulticastDomain")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayMulticastDomainId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTransitGatewayMulticastDomain";
let querystring = [
("TransitGatewayMulticastDomainId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=DeleteTransitGatewayMulticastDomain'
http GET '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=DeleteTransitGatewayMulticastDomain'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=DeleteTransitGatewayMulticastDomain'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=DeleteTransitGatewayMulticastDomain")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteTransitGatewayPeeringAttachment
{{baseUrl}}/#Action=DeleteTransitGatewayPeeringAttachment
QUERY PARAMS
TransitGatewayAttachmentId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteTransitGatewayPeeringAttachment" {:query-params {:TransitGatewayAttachmentId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayAttachmentId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayPeeringAttachment',
params: {TransitGatewayAttachmentId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayAttachmentId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayPeeringAttachment',
qs: {TransitGatewayAttachmentId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteTransitGatewayPeeringAttachment');
req.query({
TransitGatewayAttachmentId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayPeeringAttachment',
params: {TransitGatewayAttachmentId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTransitGatewayPeeringAttachment');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayAttachmentId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTransitGatewayPeeringAttachment');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayAttachmentId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayAttachmentId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTransitGatewayPeeringAttachment"
querystring = {"TransitGatewayAttachmentId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTransitGatewayPeeringAttachment"
queryString <- list(
TransitGatewayAttachmentId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayAttachmentId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTransitGatewayPeeringAttachment";
let querystring = [
("TransitGatewayAttachmentId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment'
http GET '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteTransitGatewayPolicyTable
{{baseUrl}}/#Action=DeleteTransitGatewayPolicyTable
QUERY PARAMS
TransitGatewayPolicyTableId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=DeleteTransitGatewayPolicyTable");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteTransitGatewayPolicyTable" {:query-params {:TransitGatewayPolicyTableId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=DeleteTransitGatewayPolicyTable"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=DeleteTransitGatewayPolicyTable"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=DeleteTransitGatewayPolicyTable");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=DeleteTransitGatewayPolicyTable"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayPolicyTableId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=DeleteTransitGatewayPolicyTable")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=DeleteTransitGatewayPolicyTable"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=DeleteTransitGatewayPolicyTable")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=DeleteTransitGatewayPolicyTable")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=DeleteTransitGatewayPolicyTable');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayPolicyTable',
params: {TransitGatewayPolicyTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=DeleteTransitGatewayPolicyTable';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=DeleteTransitGatewayPolicyTable',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=DeleteTransitGatewayPolicyTable")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayPolicyTableId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayPolicyTable',
qs: {TransitGatewayPolicyTableId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteTransitGatewayPolicyTable');
req.query({
TransitGatewayPolicyTableId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayPolicyTable',
params: {TransitGatewayPolicyTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=DeleteTransitGatewayPolicyTable';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=DeleteTransitGatewayPolicyTable"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=DeleteTransitGatewayPolicyTable" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=DeleteTransitGatewayPolicyTable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=DeleteTransitGatewayPolicyTable');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTransitGatewayPolicyTable');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayPolicyTableId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTransitGatewayPolicyTable');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayPolicyTableId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=DeleteTransitGatewayPolicyTable' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=DeleteTransitGatewayPolicyTable' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayPolicyTableId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTransitGatewayPolicyTable"
querystring = {"TransitGatewayPolicyTableId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTransitGatewayPolicyTable"
queryString <- list(
TransitGatewayPolicyTableId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=DeleteTransitGatewayPolicyTable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayPolicyTableId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTransitGatewayPolicyTable";
let querystring = [
("TransitGatewayPolicyTableId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=DeleteTransitGatewayPolicyTable'
http GET '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=DeleteTransitGatewayPolicyTable'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=DeleteTransitGatewayPolicyTable'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=DeleteTransitGatewayPolicyTable")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteTransitGatewayPrefixListReference
{{baseUrl}}/#Action=DeleteTransitGatewayPrefixListReference
QUERY PARAMS
TransitGatewayRouteTableId
PrefixListId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=DeleteTransitGatewayPrefixListReference");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteTransitGatewayPrefixListReference" {:query-params {:TransitGatewayRouteTableId ""
:PrefixListId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=DeleteTransitGatewayPrefixListReference"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=DeleteTransitGatewayPrefixListReference"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=DeleteTransitGatewayPrefixListReference");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=DeleteTransitGatewayPrefixListReference"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=DeleteTransitGatewayPrefixListReference")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=DeleteTransitGatewayPrefixListReference"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=DeleteTransitGatewayPrefixListReference")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=DeleteTransitGatewayPrefixListReference")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=DeleteTransitGatewayPrefixListReference');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayPrefixListReference',
params: {TransitGatewayRouteTableId: '', PrefixListId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=DeleteTransitGatewayPrefixListReference';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=DeleteTransitGatewayPrefixListReference',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=DeleteTransitGatewayPrefixListReference")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayPrefixListReference',
qs: {TransitGatewayRouteTableId: '', PrefixListId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteTransitGatewayPrefixListReference');
req.query({
TransitGatewayRouteTableId: '',
PrefixListId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayPrefixListReference',
params: {TransitGatewayRouteTableId: '', PrefixListId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=DeleteTransitGatewayPrefixListReference';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=DeleteTransitGatewayPrefixListReference"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=DeleteTransitGatewayPrefixListReference" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=DeleteTransitGatewayPrefixListReference",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=DeleteTransitGatewayPrefixListReference');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTransitGatewayPrefixListReference');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayRouteTableId' => '',
'PrefixListId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTransitGatewayPrefixListReference');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayRouteTableId' => '',
'PrefixListId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=DeleteTransitGatewayPrefixListReference' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=DeleteTransitGatewayPrefixListReference' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTransitGatewayPrefixListReference"
querystring = {"TransitGatewayRouteTableId":"","PrefixListId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTransitGatewayPrefixListReference"
queryString <- list(
TransitGatewayRouteTableId = "",
PrefixListId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=DeleteTransitGatewayPrefixListReference")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayRouteTableId'] = ''
req.params['PrefixListId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTransitGatewayPrefixListReference";
let querystring = [
("TransitGatewayRouteTableId", ""),
("PrefixListId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=DeleteTransitGatewayPrefixListReference'
http GET '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=DeleteTransitGatewayPrefixListReference'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=DeleteTransitGatewayPrefixListReference'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=DeleteTransitGatewayPrefixListReference")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteTransitGatewayRoute
{{baseUrl}}/#Action=DeleteTransitGatewayRoute
QUERY PARAMS
TransitGatewayRouteTableId
DestinationCidrBlock
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayRouteTableId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteTransitGatewayRoute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteTransitGatewayRoute" {:query-params {:TransitGatewayRouteTableId ""
:DestinationCidrBlock ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayRouteTableId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteTransitGatewayRoute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayRouteTableId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteTransitGatewayRoute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayRouteTableId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteTransitGatewayRoute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayRouteTableId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteTransitGatewayRoute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayRouteTableId=&DestinationCidrBlock=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayRouteTableId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteTransitGatewayRoute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayRouteTableId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteTransitGatewayRoute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteTransitGatewayRoute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayRouteTableId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteTransitGatewayRoute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteTransitGatewayRoute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayRoute',
params: {
TransitGatewayRouteTableId: '',
DestinationCidrBlock: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteTransitGatewayRoute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayRouteTableId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteTransitGatewayRoute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteTransitGatewayRoute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayRouteTableId=&DestinationCidrBlock=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayRoute',
qs: {
TransitGatewayRouteTableId: '',
DestinationCidrBlock: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteTransitGatewayRoute');
req.query({
TransitGatewayRouteTableId: '',
DestinationCidrBlock: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayRoute',
params: {
TransitGatewayRouteTableId: '',
DestinationCidrBlock: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteTransitGatewayRoute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayRouteTableId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteTransitGatewayRoute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayRouteTableId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteTransitGatewayRoute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayRouteTableId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteTransitGatewayRoute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteTransitGatewayRoute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTransitGatewayRoute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayRouteTableId' => '',
'DestinationCidrBlock' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTransitGatewayRoute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayRouteTableId' => '',
'DestinationCidrBlock' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteTransitGatewayRoute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteTransitGatewayRoute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayRouteTableId=&DestinationCidrBlock=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTransitGatewayRoute"
querystring = {"TransitGatewayRouteTableId":"","DestinationCidrBlock":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTransitGatewayRoute"
queryString <- list(
TransitGatewayRouteTableId = "",
DestinationCidrBlock = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayRouteTableId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteTransitGatewayRoute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayRouteTableId'] = ''
req.params['DestinationCidrBlock'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTransitGatewayRoute";
let querystring = [
("TransitGatewayRouteTableId", ""),
("DestinationCidrBlock", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayRouteTableId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteTransitGatewayRoute'
http GET '{{baseUrl}}/?TransitGatewayRouteTableId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteTransitGatewayRoute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayRouteTableId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteTransitGatewayRoute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayRouteTableId=&DestinationCidrBlock=&Action=&Version=#Action=DeleteTransitGatewayRoute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteTransitGatewayRouteTable
{{baseUrl}}/#Action=DeleteTransitGatewayRouteTable
QUERY PARAMS
TransitGatewayRouteTableId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DeleteTransitGatewayRouteTable");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteTransitGatewayRouteTable" {:query-params {:TransitGatewayRouteTableId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DeleteTransitGatewayRouteTable"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DeleteTransitGatewayRouteTable"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DeleteTransitGatewayRouteTable");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DeleteTransitGatewayRouteTable"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayRouteTableId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DeleteTransitGatewayRouteTable")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DeleteTransitGatewayRouteTable"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DeleteTransitGatewayRouteTable")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DeleteTransitGatewayRouteTable")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DeleteTransitGatewayRouteTable');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayRouteTable',
params: {TransitGatewayRouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DeleteTransitGatewayRouteTable';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DeleteTransitGatewayRouteTable',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DeleteTransitGatewayRouteTable")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayRouteTableId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayRouteTable',
qs: {TransitGatewayRouteTableId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteTransitGatewayRouteTable');
req.query({
TransitGatewayRouteTableId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayRouteTable',
params: {TransitGatewayRouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DeleteTransitGatewayRouteTable';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DeleteTransitGatewayRouteTable"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DeleteTransitGatewayRouteTable" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DeleteTransitGatewayRouteTable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DeleteTransitGatewayRouteTable');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTransitGatewayRouteTable');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayRouteTableId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTransitGatewayRouteTable');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayRouteTableId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DeleteTransitGatewayRouteTable' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DeleteTransitGatewayRouteTable' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayRouteTableId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTransitGatewayRouteTable"
querystring = {"TransitGatewayRouteTableId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTransitGatewayRouteTable"
queryString <- list(
TransitGatewayRouteTableId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DeleteTransitGatewayRouteTable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayRouteTableId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTransitGatewayRouteTable";
let querystring = [
("TransitGatewayRouteTableId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DeleteTransitGatewayRouteTable'
http GET '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DeleteTransitGatewayRouteTable'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DeleteTransitGatewayRouteTable'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DeleteTransitGatewayRouteTable")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteTransitGatewayRouteTableAnnouncement
{{baseUrl}}/#Action=DeleteTransitGatewayRouteTableAnnouncement
QUERY PARAMS
TransitGatewayRouteTableAnnouncementId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayRouteTableAnnouncementId=&Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteTransitGatewayRouteTableAnnouncement" {:query-params {:TransitGatewayRouteTableAnnouncementId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayRouteTableAnnouncementId=&Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayRouteTableAnnouncementId=&Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayRouteTableAnnouncementId=&Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayRouteTableAnnouncementId=&Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayRouteTableAnnouncementId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayRouteTableAnnouncementId=&Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayRouteTableAnnouncementId=&Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableAnnouncementId=&Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayRouteTableAnnouncementId=&Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayRouteTableAnnouncementId=&Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayRouteTableAnnouncement',
params: {TransitGatewayRouteTableAnnouncementId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayRouteTableAnnouncementId=&Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayRouteTableAnnouncementId=&Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableAnnouncementId=&Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayRouteTableAnnouncementId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayRouteTableAnnouncement',
qs: {TransitGatewayRouteTableAnnouncementId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteTransitGatewayRouteTableAnnouncement');
req.query({
TransitGatewayRouteTableAnnouncementId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayRouteTableAnnouncement',
params: {TransitGatewayRouteTableAnnouncementId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayRouteTableAnnouncementId=&Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayRouteTableAnnouncementId=&Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayRouteTableAnnouncementId=&Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayRouteTableAnnouncementId=&Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayRouteTableAnnouncementId=&Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTransitGatewayRouteTableAnnouncement');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayRouteTableAnnouncementId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTransitGatewayRouteTableAnnouncement');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayRouteTableAnnouncementId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayRouteTableAnnouncementId=&Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayRouteTableAnnouncementId=&Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayRouteTableAnnouncementId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTransitGatewayRouteTableAnnouncement"
querystring = {"TransitGatewayRouteTableAnnouncementId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTransitGatewayRouteTableAnnouncement"
queryString <- list(
TransitGatewayRouteTableAnnouncementId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayRouteTableAnnouncementId=&Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayRouteTableAnnouncementId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTransitGatewayRouteTableAnnouncement";
let querystring = [
("TransitGatewayRouteTableAnnouncementId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayRouteTableAnnouncementId=&Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement'
http GET '{{baseUrl}}/?TransitGatewayRouteTableAnnouncementId=&Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayRouteTableAnnouncementId=&Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayRouteTableAnnouncementId=&Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteTransitGatewayVpcAttachment
{{baseUrl}}/#Action=DeleteTransitGatewayVpcAttachment
QUERY PARAMS
TransitGatewayAttachmentId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayVpcAttachment");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteTransitGatewayVpcAttachment" {:query-params {:TransitGatewayAttachmentId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayVpcAttachment"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayVpcAttachment"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayVpcAttachment");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayVpcAttachment"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayAttachmentId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayVpcAttachment")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayVpcAttachment"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayVpcAttachment")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayVpcAttachment")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayVpcAttachment');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayVpcAttachment',
params: {TransitGatewayAttachmentId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayVpcAttachment';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayVpcAttachment',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayVpcAttachment")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayAttachmentId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayVpcAttachment',
qs: {TransitGatewayAttachmentId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteTransitGatewayVpcAttachment');
req.query({
TransitGatewayAttachmentId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayVpcAttachment',
params: {TransitGatewayAttachmentId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayVpcAttachment';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayVpcAttachment"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayVpcAttachment" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayVpcAttachment",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayVpcAttachment');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTransitGatewayVpcAttachment');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayAttachmentId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTransitGatewayVpcAttachment');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayAttachmentId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayVpcAttachment' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayVpcAttachment' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayAttachmentId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTransitGatewayVpcAttachment"
querystring = {"TransitGatewayAttachmentId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTransitGatewayVpcAttachment"
queryString <- list(
TransitGatewayAttachmentId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayVpcAttachment")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayAttachmentId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTransitGatewayVpcAttachment";
let querystring = [
("TransitGatewayAttachmentId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayVpcAttachment'
http GET '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayVpcAttachment'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayVpcAttachment'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=DeleteTransitGatewayVpcAttachment")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteVerifiedAccessEndpoint
{{baseUrl}}/#Action=DeleteVerifiedAccessEndpoint
QUERY PARAMS
VerifiedAccessEndpointId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=DeleteVerifiedAccessEndpoint");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteVerifiedAccessEndpoint" {:query-params {:VerifiedAccessEndpointId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=DeleteVerifiedAccessEndpoint"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=DeleteVerifiedAccessEndpoint"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=DeleteVerifiedAccessEndpoint");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=DeleteVerifiedAccessEndpoint"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VerifiedAccessEndpointId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=DeleteVerifiedAccessEndpoint")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=DeleteVerifiedAccessEndpoint"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=DeleteVerifiedAccessEndpoint")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=DeleteVerifiedAccessEndpoint")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=DeleteVerifiedAccessEndpoint');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVerifiedAccessEndpoint',
params: {VerifiedAccessEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=DeleteVerifiedAccessEndpoint';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=DeleteVerifiedAccessEndpoint',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=DeleteVerifiedAccessEndpoint")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VerifiedAccessEndpointId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVerifiedAccessEndpoint',
qs: {VerifiedAccessEndpointId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteVerifiedAccessEndpoint');
req.query({
VerifiedAccessEndpointId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVerifiedAccessEndpoint',
params: {VerifiedAccessEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=DeleteVerifiedAccessEndpoint';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=DeleteVerifiedAccessEndpoint"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=DeleteVerifiedAccessEndpoint" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=DeleteVerifiedAccessEndpoint",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=DeleteVerifiedAccessEndpoint');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteVerifiedAccessEndpoint');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VerifiedAccessEndpointId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteVerifiedAccessEndpoint');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VerifiedAccessEndpointId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=DeleteVerifiedAccessEndpoint' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=DeleteVerifiedAccessEndpoint' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VerifiedAccessEndpointId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteVerifiedAccessEndpoint"
querystring = {"VerifiedAccessEndpointId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteVerifiedAccessEndpoint"
queryString <- list(
VerifiedAccessEndpointId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=DeleteVerifiedAccessEndpoint")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VerifiedAccessEndpointId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteVerifiedAccessEndpoint";
let querystring = [
("VerifiedAccessEndpointId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=DeleteVerifiedAccessEndpoint'
http GET '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=DeleteVerifiedAccessEndpoint'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=DeleteVerifiedAccessEndpoint'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=DeleteVerifiedAccessEndpoint")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteVerifiedAccessGroup
{{baseUrl}}/#Action=DeleteVerifiedAccessGroup
QUERY PARAMS
VerifiedAccessGroupId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=DeleteVerifiedAccessGroup");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteVerifiedAccessGroup" {:query-params {:VerifiedAccessGroupId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=DeleteVerifiedAccessGroup"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=DeleteVerifiedAccessGroup"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=DeleteVerifiedAccessGroup");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=DeleteVerifiedAccessGroup"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VerifiedAccessGroupId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=DeleteVerifiedAccessGroup")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=DeleteVerifiedAccessGroup"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=DeleteVerifiedAccessGroup")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=DeleteVerifiedAccessGroup")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=DeleteVerifiedAccessGroup');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVerifiedAccessGroup',
params: {VerifiedAccessGroupId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=DeleteVerifiedAccessGroup';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=DeleteVerifiedAccessGroup',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=DeleteVerifiedAccessGroup")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VerifiedAccessGroupId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVerifiedAccessGroup',
qs: {VerifiedAccessGroupId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteVerifiedAccessGroup');
req.query({
VerifiedAccessGroupId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVerifiedAccessGroup',
params: {VerifiedAccessGroupId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=DeleteVerifiedAccessGroup';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=DeleteVerifiedAccessGroup"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=DeleteVerifiedAccessGroup" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=DeleteVerifiedAccessGroup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=DeleteVerifiedAccessGroup');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteVerifiedAccessGroup');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VerifiedAccessGroupId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteVerifiedAccessGroup');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VerifiedAccessGroupId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=DeleteVerifiedAccessGroup' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=DeleteVerifiedAccessGroup' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VerifiedAccessGroupId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteVerifiedAccessGroup"
querystring = {"VerifiedAccessGroupId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteVerifiedAccessGroup"
queryString <- list(
VerifiedAccessGroupId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=DeleteVerifiedAccessGroup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VerifiedAccessGroupId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteVerifiedAccessGroup";
let querystring = [
("VerifiedAccessGroupId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=DeleteVerifiedAccessGroup'
http GET '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=DeleteVerifiedAccessGroup'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=DeleteVerifiedAccessGroup'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=DeleteVerifiedAccessGroup")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteVerifiedAccessInstance
{{baseUrl}}/#Action=DeleteVerifiedAccessInstance
QUERY PARAMS
VerifiedAccessInstanceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=DeleteVerifiedAccessInstance");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteVerifiedAccessInstance" {:query-params {:VerifiedAccessInstanceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=DeleteVerifiedAccessInstance"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=DeleteVerifiedAccessInstance"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=DeleteVerifiedAccessInstance");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=DeleteVerifiedAccessInstance"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VerifiedAccessInstanceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=DeleteVerifiedAccessInstance")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=DeleteVerifiedAccessInstance"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=DeleteVerifiedAccessInstance")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=DeleteVerifiedAccessInstance")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=DeleteVerifiedAccessInstance');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVerifiedAccessInstance',
params: {VerifiedAccessInstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=DeleteVerifiedAccessInstance';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=DeleteVerifiedAccessInstance',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=DeleteVerifiedAccessInstance")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VerifiedAccessInstanceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVerifiedAccessInstance',
qs: {VerifiedAccessInstanceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteVerifiedAccessInstance');
req.query({
VerifiedAccessInstanceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVerifiedAccessInstance',
params: {VerifiedAccessInstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=DeleteVerifiedAccessInstance';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=DeleteVerifiedAccessInstance"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=DeleteVerifiedAccessInstance" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=DeleteVerifiedAccessInstance",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=DeleteVerifiedAccessInstance');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteVerifiedAccessInstance');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VerifiedAccessInstanceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteVerifiedAccessInstance');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VerifiedAccessInstanceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=DeleteVerifiedAccessInstance' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=DeleteVerifiedAccessInstance' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VerifiedAccessInstanceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteVerifiedAccessInstance"
querystring = {"VerifiedAccessInstanceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteVerifiedAccessInstance"
queryString <- list(
VerifiedAccessInstanceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=DeleteVerifiedAccessInstance")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VerifiedAccessInstanceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteVerifiedAccessInstance";
let querystring = [
("VerifiedAccessInstanceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=DeleteVerifiedAccessInstance'
http GET '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=DeleteVerifiedAccessInstance'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=DeleteVerifiedAccessInstance'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=DeleteVerifiedAccessInstance")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteVerifiedAccessTrustProvider
{{baseUrl}}/#Action=DeleteVerifiedAccessTrustProvider
QUERY PARAMS
VerifiedAccessTrustProviderId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=DeleteVerifiedAccessTrustProvider");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteVerifiedAccessTrustProvider" {:query-params {:VerifiedAccessTrustProviderId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=DeleteVerifiedAccessTrustProvider"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=DeleteVerifiedAccessTrustProvider"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=DeleteVerifiedAccessTrustProvider");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=DeleteVerifiedAccessTrustProvider"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VerifiedAccessTrustProviderId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=DeleteVerifiedAccessTrustProvider")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=DeleteVerifiedAccessTrustProvider"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=DeleteVerifiedAccessTrustProvider")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=DeleteVerifiedAccessTrustProvider")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=DeleteVerifiedAccessTrustProvider');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVerifiedAccessTrustProvider',
params: {VerifiedAccessTrustProviderId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=DeleteVerifiedAccessTrustProvider';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=DeleteVerifiedAccessTrustProvider',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=DeleteVerifiedAccessTrustProvider")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VerifiedAccessTrustProviderId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVerifiedAccessTrustProvider',
qs: {VerifiedAccessTrustProviderId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteVerifiedAccessTrustProvider');
req.query({
VerifiedAccessTrustProviderId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVerifiedAccessTrustProvider',
params: {VerifiedAccessTrustProviderId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=DeleteVerifiedAccessTrustProvider';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=DeleteVerifiedAccessTrustProvider"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=DeleteVerifiedAccessTrustProvider" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=DeleteVerifiedAccessTrustProvider",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=DeleteVerifiedAccessTrustProvider');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteVerifiedAccessTrustProvider');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VerifiedAccessTrustProviderId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteVerifiedAccessTrustProvider');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VerifiedAccessTrustProviderId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=DeleteVerifiedAccessTrustProvider' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=DeleteVerifiedAccessTrustProvider' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VerifiedAccessTrustProviderId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteVerifiedAccessTrustProvider"
querystring = {"VerifiedAccessTrustProviderId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteVerifiedAccessTrustProvider"
queryString <- list(
VerifiedAccessTrustProviderId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=DeleteVerifiedAccessTrustProvider")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VerifiedAccessTrustProviderId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteVerifiedAccessTrustProvider";
let querystring = [
("VerifiedAccessTrustProviderId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=DeleteVerifiedAccessTrustProvider'
http GET '{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=DeleteVerifiedAccessTrustProvider'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=DeleteVerifiedAccessTrustProvider'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=DeleteVerifiedAccessTrustProvider")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteVolume
{{baseUrl}}/#Action=DeleteVolume
QUERY PARAMS
VolumeId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DeleteVolume");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteVolume" {:query-params {:VolumeId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DeleteVolume"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DeleteVolume"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DeleteVolume");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DeleteVolume"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VolumeId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DeleteVolume")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DeleteVolume"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DeleteVolume")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DeleteVolume")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DeleteVolume');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVolume',
params: {VolumeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DeleteVolume';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DeleteVolume',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DeleteVolume")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VolumeId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVolume',
qs: {VolumeId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteVolume');
req.query({
VolumeId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVolume',
params: {VolumeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DeleteVolume';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DeleteVolume"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DeleteVolume" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DeleteVolume",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DeleteVolume');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteVolume');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VolumeId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteVolume');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VolumeId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DeleteVolume' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DeleteVolume' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VolumeId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteVolume"
querystring = {"VolumeId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteVolume"
queryString <- list(
VolumeId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DeleteVolume")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VolumeId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteVolume";
let querystring = [
("VolumeId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DeleteVolume'
http GET '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DeleteVolume'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DeleteVolume'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DeleteVolume")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteVpc
{{baseUrl}}/#Action=DeleteVpc
QUERY PARAMS
VpcId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpcId=&Action=&Version=#Action=DeleteVpc");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteVpc" {:query-params {:VpcId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpcId=&Action=&Version=#Action=DeleteVpc"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpcId=&Action=&Version=#Action=DeleteVpc"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpcId=&Action=&Version=#Action=DeleteVpc");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpcId=&Action=&Version=#Action=DeleteVpc"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpcId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpcId=&Action=&Version=#Action=DeleteVpc")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpcId=&Action=&Version=#Action=DeleteVpc"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpcId=&Action=&Version=#Action=DeleteVpc")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpcId=&Action=&Version=#Action=DeleteVpc")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DeleteVpc');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVpc',
params: {VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DeleteVpc';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DeleteVpc',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpcId=&Action=&Version=#Action=DeleteVpc")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpcId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVpc',
qs: {VpcId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteVpc');
req.query({
VpcId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVpc',
params: {VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DeleteVpc';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpcId=&Action=&Version=#Action=DeleteVpc"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpcId=&Action=&Version=#Action=DeleteVpc" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpcId=&Action=&Version=#Action=DeleteVpc",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DeleteVpc');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteVpc');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpcId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteVpc');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpcId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DeleteVpc' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DeleteVpc' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpcId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteVpc"
querystring = {"VpcId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteVpc"
queryString <- list(
VpcId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpcId=&Action=&Version=#Action=DeleteVpc")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpcId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteVpc";
let querystring = [
("VpcId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DeleteVpc'
http GET '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DeleteVpc'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DeleteVpc'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpcId=&Action=&Version=#Action=DeleteVpc")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteVpcEndpointConnectionNotifications
{{baseUrl}}/#Action=DeleteVpcEndpointConnectionNotifications
QUERY PARAMS
ConnectionNotificationId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteVpcEndpointConnectionNotifications" {:query-params {:ConnectionNotificationId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ConnectionNotificationId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVpcEndpointConnectionNotifications',
params: {ConnectionNotificationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ConnectionNotificationId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVpcEndpointConnectionNotifications',
qs: {ConnectionNotificationId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteVpcEndpointConnectionNotifications');
req.query({
ConnectionNotificationId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVpcEndpointConnectionNotifications',
params: {ConnectionNotificationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteVpcEndpointConnectionNotifications');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ConnectionNotificationId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteVpcEndpointConnectionNotifications');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ConnectionNotificationId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ConnectionNotificationId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteVpcEndpointConnectionNotifications"
querystring = {"ConnectionNotificationId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteVpcEndpointConnectionNotifications"
queryString <- list(
ConnectionNotificationId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ConnectionNotificationId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteVpcEndpointConnectionNotifications";
let querystring = [
("ConnectionNotificationId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications'
http GET '{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteVpcEndpointServiceConfigurations
{{baseUrl}}/#Action=DeleteVpcEndpointServiceConfigurations
QUERY PARAMS
ServiceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteVpcEndpointServiceConfigurations" {:query-params {:ServiceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ServiceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVpcEndpointServiceConfigurations',
params: {ServiceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ServiceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVpcEndpointServiceConfigurations',
qs: {ServiceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteVpcEndpointServiceConfigurations');
req.query({
ServiceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVpcEndpointServiceConfigurations',
params: {ServiceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteVpcEndpointServiceConfigurations');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ServiceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteVpcEndpointServiceConfigurations');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ServiceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ServiceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteVpcEndpointServiceConfigurations"
querystring = {"ServiceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteVpcEndpointServiceConfigurations"
queryString <- list(
ServiceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ServiceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteVpcEndpointServiceConfigurations";
let querystring = [
("ServiceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations'
http GET '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteVpcEndpoints
{{baseUrl}}/#Action=DeleteVpcEndpoints
QUERY PARAMS
VpcEndpointId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=DeleteVpcEndpoints");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteVpcEndpoints" {:query-params {:VpcEndpointId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=DeleteVpcEndpoints"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=DeleteVpcEndpoints"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=DeleteVpcEndpoints");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=DeleteVpcEndpoints"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpcEndpointId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=DeleteVpcEndpoints")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=DeleteVpcEndpoints"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=DeleteVpcEndpoints")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=DeleteVpcEndpoints")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=DeleteVpcEndpoints');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVpcEndpoints',
params: {VpcEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=DeleteVpcEndpoints';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=DeleteVpcEndpoints',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=DeleteVpcEndpoints")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpcEndpointId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVpcEndpoints',
qs: {VpcEndpointId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteVpcEndpoints');
req.query({
VpcEndpointId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVpcEndpoints',
params: {VpcEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=DeleteVpcEndpoints';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=DeleteVpcEndpoints"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=DeleteVpcEndpoints" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=DeleteVpcEndpoints",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=DeleteVpcEndpoints');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteVpcEndpoints');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpcEndpointId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteVpcEndpoints');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpcEndpointId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=DeleteVpcEndpoints' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=DeleteVpcEndpoints' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpcEndpointId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteVpcEndpoints"
querystring = {"VpcEndpointId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteVpcEndpoints"
queryString <- list(
VpcEndpointId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=DeleteVpcEndpoints")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpcEndpointId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteVpcEndpoints";
let querystring = [
("VpcEndpointId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=DeleteVpcEndpoints'
http GET '{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=DeleteVpcEndpoints'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=DeleteVpcEndpoints'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=DeleteVpcEndpoints")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteVpcPeeringConnection
{{baseUrl}}/#Action=DeleteVpcPeeringConnection
QUERY PARAMS
VpcPeeringConnectionId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=DeleteVpcPeeringConnection");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteVpcPeeringConnection" {:query-params {:VpcPeeringConnectionId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=DeleteVpcPeeringConnection"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=DeleteVpcPeeringConnection"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=DeleteVpcPeeringConnection");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=DeleteVpcPeeringConnection"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpcPeeringConnectionId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=DeleteVpcPeeringConnection")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=DeleteVpcPeeringConnection"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=DeleteVpcPeeringConnection")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=DeleteVpcPeeringConnection")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=DeleteVpcPeeringConnection');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVpcPeeringConnection',
params: {VpcPeeringConnectionId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=DeleteVpcPeeringConnection';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=DeleteVpcPeeringConnection',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=DeleteVpcPeeringConnection")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpcPeeringConnectionId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVpcPeeringConnection',
qs: {VpcPeeringConnectionId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteVpcPeeringConnection');
req.query({
VpcPeeringConnectionId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVpcPeeringConnection',
params: {VpcPeeringConnectionId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=DeleteVpcPeeringConnection';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=DeleteVpcPeeringConnection"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=DeleteVpcPeeringConnection" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=DeleteVpcPeeringConnection",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=DeleteVpcPeeringConnection');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteVpcPeeringConnection');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpcPeeringConnectionId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteVpcPeeringConnection');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpcPeeringConnectionId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=DeleteVpcPeeringConnection' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=DeleteVpcPeeringConnection' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpcPeeringConnectionId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteVpcPeeringConnection"
querystring = {"VpcPeeringConnectionId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteVpcPeeringConnection"
queryString <- list(
VpcPeeringConnectionId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=DeleteVpcPeeringConnection")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpcPeeringConnectionId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteVpcPeeringConnection";
let querystring = [
("VpcPeeringConnectionId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=DeleteVpcPeeringConnection'
http GET '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=DeleteVpcPeeringConnection'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=DeleteVpcPeeringConnection'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=DeleteVpcPeeringConnection")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteVpnConnection
{{baseUrl}}/#Action=DeleteVpnConnection
QUERY PARAMS
VpnConnectionId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnection");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteVpnConnection" {:query-params {:VpnConnectionId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnection"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnection"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnection");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnection"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpnConnectionId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnection")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnection"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnection")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnection")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnection');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVpnConnection',
params: {VpnConnectionId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnection';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnection',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnection")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpnConnectionId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVpnConnection',
qs: {VpnConnectionId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteVpnConnection');
req.query({
VpnConnectionId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVpnConnection',
params: {VpnConnectionId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnection';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnection"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnection" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnection",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnection');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteVpnConnection');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpnConnectionId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteVpnConnection');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpnConnectionId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnection' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnection' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpnConnectionId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteVpnConnection"
querystring = {"VpnConnectionId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteVpnConnection"
queryString <- list(
VpnConnectionId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnection")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpnConnectionId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteVpnConnection";
let querystring = [
("VpnConnectionId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnection'
http GET '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnection'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnection'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnection")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteVpnConnectionRoute
{{baseUrl}}/#Action=DeleteVpnConnectionRoute
QUERY PARAMS
DestinationCidrBlock
VpnConnectionId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnectionRoute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteVpnConnectionRoute" {:query-params {:DestinationCidrBlock ""
:VpnConnectionId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnectionRoute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnectionRoute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnectionRoute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnectionRoute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnectionRoute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnectionRoute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnectionRoute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnectionRoute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnectionRoute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVpnConnectionRoute',
params: {DestinationCidrBlock: '', VpnConnectionId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnectionRoute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnectionRoute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnectionRoute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVpnConnectionRoute',
qs: {DestinationCidrBlock: '', VpnConnectionId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteVpnConnectionRoute');
req.query({
DestinationCidrBlock: '',
VpnConnectionId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVpnConnectionRoute',
params: {DestinationCidrBlock: '', VpnConnectionId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnectionRoute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnectionRoute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnectionRoute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnectionRoute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnectionRoute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteVpnConnectionRoute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'DestinationCidrBlock' => '',
'VpnConnectionId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteVpnConnectionRoute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'DestinationCidrBlock' => '',
'VpnConnectionId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnectionRoute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnectionRoute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteVpnConnectionRoute"
querystring = {"DestinationCidrBlock":"","VpnConnectionId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteVpnConnectionRoute"
queryString <- list(
DestinationCidrBlock = "",
VpnConnectionId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnectionRoute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['DestinationCidrBlock'] = ''
req.params['VpnConnectionId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteVpnConnectionRoute";
let querystring = [
("DestinationCidrBlock", ""),
("VpnConnectionId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnectionRoute'
http GET '{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnectionRoute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnectionRoute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?DestinationCidrBlock=&VpnConnectionId=&Action=&Version=#Action=DeleteVpnConnectionRoute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeleteVpnGateway
{{baseUrl}}/#Action=DeleteVpnGateway
QUERY PARAMS
VpnGatewayId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpnGatewayId=&Action=&Version=#Action=DeleteVpnGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeleteVpnGateway" {:query-params {:VpnGatewayId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpnGatewayId=&Action=&Version=#Action=DeleteVpnGateway"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpnGatewayId=&Action=&Version=#Action=DeleteVpnGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpnGatewayId=&Action=&Version=#Action=DeleteVpnGateway");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpnGatewayId=&Action=&Version=#Action=DeleteVpnGateway"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpnGatewayId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpnGatewayId=&Action=&Version=#Action=DeleteVpnGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpnGatewayId=&Action=&Version=#Action=DeleteVpnGateway"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpnGatewayId=&Action=&Version=#Action=DeleteVpnGateway")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpnGatewayId=&Action=&Version=#Action=DeleteVpnGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpnGatewayId=&Action=&Version=#Action=DeleteVpnGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVpnGateway',
params: {VpnGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpnGatewayId=&Action=&Version=#Action=DeleteVpnGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpnGatewayId=&Action=&Version=#Action=DeleteVpnGateway',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpnGatewayId=&Action=&Version=#Action=DeleteVpnGateway")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpnGatewayId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVpnGateway',
qs: {VpnGatewayId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeleteVpnGateway');
req.query({
VpnGatewayId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeleteVpnGateway',
params: {VpnGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpnGatewayId=&Action=&Version=#Action=DeleteVpnGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpnGatewayId=&Action=&Version=#Action=DeleteVpnGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpnGatewayId=&Action=&Version=#Action=DeleteVpnGateway" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpnGatewayId=&Action=&Version=#Action=DeleteVpnGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpnGatewayId=&Action=&Version=#Action=DeleteVpnGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteVpnGateway');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpnGatewayId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteVpnGateway');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpnGatewayId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpnGatewayId=&Action=&Version=#Action=DeleteVpnGateway' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpnGatewayId=&Action=&Version=#Action=DeleteVpnGateway' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpnGatewayId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteVpnGateway"
querystring = {"VpnGatewayId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteVpnGateway"
queryString <- list(
VpnGatewayId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpnGatewayId=&Action=&Version=#Action=DeleteVpnGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpnGatewayId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteVpnGateway";
let querystring = [
("VpnGatewayId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpnGatewayId=&Action=&Version=#Action=DeleteVpnGateway'
http GET '{{baseUrl}}/?VpnGatewayId=&Action=&Version=#Action=DeleteVpnGateway'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpnGatewayId=&Action=&Version=#Action=DeleteVpnGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpnGatewayId=&Action=&Version=#Action=DeleteVpnGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeprovisionByoipCidr
{{baseUrl}}/#Action=DeprovisionByoipCidr
QUERY PARAMS
Cidr
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Cidr=&Action=&Version=#Action=DeprovisionByoipCidr");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeprovisionByoipCidr" {:query-params {:Cidr ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Cidr=&Action=&Version=#Action=DeprovisionByoipCidr"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Cidr=&Action=&Version=#Action=DeprovisionByoipCidr"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Cidr=&Action=&Version=#Action=DeprovisionByoipCidr");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Cidr=&Action=&Version=#Action=DeprovisionByoipCidr"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Cidr=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Cidr=&Action=&Version=#Action=DeprovisionByoipCidr")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Cidr=&Action=&Version=#Action=DeprovisionByoipCidr"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Cidr=&Action=&Version=#Action=DeprovisionByoipCidr")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Cidr=&Action=&Version=#Action=DeprovisionByoipCidr")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Cidr=&Action=&Version=#Action=DeprovisionByoipCidr');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeprovisionByoipCidr',
params: {Cidr: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Cidr=&Action=&Version=#Action=DeprovisionByoipCidr';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Cidr=&Action=&Version=#Action=DeprovisionByoipCidr',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Cidr=&Action=&Version=#Action=DeprovisionByoipCidr")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Cidr=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeprovisionByoipCidr',
qs: {Cidr: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeprovisionByoipCidr');
req.query({
Cidr: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeprovisionByoipCidr',
params: {Cidr: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Cidr=&Action=&Version=#Action=DeprovisionByoipCidr';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Cidr=&Action=&Version=#Action=DeprovisionByoipCidr"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Cidr=&Action=&Version=#Action=DeprovisionByoipCidr" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Cidr=&Action=&Version=#Action=DeprovisionByoipCidr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Cidr=&Action=&Version=#Action=DeprovisionByoipCidr');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeprovisionByoipCidr');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Cidr' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeprovisionByoipCidr');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Cidr' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Cidr=&Action=&Version=#Action=DeprovisionByoipCidr' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Cidr=&Action=&Version=#Action=DeprovisionByoipCidr' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Cidr=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeprovisionByoipCidr"
querystring = {"Cidr":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeprovisionByoipCidr"
queryString <- list(
Cidr = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Cidr=&Action=&Version=#Action=DeprovisionByoipCidr")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Cidr'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeprovisionByoipCidr";
let querystring = [
("Cidr", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Cidr=&Action=&Version=#Action=DeprovisionByoipCidr'
http GET '{{baseUrl}}/?Cidr=&Action=&Version=#Action=DeprovisionByoipCidr'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Cidr=&Action=&Version=#Action=DeprovisionByoipCidr'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Cidr=&Action=&Version=#Action=DeprovisionByoipCidr")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeprovisionIpamPoolCidr
{{baseUrl}}/#Action=DeprovisionIpamPoolCidr
QUERY PARAMS
IpamPoolId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeprovisionIpamPoolCidr");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeprovisionIpamPoolCidr" {:query-params {:IpamPoolId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeprovisionIpamPoolCidr"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeprovisionIpamPoolCidr"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeprovisionIpamPoolCidr");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeprovisionIpamPoolCidr"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?IpamPoolId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeprovisionIpamPoolCidr")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeprovisionIpamPoolCidr"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeprovisionIpamPoolCidr")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeprovisionIpamPoolCidr")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeprovisionIpamPoolCidr');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeprovisionIpamPoolCidr',
params: {IpamPoolId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeprovisionIpamPoolCidr';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeprovisionIpamPoolCidr',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeprovisionIpamPoolCidr")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?IpamPoolId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeprovisionIpamPoolCidr',
qs: {IpamPoolId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeprovisionIpamPoolCidr');
req.query({
IpamPoolId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeprovisionIpamPoolCidr',
params: {IpamPoolId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeprovisionIpamPoolCidr';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeprovisionIpamPoolCidr"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeprovisionIpamPoolCidr" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeprovisionIpamPoolCidr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeprovisionIpamPoolCidr');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeprovisionIpamPoolCidr');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'IpamPoolId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeprovisionIpamPoolCidr');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'IpamPoolId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeprovisionIpamPoolCidr' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeprovisionIpamPoolCidr' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?IpamPoolId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeprovisionIpamPoolCidr"
querystring = {"IpamPoolId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeprovisionIpamPoolCidr"
queryString <- list(
IpamPoolId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeprovisionIpamPoolCidr")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['IpamPoolId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeprovisionIpamPoolCidr";
let querystring = [
("IpamPoolId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeprovisionIpamPoolCidr'
http GET '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeprovisionIpamPoolCidr'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeprovisionIpamPoolCidr'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=DeprovisionIpamPoolCidr")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeprovisionPublicIpv4PoolCidr
{{baseUrl}}/#Action=DeprovisionPublicIpv4PoolCidr
QUERY PARAMS
PoolId
Cidr
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?PoolId=&Cidr=&Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeprovisionPublicIpv4PoolCidr" {:query-params {:PoolId ""
:Cidr ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?PoolId=&Cidr=&Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?PoolId=&Cidr=&Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?PoolId=&Cidr=&Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?PoolId=&Cidr=&Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?PoolId=&Cidr=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?PoolId=&Cidr=&Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?PoolId=&Cidr=&Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?PoolId=&Cidr=&Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?PoolId=&Cidr=&Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?PoolId=&Cidr=&Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeprovisionPublicIpv4PoolCidr',
params: {PoolId: '', Cidr: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?PoolId=&Cidr=&Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?PoolId=&Cidr=&Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?PoolId=&Cidr=&Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?PoolId=&Cidr=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeprovisionPublicIpv4PoolCidr',
qs: {PoolId: '', Cidr: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeprovisionPublicIpv4PoolCidr');
req.query({
PoolId: '',
Cidr: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeprovisionPublicIpv4PoolCidr',
params: {PoolId: '', Cidr: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?PoolId=&Cidr=&Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?PoolId=&Cidr=&Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?PoolId=&Cidr=&Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?PoolId=&Cidr=&Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?PoolId=&Cidr=&Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeprovisionPublicIpv4PoolCidr');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'PoolId' => '',
'Cidr' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeprovisionPublicIpv4PoolCidr');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'PoolId' => '',
'Cidr' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?PoolId=&Cidr=&Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?PoolId=&Cidr=&Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?PoolId=&Cidr=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeprovisionPublicIpv4PoolCidr"
querystring = {"PoolId":"","Cidr":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeprovisionPublicIpv4PoolCidr"
queryString <- list(
PoolId = "",
Cidr = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?PoolId=&Cidr=&Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['PoolId'] = ''
req.params['Cidr'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeprovisionPublicIpv4PoolCidr";
let querystring = [
("PoolId", ""),
("Cidr", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?PoolId=&Cidr=&Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr'
http GET '{{baseUrl}}/?PoolId=&Cidr=&Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?PoolId=&Cidr=&Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?PoolId=&Cidr=&Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeregisterImage
{{baseUrl}}/#Action=DeregisterImage
QUERY PARAMS
ImageId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ImageId=&Action=&Version=#Action=DeregisterImage");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeregisterImage" {:query-params {:ImageId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ImageId=&Action=&Version=#Action=DeregisterImage"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ImageId=&Action=&Version=#Action=DeregisterImage"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ImageId=&Action=&Version=#Action=DeregisterImage");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ImageId=&Action=&Version=#Action=DeregisterImage"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ImageId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ImageId=&Action=&Version=#Action=DeregisterImage")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ImageId=&Action=&Version=#Action=DeregisterImage"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ImageId=&Action=&Version=#Action=DeregisterImage")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ImageId=&Action=&Version=#Action=DeregisterImage")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DeregisterImage');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeregisterImage',
params: {ImageId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DeregisterImage';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DeregisterImage',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ImageId=&Action=&Version=#Action=DeregisterImage")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ImageId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeregisterImage',
qs: {ImageId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeregisterImage');
req.query({
ImageId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeregisterImage',
params: {ImageId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DeregisterImage';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ImageId=&Action=&Version=#Action=DeregisterImage"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ImageId=&Action=&Version=#Action=DeregisterImage" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ImageId=&Action=&Version=#Action=DeregisterImage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DeregisterImage');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeregisterImage');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ImageId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeregisterImage');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ImageId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DeregisterImage' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DeregisterImage' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ImageId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeregisterImage"
querystring = {"ImageId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeregisterImage"
queryString <- list(
ImageId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ImageId=&Action=&Version=#Action=DeregisterImage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ImageId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeregisterImage";
let querystring = [
("ImageId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DeregisterImage'
http GET '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DeregisterImage'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DeregisterImage'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ImageId=&Action=&Version=#Action=DeregisterImage")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeregisterInstanceEventNotificationAttributes
{{baseUrl}}/#Action=DeregisterInstanceEventNotificationAttributes
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeregisterInstanceEventNotificationAttributes" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeregisterInstanceEventNotificationAttributes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeregisterInstanceEventNotificationAttributes',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeregisterInstanceEventNotificationAttributes');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeregisterInstanceEventNotificationAttributes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeregisterInstanceEventNotificationAttributes');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeregisterInstanceEventNotificationAttributes');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeregisterInstanceEventNotificationAttributes"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeregisterInstanceEventNotificationAttributes"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeregisterInstanceEventNotificationAttributes";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes'
http GET '{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeregisterTransitGatewayMulticastGroupMembers
{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupMembers
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupMembers" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupMembers',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupMembers',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupMembers');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupMembers',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupMembers');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupMembers');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupMembers"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupMembers"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupMembers";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers'
http GET '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DeregisterTransitGatewayMulticastGroupSources
{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupSources
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupSources" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupSources',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupSources',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupSources');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupSources',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupSources');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupSources');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupSources"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupSources"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupSources";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources'
http GET '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeAccountAttributes
{{baseUrl}}/#Action=DescribeAccountAttributes
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeAccountAttributes" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeAccountAttributes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeAccountAttributes',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeAccountAttributes');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeAccountAttributes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeAccountAttributes');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeAccountAttributes');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeAccountAttributes"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeAccountAttributes"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeAccountAttributes";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"AccountAttributes": [
{
"AttributeName": "supported-platforms",
"AttributeValues": [
{
"AttributeValue": "EC2"
},
{
"AttributeValue": "VPC"
}
]
},
{
"AttributeName": "vpc-max-security-groups-per-interface",
"AttributeValues": [
{
"AttributeValue": "5"
}
]
},
{
"AttributeName": "max-elastic-ips",
"AttributeValues": [
{
"AttributeValue": "5"
}
]
},
{
"AttributeName": "max-instances",
"AttributeValues": [
{
"AttributeValue": "20"
}
]
},
{
"AttributeName": "vpc-max-elastic-ips",
"AttributeValues": [
{
"AttributeValue": "5"
}
]
},
{
"AttributeName": "default-vpc",
"AttributeValues": [
{
"AttributeValue": "none"
}
]
}
]
}
GET
GET_DescribeAddressTransfers
{{baseUrl}}/#Action=DescribeAddressTransfers
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeAddressTransfers" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeAddressTransfers',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeAddressTransfers',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeAddressTransfers');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeAddressTransfers',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeAddressTransfers');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeAddressTransfers');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeAddressTransfers"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeAddressTransfers"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeAddressTransfers";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeAddresses
{{baseUrl}}/#Action=DescribeAddresses
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeAddresses" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeAddresses',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeAddresses',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeAddresses');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeAddresses',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeAddresses');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeAddresses');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeAddresses"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeAddresses"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeAddresses";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"Addresses": [
{
"Domain": "standard",
"InstanceId": "i-1234567890abcdef0",
"PublicIp": "198.51.100.0"
}
]
}
GET
GET_DescribeAddressesAttribute
{{baseUrl}}/#Action=DescribeAddressesAttribute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeAddressesAttribute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeAddressesAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeAddressesAttribute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeAddressesAttribute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeAddressesAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeAddressesAttribute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeAddressesAttribute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeAddressesAttribute"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeAddressesAttribute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeAddressesAttribute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeAggregateIdFormat
{{baseUrl}}/#Action=DescribeAggregateIdFormat
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeAggregateIdFormat" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeAggregateIdFormat',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeAggregateIdFormat',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeAggregateIdFormat');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeAggregateIdFormat',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeAggregateIdFormat');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeAggregateIdFormat');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeAggregateIdFormat"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeAggregateIdFormat"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeAggregateIdFormat";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeAvailabilityZones
{{baseUrl}}/#Action=DescribeAvailabilityZones
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeAvailabilityZones" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeAvailabilityZones',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeAvailabilityZones',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeAvailabilityZones');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeAvailabilityZones',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeAvailabilityZones');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeAvailabilityZones');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeAvailabilityZones"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeAvailabilityZones"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeAvailabilityZones";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"AvailabilityZones": [
{
"Messages": [],
"RegionName": "us-east-1",
"State": "available",
"ZoneName": "us-east-1b"
},
{
"Messages": [],
"RegionName": "us-east-1",
"State": "available",
"ZoneName": "us-east-1c"
},
{
"Messages": [],
"RegionName": "us-east-1",
"State": "available",
"ZoneName": "us-east-1d"
},
{
"Messages": [],
"RegionName": "us-east-1",
"State": "available",
"ZoneName": "us-east-1e"
}
]
}
GET
GET_DescribeAwsNetworkPerformanceMetricSubscriptions
{{baseUrl}}/#Action=DescribeAwsNetworkPerformanceMetricSubscriptions
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeAwsNetworkPerformanceMetricSubscriptions" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeAwsNetworkPerformanceMetricSubscriptions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeAwsNetworkPerformanceMetricSubscriptions',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeAwsNetworkPerformanceMetricSubscriptions');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeAwsNetworkPerformanceMetricSubscriptions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeAwsNetworkPerformanceMetricSubscriptions');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeAwsNetworkPerformanceMetricSubscriptions');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeAwsNetworkPerformanceMetricSubscriptions"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeAwsNetworkPerformanceMetricSubscriptions"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeAwsNetworkPerformanceMetricSubscriptions";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeBundleTasks
{{baseUrl}}/#Action=DescribeBundleTasks
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeBundleTasks" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeBundleTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeBundleTasks',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeBundleTasks');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeBundleTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeBundleTasks');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeBundleTasks');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeBundleTasks"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeBundleTasks"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeBundleTasks";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeByoipCidrs
{{baseUrl}}/#Action=DescribeByoipCidrs
QUERY PARAMS
MaxResults
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?MaxResults=&Action=&Version=#Action=DescribeByoipCidrs");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeByoipCidrs" {:query-params {:MaxResults ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?MaxResults=&Action=&Version=#Action=DescribeByoipCidrs"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?MaxResults=&Action=&Version=#Action=DescribeByoipCidrs"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?MaxResults=&Action=&Version=#Action=DescribeByoipCidrs");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?MaxResults=&Action=&Version=#Action=DescribeByoipCidrs"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?MaxResults=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?MaxResults=&Action=&Version=#Action=DescribeByoipCidrs")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?MaxResults=&Action=&Version=#Action=DescribeByoipCidrs"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?MaxResults=&Action=&Version=#Action=DescribeByoipCidrs")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?MaxResults=&Action=&Version=#Action=DescribeByoipCidrs")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?MaxResults=&Action=&Version=#Action=DescribeByoipCidrs');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeByoipCidrs',
params: {MaxResults: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?MaxResults=&Action=&Version=#Action=DescribeByoipCidrs';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?MaxResults=&Action=&Version=#Action=DescribeByoipCidrs',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?MaxResults=&Action=&Version=#Action=DescribeByoipCidrs")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?MaxResults=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeByoipCidrs',
qs: {MaxResults: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeByoipCidrs');
req.query({
MaxResults: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeByoipCidrs',
params: {MaxResults: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?MaxResults=&Action=&Version=#Action=DescribeByoipCidrs';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?MaxResults=&Action=&Version=#Action=DescribeByoipCidrs"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?MaxResults=&Action=&Version=#Action=DescribeByoipCidrs" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?MaxResults=&Action=&Version=#Action=DescribeByoipCidrs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?MaxResults=&Action=&Version=#Action=DescribeByoipCidrs');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeByoipCidrs');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'MaxResults' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeByoipCidrs');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'MaxResults' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?MaxResults=&Action=&Version=#Action=DescribeByoipCidrs' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?MaxResults=&Action=&Version=#Action=DescribeByoipCidrs' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?MaxResults=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeByoipCidrs"
querystring = {"MaxResults":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeByoipCidrs"
queryString <- list(
MaxResults = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?MaxResults=&Action=&Version=#Action=DescribeByoipCidrs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['MaxResults'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeByoipCidrs";
let querystring = [
("MaxResults", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?MaxResults=&Action=&Version=#Action=DescribeByoipCidrs'
http GET '{{baseUrl}}/?MaxResults=&Action=&Version=#Action=DescribeByoipCidrs'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?MaxResults=&Action=&Version=#Action=DescribeByoipCidrs'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?MaxResults=&Action=&Version=#Action=DescribeByoipCidrs")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeCapacityReservationFleets
{{baseUrl}}/#Action=DescribeCapacityReservationFleets
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeCapacityReservationFleets" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeCapacityReservationFleets',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeCapacityReservationFleets',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeCapacityReservationFleets');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeCapacityReservationFleets',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeCapacityReservationFleets');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeCapacityReservationFleets');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeCapacityReservationFleets"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeCapacityReservationFleets"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeCapacityReservationFleets";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeCapacityReservations
{{baseUrl}}/#Action=DescribeCapacityReservations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeCapacityReservations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeCapacityReservations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeCapacityReservations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeCapacityReservations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeCapacityReservations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeCapacityReservations');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeCapacityReservations');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeCapacityReservations"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeCapacityReservations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeCapacityReservations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeCarrierGateways
{{baseUrl}}/#Action=DescribeCarrierGateways
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeCarrierGateways" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeCarrierGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeCarrierGateways',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeCarrierGateways');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeCarrierGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeCarrierGateways');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeCarrierGateways');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeCarrierGateways"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeCarrierGateways"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeCarrierGateways";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeClassicLinkInstances
{{baseUrl}}/#Action=DescribeClassicLinkInstances
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeClassicLinkInstances" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeClassicLinkInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeClassicLinkInstances',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeClassicLinkInstances');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeClassicLinkInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeClassicLinkInstances');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeClassicLinkInstances');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeClassicLinkInstances"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeClassicLinkInstances"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeClassicLinkInstances";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeClientVpnAuthorizationRules
{{baseUrl}}/#Action=DescribeClientVpnAuthorizationRules
QUERY PARAMS
ClientVpnEndpointId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnAuthorizationRules");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeClientVpnAuthorizationRules" {:query-params {:ClientVpnEndpointId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnAuthorizationRules"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnAuthorizationRules"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnAuthorizationRules");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnAuthorizationRules"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ClientVpnEndpointId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnAuthorizationRules")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnAuthorizationRules"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnAuthorizationRules")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnAuthorizationRules")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnAuthorizationRules');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeClientVpnAuthorizationRules',
params: {ClientVpnEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnAuthorizationRules';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnAuthorizationRules',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnAuthorizationRules")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ClientVpnEndpointId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeClientVpnAuthorizationRules',
qs: {ClientVpnEndpointId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeClientVpnAuthorizationRules');
req.query({
ClientVpnEndpointId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeClientVpnAuthorizationRules',
params: {ClientVpnEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnAuthorizationRules';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnAuthorizationRules"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnAuthorizationRules" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnAuthorizationRules",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnAuthorizationRules');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeClientVpnAuthorizationRules');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ClientVpnEndpointId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeClientVpnAuthorizationRules');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ClientVpnEndpointId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnAuthorizationRules' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnAuthorizationRules' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ClientVpnEndpointId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeClientVpnAuthorizationRules"
querystring = {"ClientVpnEndpointId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeClientVpnAuthorizationRules"
queryString <- list(
ClientVpnEndpointId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnAuthorizationRules")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ClientVpnEndpointId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeClientVpnAuthorizationRules";
let querystring = [
("ClientVpnEndpointId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnAuthorizationRules'
http GET '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnAuthorizationRules'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnAuthorizationRules'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnAuthorizationRules")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeClientVpnConnections
{{baseUrl}}/#Action=DescribeClientVpnConnections
QUERY PARAMS
ClientVpnEndpointId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnConnections");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeClientVpnConnections" {:query-params {:ClientVpnEndpointId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnConnections"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnConnections"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnConnections");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnConnections"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ClientVpnEndpointId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnConnections")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnConnections"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnConnections")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnConnections")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnConnections');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeClientVpnConnections',
params: {ClientVpnEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnConnections';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnConnections',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnConnections")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ClientVpnEndpointId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeClientVpnConnections',
qs: {ClientVpnEndpointId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeClientVpnConnections');
req.query({
ClientVpnEndpointId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeClientVpnConnections',
params: {ClientVpnEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnConnections';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnConnections"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnConnections" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnConnections",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnConnections');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeClientVpnConnections');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ClientVpnEndpointId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeClientVpnConnections');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ClientVpnEndpointId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnConnections' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnConnections' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ClientVpnEndpointId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeClientVpnConnections"
querystring = {"ClientVpnEndpointId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeClientVpnConnections"
queryString <- list(
ClientVpnEndpointId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnConnections")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ClientVpnEndpointId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeClientVpnConnections";
let querystring = [
("ClientVpnEndpointId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnConnections'
http GET '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnConnections'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnConnections'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnConnections")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeClientVpnEndpoints
{{baseUrl}}/#Action=DescribeClientVpnEndpoints
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeClientVpnEndpoints" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeClientVpnEndpoints',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeClientVpnEndpoints',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeClientVpnEndpoints');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeClientVpnEndpoints',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeClientVpnEndpoints');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeClientVpnEndpoints');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeClientVpnEndpoints"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeClientVpnEndpoints"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeClientVpnEndpoints";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeClientVpnRoutes
{{baseUrl}}/#Action=DescribeClientVpnRoutes
QUERY PARAMS
ClientVpnEndpointId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnRoutes");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeClientVpnRoutes" {:query-params {:ClientVpnEndpointId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnRoutes"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnRoutes"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnRoutes");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnRoutes"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ClientVpnEndpointId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnRoutes")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnRoutes"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnRoutes")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnRoutes")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnRoutes');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeClientVpnRoutes',
params: {ClientVpnEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnRoutes';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnRoutes',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnRoutes")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ClientVpnEndpointId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeClientVpnRoutes',
qs: {ClientVpnEndpointId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeClientVpnRoutes');
req.query({
ClientVpnEndpointId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeClientVpnRoutes',
params: {ClientVpnEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnRoutes';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnRoutes"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnRoutes" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnRoutes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnRoutes');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeClientVpnRoutes');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ClientVpnEndpointId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeClientVpnRoutes');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ClientVpnEndpointId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnRoutes' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnRoutes' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ClientVpnEndpointId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeClientVpnRoutes"
querystring = {"ClientVpnEndpointId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeClientVpnRoutes"
queryString <- list(
ClientVpnEndpointId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnRoutes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ClientVpnEndpointId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeClientVpnRoutes";
let querystring = [
("ClientVpnEndpointId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnRoutes'
http GET '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnRoutes'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnRoutes'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnRoutes")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeClientVpnTargetNetworks
{{baseUrl}}/#Action=DescribeClientVpnTargetNetworks
QUERY PARAMS
ClientVpnEndpointId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnTargetNetworks");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeClientVpnTargetNetworks" {:query-params {:ClientVpnEndpointId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnTargetNetworks"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnTargetNetworks"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnTargetNetworks");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnTargetNetworks"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ClientVpnEndpointId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnTargetNetworks")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnTargetNetworks"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnTargetNetworks")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnTargetNetworks")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnTargetNetworks');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeClientVpnTargetNetworks',
params: {ClientVpnEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnTargetNetworks';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnTargetNetworks',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnTargetNetworks")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ClientVpnEndpointId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeClientVpnTargetNetworks',
qs: {ClientVpnEndpointId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeClientVpnTargetNetworks');
req.query({
ClientVpnEndpointId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeClientVpnTargetNetworks',
params: {ClientVpnEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnTargetNetworks';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnTargetNetworks"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnTargetNetworks" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnTargetNetworks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnTargetNetworks');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeClientVpnTargetNetworks');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ClientVpnEndpointId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeClientVpnTargetNetworks');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ClientVpnEndpointId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnTargetNetworks' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnTargetNetworks' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ClientVpnEndpointId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeClientVpnTargetNetworks"
querystring = {"ClientVpnEndpointId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeClientVpnTargetNetworks"
queryString <- list(
ClientVpnEndpointId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnTargetNetworks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ClientVpnEndpointId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeClientVpnTargetNetworks";
let querystring = [
("ClientVpnEndpointId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnTargetNetworks'
http GET '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnTargetNetworks'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnTargetNetworks'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=DescribeClientVpnTargetNetworks")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeCoipPools
{{baseUrl}}/#Action=DescribeCoipPools
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeCoipPools" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeCoipPools',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeCoipPools',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeCoipPools');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeCoipPools',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeCoipPools');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeCoipPools');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeCoipPools"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeCoipPools"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeCoipPools";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeConversionTasks
{{baseUrl}}/#Action=DescribeConversionTasks
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeConversionTasks" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeConversionTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeConversionTasks',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeConversionTasks');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeConversionTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeConversionTasks');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeConversionTasks');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeConversionTasks"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeConversionTasks"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeConversionTasks";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeCustomerGateways
{{baseUrl}}/#Action=DescribeCustomerGateways
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeCustomerGateways" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeCustomerGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeCustomerGateways',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeCustomerGateways');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeCustomerGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeCustomerGateways');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeCustomerGateways');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeCustomerGateways"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeCustomerGateways"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeCustomerGateways";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"CustomerGateways": [
{
"BgpAsn": "65534",
"CustomerGatewayId": "cgw-0e11f167",
"IpAddress": "12.1.2.3",
"State": "available",
"Type": "ipsec.1"
}
]
}
GET
GET_DescribeDhcpOptions
{{baseUrl}}/#Action=DescribeDhcpOptions
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeDhcpOptions" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeDhcpOptions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeDhcpOptions',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeDhcpOptions');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeDhcpOptions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeDhcpOptions');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeDhcpOptions');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeDhcpOptions"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeDhcpOptions"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeDhcpOptions";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"DhcpOptions": [
{
"DhcpConfigurations": [
{
"Key": "domain-name-servers",
"Values": [
{
"Value": "10.2.5.2"
},
{
"Value": "10.2.5.1"
}
]
}
],
"DhcpOptionsId": "dopt-d9070ebb"
}
]
}
GET
GET_DescribeEgressOnlyInternetGateways
{{baseUrl}}/#Action=DescribeEgressOnlyInternetGateways
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeEgressOnlyInternetGateways" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeEgressOnlyInternetGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeEgressOnlyInternetGateways',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeEgressOnlyInternetGateways');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeEgressOnlyInternetGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeEgressOnlyInternetGateways');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeEgressOnlyInternetGateways');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeEgressOnlyInternetGateways"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeEgressOnlyInternetGateways"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeEgressOnlyInternetGateways";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeElasticGpus
{{baseUrl}}/#Action=DescribeElasticGpus
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeElasticGpus" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeElasticGpus',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeElasticGpus',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeElasticGpus');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeElasticGpus',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeElasticGpus');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeElasticGpus');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeElasticGpus"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeElasticGpus"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeElasticGpus";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeExportImageTasks
{{baseUrl}}/#Action=DescribeExportImageTasks
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeExportImageTasks" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeExportImageTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeExportImageTasks',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeExportImageTasks');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeExportImageTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeExportImageTasks');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeExportImageTasks');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeExportImageTasks"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeExportImageTasks"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeExportImageTasks";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeExportTasks
{{baseUrl}}/#Action=DescribeExportTasks
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeExportTasks" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeExportTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeExportTasks',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeExportTasks');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeExportTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeExportTasks');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeExportTasks');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeExportTasks"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeExportTasks"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeExportTasks";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeFastLaunchImages
{{baseUrl}}/#Action=DescribeFastLaunchImages
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeFastLaunchImages" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeFastLaunchImages',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeFastLaunchImages',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeFastLaunchImages');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeFastLaunchImages',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeFastLaunchImages');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeFastLaunchImages');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeFastLaunchImages"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeFastLaunchImages"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeFastLaunchImages";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeFastSnapshotRestores
{{baseUrl}}/#Action=DescribeFastSnapshotRestores
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeFastSnapshotRestores" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeFastSnapshotRestores',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeFastSnapshotRestores',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeFastSnapshotRestores');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeFastSnapshotRestores',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeFastSnapshotRestores');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeFastSnapshotRestores');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeFastSnapshotRestores"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeFastSnapshotRestores"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeFastSnapshotRestores";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeFleetHistory
{{baseUrl}}/#Action=DescribeFleetHistory
QUERY PARAMS
FleetId
StartTime
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?FleetId=&StartTime=&Action=&Version=#Action=DescribeFleetHistory");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeFleetHistory" {:query-params {:FleetId ""
:StartTime ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?FleetId=&StartTime=&Action=&Version=#Action=DescribeFleetHistory"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?FleetId=&StartTime=&Action=&Version=#Action=DescribeFleetHistory"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?FleetId=&StartTime=&Action=&Version=#Action=DescribeFleetHistory");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?FleetId=&StartTime=&Action=&Version=#Action=DescribeFleetHistory"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?FleetId=&StartTime=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?FleetId=&StartTime=&Action=&Version=#Action=DescribeFleetHistory")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?FleetId=&StartTime=&Action=&Version=#Action=DescribeFleetHistory"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?FleetId=&StartTime=&Action=&Version=#Action=DescribeFleetHistory")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?FleetId=&StartTime=&Action=&Version=#Action=DescribeFleetHistory")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?FleetId=&StartTime=&Action=&Version=#Action=DescribeFleetHistory');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeFleetHistory',
params: {FleetId: '', StartTime: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?FleetId=&StartTime=&Action=&Version=#Action=DescribeFleetHistory';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?FleetId=&StartTime=&Action=&Version=#Action=DescribeFleetHistory',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?FleetId=&StartTime=&Action=&Version=#Action=DescribeFleetHistory")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?FleetId=&StartTime=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeFleetHistory',
qs: {FleetId: '', StartTime: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeFleetHistory');
req.query({
FleetId: '',
StartTime: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeFleetHistory',
params: {FleetId: '', StartTime: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?FleetId=&StartTime=&Action=&Version=#Action=DescribeFleetHistory';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?FleetId=&StartTime=&Action=&Version=#Action=DescribeFleetHistory"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?FleetId=&StartTime=&Action=&Version=#Action=DescribeFleetHistory" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?FleetId=&StartTime=&Action=&Version=#Action=DescribeFleetHistory",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?FleetId=&StartTime=&Action=&Version=#Action=DescribeFleetHistory');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeFleetHistory');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'FleetId' => '',
'StartTime' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeFleetHistory');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'FleetId' => '',
'StartTime' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?FleetId=&StartTime=&Action=&Version=#Action=DescribeFleetHistory' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?FleetId=&StartTime=&Action=&Version=#Action=DescribeFleetHistory' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?FleetId=&StartTime=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeFleetHistory"
querystring = {"FleetId":"","StartTime":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeFleetHistory"
queryString <- list(
FleetId = "",
StartTime = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?FleetId=&StartTime=&Action=&Version=#Action=DescribeFleetHistory")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['FleetId'] = ''
req.params['StartTime'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeFleetHistory";
let querystring = [
("FleetId", ""),
("StartTime", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?FleetId=&StartTime=&Action=&Version=#Action=DescribeFleetHistory'
http GET '{{baseUrl}}/?FleetId=&StartTime=&Action=&Version=#Action=DescribeFleetHistory'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?FleetId=&StartTime=&Action=&Version=#Action=DescribeFleetHistory'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?FleetId=&StartTime=&Action=&Version=#Action=DescribeFleetHistory")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeFleetInstances
{{baseUrl}}/#Action=DescribeFleetInstances
QUERY PARAMS
FleetId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?FleetId=&Action=&Version=#Action=DescribeFleetInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeFleetInstances" {:query-params {:FleetId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?FleetId=&Action=&Version=#Action=DescribeFleetInstances"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?FleetId=&Action=&Version=#Action=DescribeFleetInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?FleetId=&Action=&Version=#Action=DescribeFleetInstances");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?FleetId=&Action=&Version=#Action=DescribeFleetInstances"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?FleetId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?FleetId=&Action=&Version=#Action=DescribeFleetInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?FleetId=&Action=&Version=#Action=DescribeFleetInstances"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?FleetId=&Action=&Version=#Action=DescribeFleetInstances")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?FleetId=&Action=&Version=#Action=DescribeFleetInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?FleetId=&Action=&Version=#Action=DescribeFleetInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeFleetInstances',
params: {FleetId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?FleetId=&Action=&Version=#Action=DescribeFleetInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?FleetId=&Action=&Version=#Action=DescribeFleetInstances',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?FleetId=&Action=&Version=#Action=DescribeFleetInstances")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?FleetId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeFleetInstances',
qs: {FleetId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeFleetInstances');
req.query({
FleetId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeFleetInstances',
params: {FleetId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?FleetId=&Action=&Version=#Action=DescribeFleetInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?FleetId=&Action=&Version=#Action=DescribeFleetInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?FleetId=&Action=&Version=#Action=DescribeFleetInstances" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?FleetId=&Action=&Version=#Action=DescribeFleetInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?FleetId=&Action=&Version=#Action=DescribeFleetInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeFleetInstances');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'FleetId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeFleetInstances');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'FleetId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?FleetId=&Action=&Version=#Action=DescribeFleetInstances' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?FleetId=&Action=&Version=#Action=DescribeFleetInstances' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?FleetId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeFleetInstances"
querystring = {"FleetId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeFleetInstances"
queryString <- list(
FleetId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?FleetId=&Action=&Version=#Action=DescribeFleetInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['FleetId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeFleetInstances";
let querystring = [
("FleetId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?FleetId=&Action=&Version=#Action=DescribeFleetInstances'
http GET '{{baseUrl}}/?FleetId=&Action=&Version=#Action=DescribeFleetInstances'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?FleetId=&Action=&Version=#Action=DescribeFleetInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?FleetId=&Action=&Version=#Action=DescribeFleetInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeFleets
{{baseUrl}}/#Action=DescribeFleets
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeFleets");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeFleets" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeFleets"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeFleets"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeFleets");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeFleets"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeFleets")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeFleets"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeFleets")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeFleets")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeFleets');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeFleets',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeFleets';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeFleets',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeFleets")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeFleets',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeFleets');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeFleets',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeFleets';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeFleets"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeFleets" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeFleets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeFleets');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeFleets');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeFleets');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeFleets' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeFleets' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeFleets"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeFleets"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeFleets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeFleets";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeFleets'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeFleets'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeFleets'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeFleets")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeFlowLogs
{{baseUrl}}/#Action=DescribeFlowLogs
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeFlowLogs" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeFlowLogs',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeFlowLogs',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeFlowLogs');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeFlowLogs',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeFlowLogs');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeFlowLogs');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeFlowLogs"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeFlowLogs"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeFlowLogs";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeFpgaImageAttribute
{{baseUrl}}/#Action=DescribeFpgaImageAttribute
QUERY PARAMS
FpgaImageId
Attribute
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?FpgaImageId=&Attribute=&Action=&Version=#Action=DescribeFpgaImageAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeFpgaImageAttribute" {:query-params {:FpgaImageId ""
:Attribute ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?FpgaImageId=&Attribute=&Action=&Version=#Action=DescribeFpgaImageAttribute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?FpgaImageId=&Attribute=&Action=&Version=#Action=DescribeFpgaImageAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?FpgaImageId=&Attribute=&Action=&Version=#Action=DescribeFpgaImageAttribute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?FpgaImageId=&Attribute=&Action=&Version=#Action=DescribeFpgaImageAttribute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?FpgaImageId=&Attribute=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?FpgaImageId=&Attribute=&Action=&Version=#Action=DescribeFpgaImageAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?FpgaImageId=&Attribute=&Action=&Version=#Action=DescribeFpgaImageAttribute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?FpgaImageId=&Attribute=&Action=&Version=#Action=DescribeFpgaImageAttribute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?FpgaImageId=&Attribute=&Action=&Version=#Action=DescribeFpgaImageAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?FpgaImageId=&Attribute=&Action=&Version=#Action=DescribeFpgaImageAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeFpgaImageAttribute',
params: {FpgaImageId: '', Attribute: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?FpgaImageId=&Attribute=&Action=&Version=#Action=DescribeFpgaImageAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?FpgaImageId=&Attribute=&Action=&Version=#Action=DescribeFpgaImageAttribute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?FpgaImageId=&Attribute=&Action=&Version=#Action=DescribeFpgaImageAttribute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?FpgaImageId=&Attribute=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeFpgaImageAttribute',
qs: {FpgaImageId: '', Attribute: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeFpgaImageAttribute');
req.query({
FpgaImageId: '',
Attribute: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeFpgaImageAttribute',
params: {FpgaImageId: '', Attribute: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?FpgaImageId=&Attribute=&Action=&Version=#Action=DescribeFpgaImageAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?FpgaImageId=&Attribute=&Action=&Version=#Action=DescribeFpgaImageAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?FpgaImageId=&Attribute=&Action=&Version=#Action=DescribeFpgaImageAttribute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?FpgaImageId=&Attribute=&Action=&Version=#Action=DescribeFpgaImageAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?FpgaImageId=&Attribute=&Action=&Version=#Action=DescribeFpgaImageAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeFpgaImageAttribute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'FpgaImageId' => '',
'Attribute' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeFpgaImageAttribute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'FpgaImageId' => '',
'Attribute' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?FpgaImageId=&Attribute=&Action=&Version=#Action=DescribeFpgaImageAttribute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?FpgaImageId=&Attribute=&Action=&Version=#Action=DescribeFpgaImageAttribute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?FpgaImageId=&Attribute=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeFpgaImageAttribute"
querystring = {"FpgaImageId":"","Attribute":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeFpgaImageAttribute"
queryString <- list(
FpgaImageId = "",
Attribute = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?FpgaImageId=&Attribute=&Action=&Version=#Action=DescribeFpgaImageAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['FpgaImageId'] = ''
req.params['Attribute'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeFpgaImageAttribute";
let querystring = [
("FpgaImageId", ""),
("Attribute", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?FpgaImageId=&Attribute=&Action=&Version=#Action=DescribeFpgaImageAttribute'
http GET '{{baseUrl}}/?FpgaImageId=&Attribute=&Action=&Version=#Action=DescribeFpgaImageAttribute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?FpgaImageId=&Attribute=&Action=&Version=#Action=DescribeFpgaImageAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?FpgaImageId=&Attribute=&Action=&Version=#Action=DescribeFpgaImageAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeFpgaImages
{{baseUrl}}/#Action=DescribeFpgaImages
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeFpgaImages" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeFpgaImages',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeFpgaImages',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeFpgaImages');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeFpgaImages',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeFpgaImages');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeFpgaImages');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeFpgaImages"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeFpgaImages"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeFpgaImages";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeHostReservationOfferings
{{baseUrl}}/#Action=DescribeHostReservationOfferings
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeHostReservationOfferings" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeHostReservationOfferings',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeHostReservationOfferings',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeHostReservationOfferings');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeHostReservationOfferings',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeHostReservationOfferings');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeHostReservationOfferings');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeHostReservationOfferings"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeHostReservationOfferings"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeHostReservationOfferings";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeHostReservations
{{baseUrl}}/#Action=DescribeHostReservations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeHostReservations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeHostReservations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeHostReservations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeHostReservations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeHostReservations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeHostReservations');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeHostReservations');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeHostReservations"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeHostReservations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeHostReservations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeHosts
{{baseUrl}}/#Action=DescribeHosts
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeHosts");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeHosts" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeHosts"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeHosts"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeHosts");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeHosts"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeHosts")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeHosts"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeHosts")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeHosts")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeHosts');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeHosts',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeHosts';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeHosts',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeHosts")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeHosts',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeHosts');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeHosts',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeHosts';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeHosts"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeHosts" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeHosts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeHosts');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeHosts');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeHosts');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeHosts' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeHosts' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeHosts"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeHosts"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeHosts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeHosts";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeHosts'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeHosts'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeHosts'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeHosts")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeIamInstanceProfileAssociations
{{baseUrl}}/#Action=DescribeIamInstanceProfileAssociations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeIamInstanceProfileAssociations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeIamInstanceProfileAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeIamInstanceProfileAssociations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeIamInstanceProfileAssociations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeIamInstanceProfileAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeIamInstanceProfileAssociations');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeIamInstanceProfileAssociations');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeIamInstanceProfileAssociations"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeIamInstanceProfileAssociations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeIamInstanceProfileAssociations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"IamInstanceProfileAssociations": [
{
"AssociationId": "iip-assoc-0db249b1f25fa24b8",
"IamInstanceProfile": {
"Arn": "arn:aws:iam::123456789012:instance-profile/admin-role",
"Id": "AIPAJVQN4F5WVLGCJDRGM"
},
"InstanceId": "i-09eb09efa73ec1dee",
"State": "associated"
}
]
}
GET
GET_DescribeIdFormat
{{baseUrl}}/#Action=DescribeIdFormat
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeIdFormat" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeIdFormat',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeIdFormat',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeIdFormat');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeIdFormat',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeIdFormat');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeIdFormat');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeIdFormat"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeIdFormat"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeIdFormat";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeIdentityIdFormat
{{baseUrl}}/#Action=DescribeIdentityIdFormat
QUERY PARAMS
PrincipalArn
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?PrincipalArn=&Action=&Version=#Action=DescribeIdentityIdFormat");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeIdentityIdFormat" {:query-params {:PrincipalArn ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?PrincipalArn=&Action=&Version=#Action=DescribeIdentityIdFormat"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?PrincipalArn=&Action=&Version=#Action=DescribeIdentityIdFormat"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?PrincipalArn=&Action=&Version=#Action=DescribeIdentityIdFormat");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?PrincipalArn=&Action=&Version=#Action=DescribeIdentityIdFormat"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?PrincipalArn=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?PrincipalArn=&Action=&Version=#Action=DescribeIdentityIdFormat")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?PrincipalArn=&Action=&Version=#Action=DescribeIdentityIdFormat"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?PrincipalArn=&Action=&Version=#Action=DescribeIdentityIdFormat")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?PrincipalArn=&Action=&Version=#Action=DescribeIdentityIdFormat")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?PrincipalArn=&Action=&Version=#Action=DescribeIdentityIdFormat');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeIdentityIdFormat',
params: {PrincipalArn: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?PrincipalArn=&Action=&Version=#Action=DescribeIdentityIdFormat';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?PrincipalArn=&Action=&Version=#Action=DescribeIdentityIdFormat',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?PrincipalArn=&Action=&Version=#Action=DescribeIdentityIdFormat")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?PrincipalArn=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeIdentityIdFormat',
qs: {PrincipalArn: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeIdentityIdFormat');
req.query({
PrincipalArn: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeIdentityIdFormat',
params: {PrincipalArn: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?PrincipalArn=&Action=&Version=#Action=DescribeIdentityIdFormat';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?PrincipalArn=&Action=&Version=#Action=DescribeIdentityIdFormat"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?PrincipalArn=&Action=&Version=#Action=DescribeIdentityIdFormat" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?PrincipalArn=&Action=&Version=#Action=DescribeIdentityIdFormat",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?PrincipalArn=&Action=&Version=#Action=DescribeIdentityIdFormat');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeIdentityIdFormat');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'PrincipalArn' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeIdentityIdFormat');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'PrincipalArn' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?PrincipalArn=&Action=&Version=#Action=DescribeIdentityIdFormat' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?PrincipalArn=&Action=&Version=#Action=DescribeIdentityIdFormat' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?PrincipalArn=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeIdentityIdFormat"
querystring = {"PrincipalArn":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeIdentityIdFormat"
queryString <- list(
PrincipalArn = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?PrincipalArn=&Action=&Version=#Action=DescribeIdentityIdFormat")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['PrincipalArn'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeIdentityIdFormat";
let querystring = [
("PrincipalArn", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?PrincipalArn=&Action=&Version=#Action=DescribeIdentityIdFormat'
http GET '{{baseUrl}}/?PrincipalArn=&Action=&Version=#Action=DescribeIdentityIdFormat'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?PrincipalArn=&Action=&Version=#Action=DescribeIdentityIdFormat'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?PrincipalArn=&Action=&Version=#Action=DescribeIdentityIdFormat")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeImageAttribute
{{baseUrl}}/#Action=DescribeImageAttribute
QUERY PARAMS
Attribute
ImageId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=DescribeImageAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeImageAttribute" {:query-params {:Attribute ""
:ImageId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=DescribeImageAttribute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=DescribeImageAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=DescribeImageAttribute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=DescribeImageAttribute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Attribute=&ImageId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=DescribeImageAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=DescribeImageAttribute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=DescribeImageAttribute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=DescribeImageAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=DescribeImageAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeImageAttribute',
params: {Attribute: '', ImageId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=DescribeImageAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=DescribeImageAttribute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=DescribeImageAttribute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Attribute=&ImageId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeImageAttribute',
qs: {Attribute: '', ImageId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeImageAttribute');
req.query({
Attribute: '',
ImageId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeImageAttribute',
params: {Attribute: '', ImageId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=DescribeImageAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=DescribeImageAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=DescribeImageAttribute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=DescribeImageAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=DescribeImageAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeImageAttribute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Attribute' => '',
'ImageId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeImageAttribute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Attribute' => '',
'ImageId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=DescribeImageAttribute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=DescribeImageAttribute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Attribute=&ImageId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeImageAttribute"
querystring = {"Attribute":"","ImageId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeImageAttribute"
queryString <- list(
Attribute = "",
ImageId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=DescribeImageAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Attribute'] = ''
req.params['ImageId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeImageAttribute";
let querystring = [
("Attribute", ""),
("ImageId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=DescribeImageAttribute'
http GET '{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=DescribeImageAttribute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=DescribeImageAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=DescribeImageAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"ImageId": "ami-5731123e",
"LaunchPermissions": [
{
"UserId": "123456789012"
}
]
}
GET
GET_DescribeImages
{{baseUrl}}/#Action=DescribeImages
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeImages");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeImages" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeImages"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeImages"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeImages");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeImages"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeImages")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeImages"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeImages")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeImages")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeImages');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeImages',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeImages';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeImages',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeImages")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeImages',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeImages');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeImages',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeImages';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeImages"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeImages" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeImages",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeImages');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeImages');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeImages');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeImages' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeImages' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeImages"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeImages"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeImages")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeImages";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeImages'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeImages'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeImages'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeImages")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"Images": [
{
"Architecture": "x86_64",
"BlockDeviceMappings": [
{
"DeviceName": "/dev/sda1",
"Ebs": {
"DeleteOnTermination": true,
"SnapshotId": "snap-1234567890abcdef0",
"VolumeSize": 8,
"VolumeType": "standard"
}
}
],
"Description": "An AMI for my server",
"Hypervisor": "xen",
"ImageId": "ami-5731123e",
"ImageLocation": "123456789012/My server",
"ImageType": "machine",
"KernelId": "aki-88aa75e1",
"Name": "My server",
"OwnerId": "123456789012",
"Public": false,
"RootDeviceName": "/dev/sda1",
"RootDeviceType": "ebs",
"State": "available",
"VirtualizationType": "paravirtual"
}
]
}
GET
GET_DescribeImportImageTasks
{{baseUrl}}/#Action=DescribeImportImageTasks
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeImportImageTasks" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeImportImageTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeImportImageTasks',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeImportImageTasks');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeImportImageTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeImportImageTasks');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeImportImageTasks');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeImportImageTasks"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeImportImageTasks"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeImportImageTasks";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeImportSnapshotTasks
{{baseUrl}}/#Action=DescribeImportSnapshotTasks
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeImportSnapshotTasks" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeImportSnapshotTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeImportSnapshotTasks',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeImportSnapshotTasks');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeImportSnapshotTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeImportSnapshotTasks');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeImportSnapshotTasks');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeImportSnapshotTasks"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeImportSnapshotTasks"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeImportSnapshotTasks";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeInstanceAttribute
{{baseUrl}}/#Action=DescribeInstanceAttribute
QUERY PARAMS
Attribute
InstanceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=DescribeInstanceAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeInstanceAttribute" {:query-params {:Attribute ""
:InstanceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=DescribeInstanceAttribute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=DescribeInstanceAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=DescribeInstanceAttribute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=DescribeInstanceAttribute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Attribute=&InstanceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=DescribeInstanceAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=DescribeInstanceAttribute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=DescribeInstanceAttribute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=DescribeInstanceAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=DescribeInstanceAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeInstanceAttribute',
params: {Attribute: '', InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=DescribeInstanceAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=DescribeInstanceAttribute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=DescribeInstanceAttribute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Attribute=&InstanceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeInstanceAttribute',
qs: {Attribute: '', InstanceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeInstanceAttribute');
req.query({
Attribute: '',
InstanceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeInstanceAttribute',
params: {Attribute: '', InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=DescribeInstanceAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=DescribeInstanceAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=DescribeInstanceAttribute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=DescribeInstanceAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=DescribeInstanceAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeInstanceAttribute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Attribute' => '',
'InstanceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeInstanceAttribute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Attribute' => '',
'InstanceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=DescribeInstanceAttribute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=DescribeInstanceAttribute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Attribute=&InstanceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeInstanceAttribute"
querystring = {"Attribute":"","InstanceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeInstanceAttribute"
queryString <- list(
Attribute = "",
InstanceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=DescribeInstanceAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Attribute'] = ''
req.params['InstanceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeInstanceAttribute";
let querystring = [
("Attribute", ""),
("InstanceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=DescribeInstanceAttribute'
http GET '{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=DescribeInstanceAttribute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=DescribeInstanceAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=DescribeInstanceAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"BlockDeviceMappings": [
{
"DeviceName": "/dev/sda1",
"Ebs": {
"AttachTime": "2013-05-17T22:42:34.000Z",
"DeleteOnTermination": true,
"Status": "attached",
"VolumeId": "vol-049df61146c4d7901"
}
},
{
"DeviceName": "/dev/sdf",
"Ebs": {
"AttachTime": "2013-09-10T23:07:00.000Z",
"DeleteOnTermination": false,
"Status": "attached",
"VolumeId": "vol-049df61146c4d7901"
}
}
],
"InstanceId": "i-1234567890abcdef0"
}
GET
GET_DescribeInstanceCreditSpecifications
{{baseUrl}}/#Action=DescribeInstanceCreditSpecifications
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeInstanceCreditSpecifications" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeInstanceCreditSpecifications',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeInstanceCreditSpecifications',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeInstanceCreditSpecifications');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeInstanceCreditSpecifications',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeInstanceCreditSpecifications');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeInstanceCreditSpecifications');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeInstanceCreditSpecifications"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeInstanceCreditSpecifications"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeInstanceCreditSpecifications";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeInstanceEventNotificationAttributes
{{baseUrl}}/#Action=DescribeInstanceEventNotificationAttributes
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeInstanceEventNotificationAttributes" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeInstanceEventNotificationAttributes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeInstanceEventNotificationAttributes',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeInstanceEventNotificationAttributes');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeInstanceEventNotificationAttributes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeInstanceEventNotificationAttributes');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeInstanceEventNotificationAttributes');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeInstanceEventNotificationAttributes"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeInstanceEventNotificationAttributes"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeInstanceEventNotificationAttributes";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeInstanceEventWindows
{{baseUrl}}/#Action=DescribeInstanceEventWindows
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeInstanceEventWindows" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeInstanceEventWindows',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeInstanceEventWindows',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeInstanceEventWindows');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeInstanceEventWindows',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeInstanceEventWindows');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeInstanceEventWindows');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeInstanceEventWindows"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeInstanceEventWindows"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeInstanceEventWindows";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeInstanceStatus
{{baseUrl}}/#Action=DescribeInstanceStatus
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeInstanceStatus" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeInstanceStatus',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeInstanceStatus',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeInstanceStatus');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeInstanceStatus',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeInstanceStatus');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeInstanceStatus');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeInstanceStatus"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeInstanceStatus"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeInstanceStatus";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"InstanceStatuses": [
{
"AvailabilityZone": "us-east-1d",
"InstanceId": "i-1234567890abcdef0",
"InstanceState": {
"Code": 16,
"Name": "running"
},
"InstanceStatus": {
"Details": [
{
"Name": "reachability",
"Status": "passed"
}
],
"Status": "ok"
},
"SystemStatus": {
"Details": [
{
"Name": "reachability",
"Status": "passed"
}
],
"Status": "ok"
}
}
]
}
GET
GET_DescribeInstanceTypeOfferings
{{baseUrl}}/#Action=DescribeInstanceTypeOfferings
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeInstanceTypeOfferings" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeInstanceTypeOfferings',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeInstanceTypeOfferings',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeInstanceTypeOfferings');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeInstanceTypeOfferings',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeInstanceTypeOfferings');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeInstanceTypeOfferings');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeInstanceTypeOfferings"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeInstanceTypeOfferings"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeInstanceTypeOfferings";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeInstanceTypes
{{baseUrl}}/#Action=DescribeInstanceTypes
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeInstanceTypes" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeInstanceTypes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeInstanceTypes',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeInstanceTypes');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeInstanceTypes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeInstanceTypes');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeInstanceTypes');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeInstanceTypes"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeInstanceTypes"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeInstanceTypes";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeInstances
{{baseUrl}}/#Action=DescribeInstances
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeInstances" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeInstances"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeInstances");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeInstances"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeInstances"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstances")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeInstances',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstances")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeInstances',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeInstances');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeInstances" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeInstances');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeInstances');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstances' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstances' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeInstances"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeInstances"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeInstances";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeInstances'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeInstances'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{}
GET
GET_DescribeInternetGateways
{{baseUrl}}/#Action=DescribeInternetGateways
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeInternetGateways" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeInternetGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeInternetGateways',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeInternetGateways');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeInternetGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeInternetGateways');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeInternetGateways');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeInternetGateways"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeInternetGateways"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeInternetGateways";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"InternetGateways": [
{
"Attachments": [
{
"State": "available",
"VpcId": "vpc-a01106c2"
}
],
"InternetGatewayId": "igw-c0a643a9",
"Tags": []
}
]
}
GET
GET_DescribeIpamPools
{{baseUrl}}/#Action=DescribeIpamPools
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeIpamPools" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeIpamPools',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeIpamPools',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeIpamPools');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeIpamPools',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeIpamPools');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeIpamPools');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeIpamPools"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeIpamPools"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeIpamPools";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeIpamResourceDiscoveries
{{baseUrl}}/#Action=DescribeIpamResourceDiscoveries
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeIpamResourceDiscoveries" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeIpamResourceDiscoveries',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeIpamResourceDiscoveries',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeIpamResourceDiscoveries');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeIpamResourceDiscoveries',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeIpamResourceDiscoveries');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeIpamResourceDiscoveries');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeIpamResourceDiscoveries"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeIpamResourceDiscoveries"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeIpamResourceDiscoveries";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeIpamResourceDiscoveryAssociations
{{baseUrl}}/#Action=DescribeIpamResourceDiscoveryAssociations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeIpamResourceDiscoveryAssociations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeIpamResourceDiscoveryAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeIpamResourceDiscoveryAssociations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeIpamResourceDiscoveryAssociations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeIpamResourceDiscoveryAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeIpamResourceDiscoveryAssociations');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeIpamResourceDiscoveryAssociations');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeIpamResourceDiscoveryAssociations"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeIpamResourceDiscoveryAssociations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeIpamResourceDiscoveryAssociations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeIpamScopes
{{baseUrl}}/#Action=DescribeIpamScopes
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeIpamScopes" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeIpamScopes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeIpamScopes',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeIpamScopes');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeIpamScopes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeIpamScopes');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeIpamScopes');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeIpamScopes"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeIpamScopes"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeIpamScopes";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeIpams
{{baseUrl}}/#Action=DescribeIpams
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeIpams");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeIpams" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeIpams"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeIpams"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeIpams");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeIpams"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeIpams")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeIpams"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIpams")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeIpams")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeIpams');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeIpams',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIpams';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeIpams',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIpams")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeIpams',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeIpams');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeIpams',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIpams';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeIpams"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeIpams" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeIpams",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeIpams');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeIpams');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeIpams');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIpams' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIpams' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeIpams"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeIpams"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeIpams")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeIpams";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeIpams'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeIpams'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeIpams'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeIpams")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeIpv6Pools
{{baseUrl}}/#Action=DescribeIpv6Pools
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeIpv6Pools" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeIpv6Pools',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeIpv6Pools',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeIpv6Pools');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeIpv6Pools',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeIpv6Pools');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeIpv6Pools');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeIpv6Pools"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeIpv6Pools"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeIpv6Pools";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeKeyPairs
{{baseUrl}}/#Action=DescribeKeyPairs
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeKeyPairs" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeKeyPairs',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeKeyPairs',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeKeyPairs');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeKeyPairs',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeKeyPairs');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeKeyPairs');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeKeyPairs"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeKeyPairs"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeKeyPairs";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"KeyPairs": [
{
"KeyFingerprint": "1f:51:ae:28:bf:89:e9:d8:1f:25:5d:37:2d:7d:b8:ca:9f:f5:f1:6f",
"KeyName": "my-key-pair"
}
]
}
GET
GET_DescribeLaunchTemplateVersions
{{baseUrl}}/#Action=DescribeLaunchTemplateVersions
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeLaunchTemplateVersions" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeLaunchTemplateVersions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeLaunchTemplateVersions',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeLaunchTemplateVersions');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeLaunchTemplateVersions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeLaunchTemplateVersions');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeLaunchTemplateVersions');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeLaunchTemplateVersions"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeLaunchTemplateVersions"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeLaunchTemplateVersions";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"LaunchTemplateVersions": [
{
"CreateTime": "2017-11-20T13:12:32.000Z",
"CreatedBy": "arn:aws:iam::123456789102:root",
"DefaultVersion": false,
"LaunchTemplateData": {
"ImageId": "ami-6057e21a",
"InstanceType": "t2.medium",
"KeyName": "kp-us-east",
"NetworkInterfaces": [
{
"DeviceIndex": 0,
"Groups": [
"sg-7c227019"
],
"SubnetId": "subnet-1a2b3c4d"
}
]
},
"LaunchTemplateId": "lt-068f72b72934aff71",
"LaunchTemplateName": "Webservers",
"VersionNumber": 2
},
{
"CreateTime": "2017-11-20T12:52:33.000Z",
"CreatedBy": "arn:aws:iam::123456789102:root",
"DefaultVersion": true,
"LaunchTemplateData": {
"ImageId": "ami-aabbcc11",
"InstanceType": "t2.medium",
"KeyName": "kp-us-east",
"NetworkInterfaces": [
{
"AssociatePublicIpAddress": true,
"DeleteOnTermination": false,
"DeviceIndex": 0,
"Groups": [
"sg-7c227019"
],
"SubnetId": "subnet-7b16de0c"
}
],
"UserData": ""
},
"LaunchTemplateId": "lt-068f72b72934aff71",
"LaunchTemplateName": "Webservers",
"VersionNumber": 1
}
]
}
GET
GET_DescribeLaunchTemplates
{{baseUrl}}/#Action=DescribeLaunchTemplates
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeLaunchTemplates" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeLaunchTemplates',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeLaunchTemplates',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeLaunchTemplates');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeLaunchTemplates',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeLaunchTemplates');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeLaunchTemplates');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeLaunchTemplates"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeLaunchTemplates"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeLaunchTemplates";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"LaunchTemplates": [
{
"CreateTime": "2018-01-16T04:32:57.000Z",
"CreatedBy": "arn:aws:iam::123456789012:root",
"DefaultVersionNumber": 1,
"LatestVersionNumber": 1,
"LaunchTemplateId": "lt-01238c059e3466abc",
"LaunchTemplateName": "my-template"
}
]
}
GET
GET_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations
{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeLocalGatewayRouteTableVpcAssociations
{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVpcAssociations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVpcAssociations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVpcAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVpcAssociations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVpcAssociations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVpcAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVpcAssociations');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVpcAssociations');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVpcAssociations"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVpcAssociations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVpcAssociations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeLocalGatewayRouteTables
{{baseUrl}}/#Action=DescribeLocalGatewayRouteTables
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeLocalGatewayRouteTables" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayRouteTables',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayRouteTables',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeLocalGatewayRouteTables');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayRouteTables',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeLocalGatewayRouteTables');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeLocalGatewayRouteTables');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeLocalGatewayRouteTables"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeLocalGatewayRouteTables"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeLocalGatewayRouteTables";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeLocalGatewayVirtualInterfaceGroups
{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaceGroups
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaceGroups" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaceGroups',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaceGroups',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaceGroups');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaceGroups',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaceGroups');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaceGroups');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaceGroups"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaceGroups"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaceGroups";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeLocalGatewayVirtualInterfaces
{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaces
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaces" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaces',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaces',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaces');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaces',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaces');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaces');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaces"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaces"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaces";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeLocalGateways
{{baseUrl}}/#Action=DescribeLocalGateways
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeLocalGateways" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeLocalGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeLocalGateways',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeLocalGateways');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeLocalGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeLocalGateways');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeLocalGateways');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeLocalGateways"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeLocalGateways"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeLocalGateways";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeManagedPrefixLists
{{baseUrl}}/#Action=DescribeManagedPrefixLists
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeManagedPrefixLists" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeManagedPrefixLists',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeManagedPrefixLists',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeManagedPrefixLists');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeManagedPrefixLists',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeManagedPrefixLists');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeManagedPrefixLists');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeManagedPrefixLists"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeManagedPrefixLists"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeManagedPrefixLists";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeMovingAddresses
{{baseUrl}}/#Action=DescribeMovingAddresses
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeMovingAddresses" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeMovingAddresses',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeMovingAddresses',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeMovingAddresses');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeMovingAddresses',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeMovingAddresses');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeMovingAddresses');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeMovingAddresses"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeMovingAddresses"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeMovingAddresses";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"MovingAddressStatuses": [
{
"MoveStatus": "MovingToVpc",
"PublicIp": "198.51.100.0"
}
]
}
GET
GET_DescribeNatGateways
{{baseUrl}}/#Action=DescribeNatGateways
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeNatGateways" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeNatGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeNatGateways',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeNatGateways');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeNatGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeNatGateways');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeNatGateways');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeNatGateways"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeNatGateways"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeNatGateways";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"NatGateways": [
{
"CreateTime": "2015-12-01T12:26:55.983Z",
"NatGatewayAddresses": [
{
"AllocationId": "eipalloc-89c620ec",
"NetworkInterfaceId": "eni-9dec76cd",
"PrivateIp": "10.0.0.149",
"PublicIp": "198.11.222.333"
}
],
"NatGatewayId": "nat-05dba92075d71c408",
"State": "available",
"SubnetId": "subnet-847e4dc2",
"VpcId": "vpc-1a2b3c4d"
}
]
}
GET
GET_DescribeNetworkAcls
{{baseUrl}}/#Action=DescribeNetworkAcls
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeNetworkAcls" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeNetworkAcls',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeNetworkAcls',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeNetworkAcls');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeNetworkAcls',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeNetworkAcls');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeNetworkAcls');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeNetworkAcls"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeNetworkAcls"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeNetworkAcls";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"NetworkAcls": [
{
"Associations": [
{
"NetworkAclAssociationId": "aclassoc-66ea5f0b",
"NetworkAclId": "acl-9aeb5ef7",
"SubnetId": "subnet-65ea5f08"
}
],
"Entries": [
{
"CidrBlock": "0.0.0.0/0",
"Egress": true,
"Protocol": "-1",
"RuleAction": "deny",
"RuleNumber": 32767
},
{
"CidrBlock": "0.0.0.0/0",
"Egress": false,
"Protocol": "-1",
"RuleAction": "deny",
"RuleNumber": 32767
}
],
"IsDefault": false,
"NetworkAclId": "acl-5fb85d36",
"Tags": [],
"VpcId": "vpc-a01106c2"
}
]
}
GET
GET_DescribeNetworkInsightsAccessScopeAnalyses
{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopeAnalyses
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopeAnalyses" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopeAnalyses',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopeAnalyses',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopeAnalyses');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopeAnalyses',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopeAnalyses');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopeAnalyses');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopeAnalyses"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopeAnalyses"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopeAnalyses";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeNetworkInsightsAccessScopes
{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopes
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopes" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopes',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopes');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopes');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopes');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopes"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopes"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopes";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeNetworkInsightsAnalyses
{{baseUrl}}/#Action=DescribeNetworkInsightsAnalyses
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeNetworkInsightsAnalyses" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeNetworkInsightsAnalyses',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeNetworkInsightsAnalyses',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeNetworkInsightsAnalyses');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeNetworkInsightsAnalyses',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeNetworkInsightsAnalyses');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeNetworkInsightsAnalyses');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeNetworkInsightsAnalyses"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeNetworkInsightsAnalyses"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeNetworkInsightsAnalyses";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeNetworkInsightsPaths
{{baseUrl}}/#Action=DescribeNetworkInsightsPaths
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeNetworkInsightsPaths" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeNetworkInsightsPaths',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeNetworkInsightsPaths',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeNetworkInsightsPaths');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeNetworkInsightsPaths',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeNetworkInsightsPaths');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeNetworkInsightsPaths');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeNetworkInsightsPaths"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeNetworkInsightsPaths"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeNetworkInsightsPaths";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeNetworkInterfaceAttribute
{{baseUrl}}/#Action=DescribeNetworkInterfaceAttribute
QUERY PARAMS
NetworkInterfaceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DescribeNetworkInterfaceAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeNetworkInterfaceAttribute" {:query-params {:NetworkInterfaceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DescribeNetworkInterfaceAttribute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DescribeNetworkInterfaceAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DescribeNetworkInterfaceAttribute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DescribeNetworkInterfaceAttribute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?NetworkInterfaceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DescribeNetworkInterfaceAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DescribeNetworkInterfaceAttribute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DescribeNetworkInterfaceAttribute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DescribeNetworkInterfaceAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DescribeNetworkInterfaceAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeNetworkInterfaceAttribute',
params: {NetworkInterfaceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DescribeNetworkInterfaceAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DescribeNetworkInterfaceAttribute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DescribeNetworkInterfaceAttribute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?NetworkInterfaceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeNetworkInterfaceAttribute',
qs: {NetworkInterfaceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeNetworkInterfaceAttribute');
req.query({
NetworkInterfaceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeNetworkInterfaceAttribute',
params: {NetworkInterfaceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DescribeNetworkInterfaceAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DescribeNetworkInterfaceAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DescribeNetworkInterfaceAttribute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DescribeNetworkInterfaceAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DescribeNetworkInterfaceAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeNetworkInterfaceAttribute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'NetworkInterfaceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeNetworkInterfaceAttribute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'NetworkInterfaceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DescribeNetworkInterfaceAttribute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DescribeNetworkInterfaceAttribute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?NetworkInterfaceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeNetworkInterfaceAttribute"
querystring = {"NetworkInterfaceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeNetworkInterfaceAttribute"
queryString <- list(
NetworkInterfaceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DescribeNetworkInterfaceAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['NetworkInterfaceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeNetworkInterfaceAttribute";
let querystring = [
("NetworkInterfaceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DescribeNetworkInterfaceAttribute'
http GET '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DescribeNetworkInterfaceAttribute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DescribeNetworkInterfaceAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=DescribeNetworkInterfaceAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"NetworkInterfaceId": "eni-686ea200",
"SourceDestCheck": {
"Value": true
}
}
GET
GET_DescribeNetworkInterfacePermissions
{{baseUrl}}/#Action=DescribeNetworkInterfacePermissions
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeNetworkInterfacePermissions" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeNetworkInterfacePermissions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeNetworkInterfacePermissions',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeNetworkInterfacePermissions');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeNetworkInterfacePermissions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeNetworkInterfacePermissions');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeNetworkInterfacePermissions');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeNetworkInterfacePermissions"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeNetworkInterfacePermissions"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeNetworkInterfacePermissions";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeNetworkInterfaces
{{baseUrl}}/#Action=DescribeNetworkInterfaces
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeNetworkInterfaces" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeNetworkInterfaces',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeNetworkInterfaces',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeNetworkInterfaces');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeNetworkInterfaces',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeNetworkInterfaces');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeNetworkInterfaces');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeNetworkInterfaces"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeNetworkInterfaces"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeNetworkInterfaces";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"NetworkInterfaces": [
{
"Association": {
"AssociationId": "eipassoc-0fbb766a",
"IpOwnerId": "123456789012",
"PublicDnsName": "ec2-203-0-113-12.compute-1.amazonaws.com",
"PublicIp": "203.0.113.12"
},
"Attachment": {
"AttachTime": "2013-11-30T23:36:42.000Z",
"AttachmentId": "eni-attach-66c4350a",
"DeleteOnTermination": false,
"DeviceIndex": 1,
"InstanceId": "i-1234567890abcdef0",
"InstanceOwnerId": "123456789012",
"Status": "attached"
},
"AvailabilityZone": "us-east-1d",
"Description": "my network interface",
"Groups": [
{
"GroupId": "sg-8637d3e3",
"GroupName": "default"
}
],
"MacAddress": "02:2f:8f:b0:cf:75",
"NetworkInterfaceId": "eni-e5aa89a3",
"OwnerId": "123456789012",
"PrivateDnsName": "ip-10-0-1-17.ec2.internal",
"PrivateIpAddress": "10.0.1.17",
"PrivateIpAddresses": [
{
"Association": {
"AssociationId": "eipassoc-0fbb766a",
"IpOwnerId": "123456789012",
"PublicDnsName": "ec2-203-0-113-12.compute-1.amazonaws.com",
"PublicIp": "203.0.113.12"
},
"Primary": true,
"PrivateDnsName": "ip-10-0-1-17.ec2.internal",
"PrivateIpAddress": "10.0.1.17"
}
],
"RequesterManaged": false,
"SourceDestCheck": true,
"Status": "in-use",
"SubnetId": "subnet-b61f49f0",
"TagSet": [],
"VpcId": "vpc-a01106c2"
}
]
}
GET
GET_DescribePlacementGroups
{{baseUrl}}/#Action=DescribePlacementGroups
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribePlacementGroups" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribePlacementGroups',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribePlacementGroups',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribePlacementGroups');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribePlacementGroups',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribePlacementGroups');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribePlacementGroups');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribePlacementGroups"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribePlacementGroups"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribePlacementGroups";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribePrefixLists
{{baseUrl}}/#Action=DescribePrefixLists
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribePrefixLists" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribePrefixLists',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribePrefixLists',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribePrefixLists');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribePrefixLists',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribePrefixLists');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribePrefixLists');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribePrefixLists"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribePrefixLists"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribePrefixLists";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribePrincipalIdFormat
{{baseUrl}}/#Action=DescribePrincipalIdFormat
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribePrincipalIdFormat" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribePrincipalIdFormat',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribePrincipalIdFormat',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribePrincipalIdFormat');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribePrincipalIdFormat',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribePrincipalIdFormat');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribePrincipalIdFormat');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribePrincipalIdFormat"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribePrincipalIdFormat"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribePrincipalIdFormat";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribePublicIpv4Pools
{{baseUrl}}/#Action=DescribePublicIpv4Pools
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribePublicIpv4Pools" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribePublicIpv4Pools',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribePublicIpv4Pools',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribePublicIpv4Pools');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribePublicIpv4Pools',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribePublicIpv4Pools');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribePublicIpv4Pools');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribePublicIpv4Pools"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribePublicIpv4Pools"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribePublicIpv4Pools";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeRegions
{{baseUrl}}/#Action=DescribeRegions
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeRegions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeRegions" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeRegions"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeRegions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeRegions");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeRegions"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeRegions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeRegions"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeRegions")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeRegions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeRegions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeRegions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeRegions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeRegions',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeRegions")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeRegions',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeRegions');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeRegions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeRegions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeRegions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeRegions" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeRegions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeRegions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeRegions');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeRegions');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeRegions' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeRegions' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeRegions"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeRegions"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeRegions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeRegions";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeRegions'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeRegions'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeRegions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeRegions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"Regions": [
{
"Endpoint": "ec2.ap-south-1.amazonaws.com",
"RegionName": "ap-south-1"
},
{
"Endpoint": "ec2.eu-west-1.amazonaws.com",
"RegionName": "eu-west-1"
},
{
"Endpoint": "ec2.ap-southeast-1.amazonaws.com",
"RegionName": "ap-southeast-1"
},
{
"Endpoint": "ec2.ap-southeast-2.amazonaws.com",
"RegionName": "ap-southeast-2"
},
{
"Endpoint": "ec2.eu-central-1.amazonaws.com",
"RegionName": "eu-central-1"
},
{
"Endpoint": "ec2.ap-northeast-2.amazonaws.com",
"RegionName": "ap-northeast-2"
},
{
"Endpoint": "ec2.ap-northeast-1.amazonaws.com",
"RegionName": "ap-northeast-1"
},
{
"Endpoint": "ec2.us-east-1.amazonaws.com",
"RegionName": "us-east-1"
},
{
"Endpoint": "ec2.sa-east-1.amazonaws.com",
"RegionName": "sa-east-1"
},
{
"Endpoint": "ec2.us-west-1.amazonaws.com",
"RegionName": "us-west-1"
},
{
"Endpoint": "ec2.us-west-2.amazonaws.com",
"RegionName": "us-west-2"
}
]
}
GET
GET_DescribeReplaceRootVolumeTasks
{{baseUrl}}/#Action=DescribeReplaceRootVolumeTasks
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeReplaceRootVolumeTasks" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeReplaceRootVolumeTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeReplaceRootVolumeTasks',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeReplaceRootVolumeTasks');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeReplaceRootVolumeTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeReplaceRootVolumeTasks');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeReplaceRootVolumeTasks');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeReplaceRootVolumeTasks"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeReplaceRootVolumeTasks"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeReplaceRootVolumeTasks";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeReservedInstances
{{baseUrl}}/#Action=DescribeReservedInstances
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeReservedInstances" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeReservedInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeReservedInstances',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeReservedInstances');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeReservedInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeReservedInstances');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeReservedInstances');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeReservedInstances"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeReservedInstances"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeReservedInstances";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeReservedInstancesListings
{{baseUrl}}/#Action=DescribeReservedInstancesListings
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeReservedInstancesListings" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeReservedInstancesListings',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeReservedInstancesListings',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeReservedInstancesListings');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeReservedInstancesListings',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeReservedInstancesListings');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeReservedInstancesListings');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeReservedInstancesListings"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeReservedInstancesListings"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeReservedInstancesListings";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeReservedInstancesModifications
{{baseUrl}}/#Action=DescribeReservedInstancesModifications
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeReservedInstancesModifications" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeReservedInstancesModifications',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeReservedInstancesModifications',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeReservedInstancesModifications');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeReservedInstancesModifications',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeReservedInstancesModifications');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeReservedInstancesModifications');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeReservedInstancesModifications"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeReservedInstancesModifications"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeReservedInstancesModifications";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeReservedInstancesOfferings
{{baseUrl}}/#Action=DescribeReservedInstancesOfferings
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeReservedInstancesOfferings" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeReservedInstancesOfferings',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeReservedInstancesOfferings',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeReservedInstancesOfferings');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeReservedInstancesOfferings',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeReservedInstancesOfferings');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeReservedInstancesOfferings');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeReservedInstancesOfferings"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeReservedInstancesOfferings"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeReservedInstancesOfferings";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeRouteTables
{{baseUrl}}/#Action=DescribeRouteTables
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeRouteTables" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeRouteTables',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeRouteTables',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeRouteTables');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeRouteTables',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeRouteTables');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeRouteTables');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeRouteTables"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeRouteTables"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeRouteTables";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"RouteTables": [
{
"Associations": [
{
"Main": true,
"RouteTableAssociationId": "rtbassoc-d8ccddba",
"RouteTableId": "rtb-1f382e7d"
}
],
"PropagatingVgws": [],
"RouteTableId": "rtb-1f382e7d",
"Routes": [
{
"DestinationCidrBlock": "10.0.0.0/16",
"GatewayId": "local",
"State": "active"
}
],
"Tags": [],
"VpcId": "vpc-a01106c2"
}
]
}
GET
GET_DescribeScheduledInstanceAvailability
{{baseUrl}}/#Action=DescribeScheduledInstanceAvailability
QUERY PARAMS
FirstSlotStartTimeRange
Recurrence
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?FirstSlotStartTimeRange=&Recurrence=&Action=&Version=#Action=DescribeScheduledInstanceAvailability");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeScheduledInstanceAvailability" {:query-params {:FirstSlotStartTimeRange ""
:Recurrence ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?FirstSlotStartTimeRange=&Recurrence=&Action=&Version=#Action=DescribeScheduledInstanceAvailability"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?FirstSlotStartTimeRange=&Recurrence=&Action=&Version=#Action=DescribeScheduledInstanceAvailability"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?FirstSlotStartTimeRange=&Recurrence=&Action=&Version=#Action=DescribeScheduledInstanceAvailability");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?FirstSlotStartTimeRange=&Recurrence=&Action=&Version=#Action=DescribeScheduledInstanceAvailability"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?FirstSlotStartTimeRange=&Recurrence=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?FirstSlotStartTimeRange=&Recurrence=&Action=&Version=#Action=DescribeScheduledInstanceAvailability")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?FirstSlotStartTimeRange=&Recurrence=&Action=&Version=#Action=DescribeScheduledInstanceAvailability"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?FirstSlotStartTimeRange=&Recurrence=&Action=&Version=#Action=DescribeScheduledInstanceAvailability")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?FirstSlotStartTimeRange=&Recurrence=&Action=&Version=#Action=DescribeScheduledInstanceAvailability")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?FirstSlotStartTimeRange=&Recurrence=&Action=&Version=#Action=DescribeScheduledInstanceAvailability');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeScheduledInstanceAvailability',
params: {FirstSlotStartTimeRange: '', Recurrence: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?FirstSlotStartTimeRange=&Recurrence=&Action=&Version=#Action=DescribeScheduledInstanceAvailability';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?FirstSlotStartTimeRange=&Recurrence=&Action=&Version=#Action=DescribeScheduledInstanceAvailability',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?FirstSlotStartTimeRange=&Recurrence=&Action=&Version=#Action=DescribeScheduledInstanceAvailability")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?FirstSlotStartTimeRange=&Recurrence=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeScheduledInstanceAvailability',
qs: {FirstSlotStartTimeRange: '', Recurrence: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeScheduledInstanceAvailability');
req.query({
FirstSlotStartTimeRange: '',
Recurrence: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeScheduledInstanceAvailability',
params: {FirstSlotStartTimeRange: '', Recurrence: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?FirstSlotStartTimeRange=&Recurrence=&Action=&Version=#Action=DescribeScheduledInstanceAvailability';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?FirstSlotStartTimeRange=&Recurrence=&Action=&Version=#Action=DescribeScheduledInstanceAvailability"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?FirstSlotStartTimeRange=&Recurrence=&Action=&Version=#Action=DescribeScheduledInstanceAvailability" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?FirstSlotStartTimeRange=&Recurrence=&Action=&Version=#Action=DescribeScheduledInstanceAvailability",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?FirstSlotStartTimeRange=&Recurrence=&Action=&Version=#Action=DescribeScheduledInstanceAvailability');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeScheduledInstanceAvailability');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'FirstSlotStartTimeRange' => '',
'Recurrence' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeScheduledInstanceAvailability');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'FirstSlotStartTimeRange' => '',
'Recurrence' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?FirstSlotStartTimeRange=&Recurrence=&Action=&Version=#Action=DescribeScheduledInstanceAvailability' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?FirstSlotStartTimeRange=&Recurrence=&Action=&Version=#Action=DescribeScheduledInstanceAvailability' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?FirstSlotStartTimeRange=&Recurrence=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeScheduledInstanceAvailability"
querystring = {"FirstSlotStartTimeRange":"","Recurrence":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeScheduledInstanceAvailability"
queryString <- list(
FirstSlotStartTimeRange = "",
Recurrence = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?FirstSlotStartTimeRange=&Recurrence=&Action=&Version=#Action=DescribeScheduledInstanceAvailability")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['FirstSlotStartTimeRange'] = ''
req.params['Recurrence'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeScheduledInstanceAvailability";
let querystring = [
("FirstSlotStartTimeRange", ""),
("Recurrence", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?FirstSlotStartTimeRange=&Recurrence=&Action=&Version=#Action=DescribeScheduledInstanceAvailability'
http GET '{{baseUrl}}/?FirstSlotStartTimeRange=&Recurrence=&Action=&Version=#Action=DescribeScheduledInstanceAvailability'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?FirstSlotStartTimeRange=&Recurrence=&Action=&Version=#Action=DescribeScheduledInstanceAvailability'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?FirstSlotStartTimeRange=&Recurrence=&Action=&Version=#Action=DescribeScheduledInstanceAvailability")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"ScheduledInstanceAvailabilitySet": [
{
"AvailabilityZone": "us-west-2b",
"AvailableInstanceCount": 20,
"FirstSlotStartTime": "2016-01-31T00:00:00Z",
"HourlyPrice": "0.095",
"InstanceType": "c4.large",
"MaxTermDurationInDays": 366,
"MinTermDurationInDays": 366,
"NetworkPlatform": "EC2-VPC",
"Platform": "Linux/UNIX",
"PurchaseToken": "eyJ2IjoiMSIsInMiOjEsImMiOi...",
"Recurrence": {
"Frequency": "Weekly",
"Interval": 1,
"OccurrenceDaySet": [
1
],
"OccurrenceRelativeToEnd": false
},
"SlotDurationInHours": 23,
"TotalScheduledInstanceHours": 1219
}
]
}
GET
GET_DescribeScheduledInstances
{{baseUrl}}/#Action=DescribeScheduledInstances
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeScheduledInstances" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeScheduledInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeScheduledInstances',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeScheduledInstances');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeScheduledInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeScheduledInstances');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeScheduledInstances');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeScheduledInstances"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeScheduledInstances"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeScheduledInstances";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"ScheduledInstanceSet": [
{
"AvailabilityZone": "us-west-2b",
"CreateDate": "2016-01-25T21:43:38.612Z",
"HourlyPrice": "0.095",
"InstanceCount": 1,
"InstanceType": "c4.large",
"NetworkPlatform": "EC2-VPC",
"NextSlotStartTime": "2016-01-31T09:00:00Z",
"Platform": "Linux/UNIX",
"Recurrence": {
"Frequency": "Weekly",
"Interval": 1,
"OccurrenceDaySet": [
1
],
"OccurrenceRelativeToEnd": false,
"OccurrenceUnit": ""
},
"ScheduledInstanceId": "sci-1234-1234-1234-1234-123456789012",
"SlotDurationInHours": 32,
"TermEndDate": "2017-01-31T09:00:00Z",
"TermStartDate": "2016-01-31T09:00:00Z",
"TotalScheduledInstanceHours": 1696
}
]
}
GET
GET_DescribeSecurityGroupReferences
{{baseUrl}}/#Action=DescribeSecurityGroupReferences
QUERY PARAMS
GroupId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?GroupId=&Action=&Version=#Action=DescribeSecurityGroupReferences");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeSecurityGroupReferences" {:query-params {:GroupId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?GroupId=&Action=&Version=#Action=DescribeSecurityGroupReferences"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?GroupId=&Action=&Version=#Action=DescribeSecurityGroupReferences"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?GroupId=&Action=&Version=#Action=DescribeSecurityGroupReferences");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?GroupId=&Action=&Version=#Action=DescribeSecurityGroupReferences"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?GroupId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?GroupId=&Action=&Version=#Action=DescribeSecurityGroupReferences")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?GroupId=&Action=&Version=#Action=DescribeSecurityGroupReferences"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?GroupId=&Action=&Version=#Action=DescribeSecurityGroupReferences")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?GroupId=&Action=&Version=#Action=DescribeSecurityGroupReferences")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?GroupId=&Action=&Version=#Action=DescribeSecurityGroupReferences');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSecurityGroupReferences',
params: {GroupId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?GroupId=&Action=&Version=#Action=DescribeSecurityGroupReferences';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?GroupId=&Action=&Version=#Action=DescribeSecurityGroupReferences',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?GroupId=&Action=&Version=#Action=DescribeSecurityGroupReferences")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?GroupId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSecurityGroupReferences',
qs: {GroupId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeSecurityGroupReferences');
req.query({
GroupId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSecurityGroupReferences',
params: {GroupId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?GroupId=&Action=&Version=#Action=DescribeSecurityGroupReferences';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?GroupId=&Action=&Version=#Action=DescribeSecurityGroupReferences"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?GroupId=&Action=&Version=#Action=DescribeSecurityGroupReferences" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?GroupId=&Action=&Version=#Action=DescribeSecurityGroupReferences",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?GroupId=&Action=&Version=#Action=DescribeSecurityGroupReferences');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeSecurityGroupReferences');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'GroupId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeSecurityGroupReferences');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'GroupId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?GroupId=&Action=&Version=#Action=DescribeSecurityGroupReferences' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?GroupId=&Action=&Version=#Action=DescribeSecurityGroupReferences' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?GroupId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeSecurityGroupReferences"
querystring = {"GroupId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeSecurityGroupReferences"
queryString <- list(
GroupId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?GroupId=&Action=&Version=#Action=DescribeSecurityGroupReferences")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['GroupId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeSecurityGroupReferences";
let querystring = [
("GroupId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?GroupId=&Action=&Version=#Action=DescribeSecurityGroupReferences'
http GET '{{baseUrl}}/?GroupId=&Action=&Version=#Action=DescribeSecurityGroupReferences'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?GroupId=&Action=&Version=#Action=DescribeSecurityGroupReferences'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?GroupId=&Action=&Version=#Action=DescribeSecurityGroupReferences")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"SecurityGroupReferenceSet": [
{
"GroupId": "sg-903004f8",
"ReferencingVpcId": "vpc-1a2b3c4d",
"VpcPeeringConnectionId": "pcx-b04deed9"
}
]
}
GET
GET_DescribeSecurityGroupRules
{{baseUrl}}/#Action=DescribeSecurityGroupRules
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeSecurityGroupRules" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSecurityGroupRules',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSecurityGroupRules',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeSecurityGroupRules');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSecurityGroupRules',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeSecurityGroupRules');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeSecurityGroupRules');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeSecurityGroupRules"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeSecurityGroupRules"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeSecurityGroupRules";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeSecurityGroups
{{baseUrl}}/#Action=DescribeSecurityGroups
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeSecurityGroups" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSecurityGroups',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSecurityGroups',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeSecurityGroups');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSecurityGroups',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeSecurityGroups');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeSecurityGroups');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeSecurityGroups"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeSecurityGroups"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeSecurityGroups";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{}
GET
GET_DescribeSnapshotAttribute
{{baseUrl}}/#Action=DescribeSnapshotAttribute
QUERY PARAMS
Attribute
SnapshotId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=DescribeSnapshotAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeSnapshotAttribute" {:query-params {:Attribute ""
:SnapshotId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=DescribeSnapshotAttribute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=DescribeSnapshotAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=DescribeSnapshotAttribute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=DescribeSnapshotAttribute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Attribute=&SnapshotId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=DescribeSnapshotAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=DescribeSnapshotAttribute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=DescribeSnapshotAttribute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=DescribeSnapshotAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=DescribeSnapshotAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSnapshotAttribute',
params: {Attribute: '', SnapshotId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=DescribeSnapshotAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=DescribeSnapshotAttribute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=DescribeSnapshotAttribute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Attribute=&SnapshotId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSnapshotAttribute',
qs: {Attribute: '', SnapshotId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeSnapshotAttribute');
req.query({
Attribute: '',
SnapshotId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSnapshotAttribute',
params: {Attribute: '', SnapshotId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=DescribeSnapshotAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=DescribeSnapshotAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=DescribeSnapshotAttribute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=DescribeSnapshotAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=DescribeSnapshotAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeSnapshotAttribute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Attribute' => '',
'SnapshotId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeSnapshotAttribute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Attribute' => '',
'SnapshotId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=DescribeSnapshotAttribute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=DescribeSnapshotAttribute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Attribute=&SnapshotId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeSnapshotAttribute"
querystring = {"Attribute":"","SnapshotId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeSnapshotAttribute"
queryString <- list(
Attribute = "",
SnapshotId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=DescribeSnapshotAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Attribute'] = ''
req.params['SnapshotId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeSnapshotAttribute";
let querystring = [
("Attribute", ""),
("SnapshotId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=DescribeSnapshotAttribute'
http GET '{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=DescribeSnapshotAttribute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=DescribeSnapshotAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=DescribeSnapshotAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"CreateVolumePermissions": [],
"SnapshotId": "snap-066877671789bd71b"
}
GET
GET_DescribeSnapshotTierStatus
{{baseUrl}}/#Action=DescribeSnapshotTierStatus
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeSnapshotTierStatus" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSnapshotTierStatus',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSnapshotTierStatus',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeSnapshotTierStatus');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSnapshotTierStatus',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeSnapshotTierStatus');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeSnapshotTierStatus');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeSnapshotTierStatus"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeSnapshotTierStatus"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeSnapshotTierStatus";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeSnapshots
{{baseUrl}}/#Action=DescribeSnapshots
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeSnapshots" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSnapshots',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSnapshots',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeSnapshots');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSnapshots',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeSnapshots');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeSnapshots');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeSnapshots"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeSnapshots"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeSnapshots";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"NextToken": "",
"Snapshots": [
{
"Description": "This is my copied snapshot.",
"OwnerId": 12345678910,
"Progress": "87%",
"SnapshotId": "snap-066877671789bd71b",
"StartTime": "2014-02-28T21:37:27.000Z",
"State": "pending",
"VolumeId": "vol-1234567890abcdef0",
"VolumeSize": 8
}
]
}
GET
GET_DescribeSpotDatafeedSubscription
{{baseUrl}}/#Action=DescribeSpotDatafeedSubscription
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeSpotDatafeedSubscription" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSpotDatafeedSubscription',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSpotDatafeedSubscription',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeSpotDatafeedSubscription');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSpotDatafeedSubscription',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeSpotDatafeedSubscription');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeSpotDatafeedSubscription');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeSpotDatafeedSubscription"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeSpotDatafeedSubscription"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeSpotDatafeedSubscription";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"SpotDatafeedSubscription": {
"Bucket": "my-s3-bucket",
"OwnerId": "123456789012",
"Prefix": "spotdata",
"State": "Active"
}
}
GET
GET_DescribeSpotFleetInstances
{{baseUrl}}/#Action=DescribeSpotFleetInstances
QUERY PARAMS
SpotFleetRequestId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=DescribeSpotFleetInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeSpotFleetInstances" {:query-params {:SpotFleetRequestId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=DescribeSpotFleetInstances"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=DescribeSpotFleetInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=DescribeSpotFleetInstances");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=DescribeSpotFleetInstances"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?SpotFleetRequestId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=DescribeSpotFleetInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=DescribeSpotFleetInstances"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=DescribeSpotFleetInstances")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=DescribeSpotFleetInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=DescribeSpotFleetInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSpotFleetInstances',
params: {SpotFleetRequestId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=DescribeSpotFleetInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=DescribeSpotFleetInstances',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=DescribeSpotFleetInstances")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?SpotFleetRequestId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSpotFleetInstances',
qs: {SpotFleetRequestId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeSpotFleetInstances');
req.query({
SpotFleetRequestId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSpotFleetInstances',
params: {SpotFleetRequestId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=DescribeSpotFleetInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=DescribeSpotFleetInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=DescribeSpotFleetInstances" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=DescribeSpotFleetInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=DescribeSpotFleetInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeSpotFleetInstances');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'SpotFleetRequestId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeSpotFleetInstances');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'SpotFleetRequestId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=DescribeSpotFleetInstances' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=DescribeSpotFleetInstances' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?SpotFleetRequestId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeSpotFleetInstances"
querystring = {"SpotFleetRequestId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeSpotFleetInstances"
queryString <- list(
SpotFleetRequestId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=DescribeSpotFleetInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['SpotFleetRequestId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeSpotFleetInstances";
let querystring = [
("SpotFleetRequestId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=DescribeSpotFleetInstances'
http GET '{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=DescribeSpotFleetInstances'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=DescribeSpotFleetInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=DescribeSpotFleetInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"ActiveInstances": [
{
"InstanceId": "i-1234567890abcdef0",
"InstanceType": "m3.medium",
"SpotInstanceRequestId": "sir-08b93456"
}
],
"SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE"
}
GET
GET_DescribeSpotFleetRequestHistory
{{baseUrl}}/#Action=DescribeSpotFleetRequestHistory
QUERY PARAMS
SpotFleetRequestId
StartTime
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?SpotFleetRequestId=&StartTime=&Action=&Version=#Action=DescribeSpotFleetRequestHistory");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeSpotFleetRequestHistory" {:query-params {:SpotFleetRequestId ""
:StartTime ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?SpotFleetRequestId=&StartTime=&Action=&Version=#Action=DescribeSpotFleetRequestHistory"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?SpotFleetRequestId=&StartTime=&Action=&Version=#Action=DescribeSpotFleetRequestHistory"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?SpotFleetRequestId=&StartTime=&Action=&Version=#Action=DescribeSpotFleetRequestHistory");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?SpotFleetRequestId=&StartTime=&Action=&Version=#Action=DescribeSpotFleetRequestHistory"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?SpotFleetRequestId=&StartTime=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?SpotFleetRequestId=&StartTime=&Action=&Version=#Action=DescribeSpotFleetRequestHistory")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?SpotFleetRequestId=&StartTime=&Action=&Version=#Action=DescribeSpotFleetRequestHistory"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?SpotFleetRequestId=&StartTime=&Action=&Version=#Action=DescribeSpotFleetRequestHistory")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?SpotFleetRequestId=&StartTime=&Action=&Version=#Action=DescribeSpotFleetRequestHistory")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?SpotFleetRequestId=&StartTime=&Action=&Version=#Action=DescribeSpotFleetRequestHistory');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSpotFleetRequestHistory',
params: {SpotFleetRequestId: '', StartTime: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?SpotFleetRequestId=&StartTime=&Action=&Version=#Action=DescribeSpotFleetRequestHistory';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?SpotFleetRequestId=&StartTime=&Action=&Version=#Action=DescribeSpotFleetRequestHistory',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?SpotFleetRequestId=&StartTime=&Action=&Version=#Action=DescribeSpotFleetRequestHistory")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?SpotFleetRequestId=&StartTime=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSpotFleetRequestHistory',
qs: {SpotFleetRequestId: '', StartTime: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeSpotFleetRequestHistory');
req.query({
SpotFleetRequestId: '',
StartTime: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSpotFleetRequestHistory',
params: {SpotFleetRequestId: '', StartTime: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?SpotFleetRequestId=&StartTime=&Action=&Version=#Action=DescribeSpotFleetRequestHistory';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?SpotFleetRequestId=&StartTime=&Action=&Version=#Action=DescribeSpotFleetRequestHistory"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?SpotFleetRequestId=&StartTime=&Action=&Version=#Action=DescribeSpotFleetRequestHistory" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?SpotFleetRequestId=&StartTime=&Action=&Version=#Action=DescribeSpotFleetRequestHistory",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?SpotFleetRequestId=&StartTime=&Action=&Version=#Action=DescribeSpotFleetRequestHistory');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeSpotFleetRequestHistory');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'SpotFleetRequestId' => '',
'StartTime' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeSpotFleetRequestHistory');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'SpotFleetRequestId' => '',
'StartTime' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?SpotFleetRequestId=&StartTime=&Action=&Version=#Action=DescribeSpotFleetRequestHistory' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?SpotFleetRequestId=&StartTime=&Action=&Version=#Action=DescribeSpotFleetRequestHistory' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?SpotFleetRequestId=&StartTime=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeSpotFleetRequestHistory"
querystring = {"SpotFleetRequestId":"","StartTime":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeSpotFleetRequestHistory"
queryString <- list(
SpotFleetRequestId = "",
StartTime = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?SpotFleetRequestId=&StartTime=&Action=&Version=#Action=DescribeSpotFleetRequestHistory")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['SpotFleetRequestId'] = ''
req.params['StartTime'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeSpotFleetRequestHistory";
let querystring = [
("SpotFleetRequestId", ""),
("StartTime", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?SpotFleetRequestId=&StartTime=&Action=&Version=#Action=DescribeSpotFleetRequestHistory'
http GET '{{baseUrl}}/?SpotFleetRequestId=&StartTime=&Action=&Version=#Action=DescribeSpotFleetRequestHistory'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?SpotFleetRequestId=&StartTime=&Action=&Version=#Action=DescribeSpotFleetRequestHistory'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?SpotFleetRequestId=&StartTime=&Action=&Version=#Action=DescribeSpotFleetRequestHistory")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"HistoryRecords": [
{
"EventInformation": {
"EventSubType": "submitted"
},
"EventType": "fleetRequestChange",
"Timestamp": "2015-05-26T23:17:20.697Z"
},
{
"EventInformation": {
"EventSubType": "active"
},
"EventType": "fleetRequestChange",
"Timestamp": "2015-05-26T23:17:20.873Z"
},
{
"EventInformation": {
"EventSubType": "launched",
"InstanceId": "i-1234567890abcdef0"
},
"EventType": "instanceChange",
"Timestamp": "2015-05-26T23:21:21.712Z"
},
{
"EventInformation": {
"EventSubType": "launched",
"InstanceId": "i-1234567890abcdef1"
},
"EventType": "instanceChange",
"Timestamp": "2015-05-26T23:21:21.816Z"
}
],
"NextToken": "CpHNsscimcV5oH7bSbub03CI2Qms5+ypNpNm+53MNlR0YcXAkp0xFlfKf91yVxSExmbtma3awYxMFzNA663ZskT0AHtJ6TCb2Z8bQC2EnZgyELbymtWPfpZ1ZbauVg+P+TfGlWxWWB/Vr5dk5d4LfdgA/DRAHUrYgxzrEXAMPLE=",
"SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE",
"StartTime": "2015-05-26T00:00:00Z"
}
GET
GET_DescribeSpotFleetRequests
{{baseUrl}}/#Action=DescribeSpotFleetRequests
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeSpotFleetRequests" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSpotFleetRequests',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSpotFleetRequests',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeSpotFleetRequests');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSpotFleetRequests',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeSpotFleetRequests');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeSpotFleetRequests');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeSpotFleetRequests"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeSpotFleetRequests"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeSpotFleetRequests";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"SpotFleetRequestConfigs": [
{
"SpotFleetRequestConfig": {
"IamFleetRole": "arn:aws:iam::123456789012:role/my-spot-fleet-role",
"LaunchSpecifications": [
{
"EbsOptimized": false,
"ImageId": "ami-1a2b3c4d",
"InstanceType": "cc2.8xlarge",
"NetworkInterfaces": [
{
"AssociatePublicIpAddress": true,
"DeleteOnTermination": false,
"DeviceIndex": 0,
"SecondaryPrivateIpAddressCount": 0,
"SubnetId": "subnet-a61dafcf"
}
]
},
{
"EbsOptimized": false,
"ImageId": "ami-1a2b3c4d",
"InstanceType": "r3.8xlarge",
"NetworkInterfaces": [
{
"AssociatePublicIpAddress": true,
"DeleteOnTermination": false,
"DeviceIndex": 0,
"SecondaryPrivateIpAddressCount": 0,
"SubnetId": "subnet-a61dafcf"
}
]
}
],
"SpotPrice": "0.05",
"TargetCapacity": 20
},
"SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE",
"SpotFleetRequestState": "active"
}
]
}
GET
GET_DescribeSpotInstanceRequests
{{baseUrl}}/#Action=DescribeSpotInstanceRequests
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeSpotInstanceRequests" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSpotInstanceRequests',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSpotInstanceRequests',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeSpotInstanceRequests');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSpotInstanceRequests',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeSpotInstanceRequests');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeSpotInstanceRequests');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeSpotInstanceRequests"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeSpotInstanceRequests"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeSpotInstanceRequests";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"SpotInstanceRequests": [
{
"CreateTime": "2014-04-30T18:14:55.000Z",
"InstanceId": "i-1234567890abcdef0",
"LaunchSpecification": {
"BlockDeviceMappings": [
{
"DeviceName": "/dev/sda1",
"Ebs": {
"DeleteOnTermination": true,
"VolumeSize": 8,
"VolumeType": "standard"
}
}
],
"EbsOptimized": false,
"ImageId": "ami-7aba833f",
"InstanceType": "m1.small",
"KeyName": "my-key-pair",
"SecurityGroups": [
{
"GroupId": "sg-e38f24a7",
"GroupName": "my-security-group"
}
]
},
"LaunchedAvailabilityZone": "us-west-1b",
"ProductDescription": "Linux/UNIX",
"SpotInstanceRequestId": "sir-08b93456",
"SpotPrice": "0.010000",
"State": "active",
"Status": {
"Code": "fulfilled",
"Message": "Your Spot request is fulfilled.",
"UpdateTime": "2014-04-30T18:16:21.000Z"
},
"Type": "one-time"
}
]
}
GET
GET_DescribeSpotPriceHistory
{{baseUrl}}/#Action=DescribeSpotPriceHistory
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeSpotPriceHistory" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSpotPriceHistory',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSpotPriceHistory',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeSpotPriceHistory');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSpotPriceHistory',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeSpotPriceHistory');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeSpotPriceHistory');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeSpotPriceHistory"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeSpotPriceHistory"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeSpotPriceHistory";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"SpotPriceHistory": [
{
"AvailabilityZone": "us-west-1a",
"InstanceType": "m1.xlarge",
"ProductDescription": "Linux/UNIX (Amazon VPC)",
"SpotPrice": "0.080000",
"Timestamp": "2014-01-06T04:32:53.000Z"
},
{
"AvailabilityZone": "us-west-1c",
"InstanceType": "m1.xlarge",
"ProductDescription": "Linux/UNIX (Amazon VPC)",
"SpotPrice": "0.080000",
"Timestamp": "2014-01-05T11:28:26.000Z"
}
]
}
GET
GET_DescribeStaleSecurityGroups
{{baseUrl}}/#Action=DescribeStaleSecurityGroups
QUERY PARAMS
VpcId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpcId=&Action=&Version=#Action=DescribeStaleSecurityGroups");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeStaleSecurityGroups" {:query-params {:VpcId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpcId=&Action=&Version=#Action=DescribeStaleSecurityGroups"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpcId=&Action=&Version=#Action=DescribeStaleSecurityGroups"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpcId=&Action=&Version=#Action=DescribeStaleSecurityGroups");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpcId=&Action=&Version=#Action=DescribeStaleSecurityGroups"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpcId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpcId=&Action=&Version=#Action=DescribeStaleSecurityGroups")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpcId=&Action=&Version=#Action=DescribeStaleSecurityGroups"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpcId=&Action=&Version=#Action=DescribeStaleSecurityGroups")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpcId=&Action=&Version=#Action=DescribeStaleSecurityGroups")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DescribeStaleSecurityGroups');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeStaleSecurityGroups',
params: {VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DescribeStaleSecurityGroups';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DescribeStaleSecurityGroups',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpcId=&Action=&Version=#Action=DescribeStaleSecurityGroups")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpcId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeStaleSecurityGroups',
qs: {VpcId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeStaleSecurityGroups');
req.query({
VpcId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeStaleSecurityGroups',
params: {VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DescribeStaleSecurityGroups';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpcId=&Action=&Version=#Action=DescribeStaleSecurityGroups"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpcId=&Action=&Version=#Action=DescribeStaleSecurityGroups" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpcId=&Action=&Version=#Action=DescribeStaleSecurityGroups",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DescribeStaleSecurityGroups');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeStaleSecurityGroups');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpcId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeStaleSecurityGroups');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpcId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DescribeStaleSecurityGroups' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DescribeStaleSecurityGroups' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpcId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeStaleSecurityGroups"
querystring = {"VpcId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeStaleSecurityGroups"
queryString <- list(
VpcId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpcId=&Action=&Version=#Action=DescribeStaleSecurityGroups")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpcId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeStaleSecurityGroups";
let querystring = [
("VpcId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DescribeStaleSecurityGroups'
http GET '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DescribeStaleSecurityGroups'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DescribeStaleSecurityGroups'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpcId=&Action=&Version=#Action=DescribeStaleSecurityGroups")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeStoreImageTasks
{{baseUrl}}/#Action=DescribeStoreImageTasks
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeStoreImageTasks" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeStoreImageTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeStoreImageTasks',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeStoreImageTasks');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeStoreImageTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeStoreImageTasks');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeStoreImageTasks');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeStoreImageTasks"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeStoreImageTasks"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeStoreImageTasks";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeSubnets
{{baseUrl}}/#Action=DescribeSubnets
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeSubnets" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSubnets',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSubnets',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeSubnets');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeSubnets',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeSubnets');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeSubnets');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeSubnets"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeSubnets"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeSubnets";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"Subnets": [
{
"AvailabilityZone": "us-east-1c",
"AvailableIpAddressCount": 251,
"CidrBlock": "10.0.1.0/24",
"DefaultForAz": false,
"MapPublicIpOnLaunch": false,
"State": "available",
"SubnetId": "subnet-9d4a7b6c",
"VpcId": "vpc-a01106c2"
}
]
}
GET
GET_DescribeTags
{{baseUrl}}/#Action=DescribeTags
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTags");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeTags" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTags"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTags"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTags");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTags"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeTags")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTags"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTags")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeTags")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTags');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTags',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTags';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTags',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTags")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTags',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeTags');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTags',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTags';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTags"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTags" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTags",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTags');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTags');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTags');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTags' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTags' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTags"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTags"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTags")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTags";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTags'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeTags'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTags'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTags")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"Tags": [
{
"Key": "Stack",
"ResourceId": "i-1234567890abcdef8",
"ResourceType": "instance",
"Value": "test"
},
{
"Key": "Name",
"ResourceId": "i-1234567890abcdef8",
"ResourceType": "instance",
"Value": "Beta Server"
}
]
}
GET
GET_DescribeTrafficMirrorFilters
{{baseUrl}}/#Action=DescribeTrafficMirrorFilters
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeTrafficMirrorFilters" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTrafficMirrorFilters',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTrafficMirrorFilters',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeTrafficMirrorFilters');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTrafficMirrorFilters',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTrafficMirrorFilters');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTrafficMirrorFilters');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTrafficMirrorFilters"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTrafficMirrorFilters"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTrafficMirrorFilters";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeTrafficMirrorSessions
{{baseUrl}}/#Action=DescribeTrafficMirrorSessions
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeTrafficMirrorSessions" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTrafficMirrorSessions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTrafficMirrorSessions',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeTrafficMirrorSessions');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTrafficMirrorSessions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTrafficMirrorSessions');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTrafficMirrorSessions');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTrafficMirrorSessions"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTrafficMirrorSessions"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTrafficMirrorSessions";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeTrafficMirrorTargets
{{baseUrl}}/#Action=DescribeTrafficMirrorTargets
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeTrafficMirrorTargets" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTrafficMirrorTargets',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTrafficMirrorTargets',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeTrafficMirrorTargets');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTrafficMirrorTargets',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTrafficMirrorTargets');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTrafficMirrorTargets');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTrafficMirrorTargets"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTrafficMirrorTargets"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTrafficMirrorTargets";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeTransitGatewayAttachments
{{baseUrl}}/#Action=DescribeTransitGatewayAttachments
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeTransitGatewayAttachments" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayAttachments',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayAttachments',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeTransitGatewayAttachments');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayAttachments',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTransitGatewayAttachments');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTransitGatewayAttachments');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTransitGatewayAttachments"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTransitGatewayAttachments"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTransitGatewayAttachments";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeTransitGatewayConnectPeers
{{baseUrl}}/#Action=DescribeTransitGatewayConnectPeers
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeTransitGatewayConnectPeers" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayConnectPeers',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayConnectPeers',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeTransitGatewayConnectPeers');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayConnectPeers',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTransitGatewayConnectPeers');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTransitGatewayConnectPeers');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTransitGatewayConnectPeers"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTransitGatewayConnectPeers"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTransitGatewayConnectPeers";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeTransitGatewayConnects
{{baseUrl}}/#Action=DescribeTransitGatewayConnects
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeTransitGatewayConnects" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayConnects',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayConnects',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeTransitGatewayConnects');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayConnects',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTransitGatewayConnects');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTransitGatewayConnects');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTransitGatewayConnects"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTransitGatewayConnects"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTransitGatewayConnects";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeTransitGatewayMulticastDomains
{{baseUrl}}/#Action=DescribeTransitGatewayMulticastDomains
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeTransitGatewayMulticastDomains" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayMulticastDomains',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayMulticastDomains',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeTransitGatewayMulticastDomains');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayMulticastDomains',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTransitGatewayMulticastDomains');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTransitGatewayMulticastDomains');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTransitGatewayMulticastDomains"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTransitGatewayMulticastDomains"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTransitGatewayMulticastDomains";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeTransitGatewayPeeringAttachments
{{baseUrl}}/#Action=DescribeTransitGatewayPeeringAttachments
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeTransitGatewayPeeringAttachments" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayPeeringAttachments',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayPeeringAttachments',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeTransitGatewayPeeringAttachments');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayPeeringAttachments',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTransitGatewayPeeringAttachments');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTransitGatewayPeeringAttachments');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTransitGatewayPeeringAttachments"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTransitGatewayPeeringAttachments"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTransitGatewayPeeringAttachments";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeTransitGatewayPolicyTables
{{baseUrl}}/#Action=DescribeTransitGatewayPolicyTables
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeTransitGatewayPolicyTables" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayPolicyTables',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayPolicyTables',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeTransitGatewayPolicyTables');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayPolicyTables',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTransitGatewayPolicyTables');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTransitGatewayPolicyTables');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTransitGatewayPolicyTables"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTransitGatewayPolicyTables"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTransitGatewayPolicyTables";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeTransitGatewayRouteTableAnnouncements
{{baseUrl}}/#Action=DescribeTransitGatewayRouteTableAnnouncements
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeTransitGatewayRouteTableAnnouncements" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayRouteTableAnnouncements',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayRouteTableAnnouncements',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeTransitGatewayRouteTableAnnouncements');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayRouteTableAnnouncements',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTransitGatewayRouteTableAnnouncements');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTransitGatewayRouteTableAnnouncements');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTransitGatewayRouteTableAnnouncements"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTransitGatewayRouteTableAnnouncements"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTransitGatewayRouteTableAnnouncements";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeTransitGatewayRouteTables
{{baseUrl}}/#Action=DescribeTransitGatewayRouteTables
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeTransitGatewayRouteTables" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayRouteTables',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayRouteTables',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeTransitGatewayRouteTables');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayRouteTables',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTransitGatewayRouteTables');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTransitGatewayRouteTables');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTransitGatewayRouteTables"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTransitGatewayRouteTables"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTransitGatewayRouteTables";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeTransitGatewayVpcAttachments
{{baseUrl}}/#Action=DescribeTransitGatewayVpcAttachments
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeTransitGatewayVpcAttachments" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayVpcAttachments',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayVpcAttachments',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeTransitGatewayVpcAttachments');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayVpcAttachments',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTransitGatewayVpcAttachments');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTransitGatewayVpcAttachments');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTransitGatewayVpcAttachments"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTransitGatewayVpcAttachments"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTransitGatewayVpcAttachments";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeTransitGateways
{{baseUrl}}/#Action=DescribeTransitGateways
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeTransitGateways" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGateways',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeTransitGateways');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTransitGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTransitGateways');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTransitGateways');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTransitGateways"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTransitGateways"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTransitGateways";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeTrunkInterfaceAssociations
{{baseUrl}}/#Action=DescribeTrunkInterfaceAssociations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeTrunkInterfaceAssociations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTrunkInterfaceAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTrunkInterfaceAssociations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeTrunkInterfaceAssociations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeTrunkInterfaceAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTrunkInterfaceAssociations');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTrunkInterfaceAssociations');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTrunkInterfaceAssociations"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTrunkInterfaceAssociations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTrunkInterfaceAssociations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeVerifiedAccessEndpoints
{{baseUrl}}/#Action=DescribeVerifiedAccessEndpoints
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeVerifiedAccessEndpoints" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessEndpoints',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessEndpoints',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeVerifiedAccessEndpoints');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessEndpoints',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVerifiedAccessEndpoints');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVerifiedAccessEndpoints');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVerifiedAccessEndpoints"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVerifiedAccessEndpoints"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVerifiedAccessEndpoints";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeVerifiedAccessGroups
{{baseUrl}}/#Action=DescribeVerifiedAccessGroups
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeVerifiedAccessGroups" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessGroups',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessGroups',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeVerifiedAccessGroups');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessGroups',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVerifiedAccessGroups');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVerifiedAccessGroups');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVerifiedAccessGroups"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVerifiedAccessGroups"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVerifiedAccessGroups";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeVerifiedAccessInstanceLoggingConfigurations
{{baseUrl}}/#Action=DescribeVerifiedAccessInstanceLoggingConfigurations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeVerifiedAccessInstanceLoggingConfigurations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessInstanceLoggingConfigurations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessInstanceLoggingConfigurations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeVerifiedAccessInstanceLoggingConfigurations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessInstanceLoggingConfigurations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVerifiedAccessInstanceLoggingConfigurations');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVerifiedAccessInstanceLoggingConfigurations');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVerifiedAccessInstanceLoggingConfigurations"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVerifiedAccessInstanceLoggingConfigurations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVerifiedAccessInstanceLoggingConfigurations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeVerifiedAccessInstances
{{baseUrl}}/#Action=DescribeVerifiedAccessInstances
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeVerifiedAccessInstances" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessInstances',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeVerifiedAccessInstances');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVerifiedAccessInstances');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVerifiedAccessInstances');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVerifiedAccessInstances"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVerifiedAccessInstances"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVerifiedAccessInstances";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeVerifiedAccessTrustProviders
{{baseUrl}}/#Action=DescribeVerifiedAccessTrustProviders
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeVerifiedAccessTrustProviders" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessTrustProviders',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessTrustProviders',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeVerifiedAccessTrustProviders');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessTrustProviders',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVerifiedAccessTrustProviders');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVerifiedAccessTrustProviders');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVerifiedAccessTrustProviders"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVerifiedAccessTrustProviders"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVerifiedAccessTrustProviders";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeVolumeAttribute
{{baseUrl}}/#Action=DescribeVolumeAttribute
QUERY PARAMS
Attribute
VolumeId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Attribute=&VolumeId=&Action=&Version=#Action=DescribeVolumeAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeVolumeAttribute" {:query-params {:Attribute ""
:VolumeId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Attribute=&VolumeId=&Action=&Version=#Action=DescribeVolumeAttribute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Attribute=&VolumeId=&Action=&Version=#Action=DescribeVolumeAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Attribute=&VolumeId=&Action=&Version=#Action=DescribeVolumeAttribute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Attribute=&VolumeId=&Action=&Version=#Action=DescribeVolumeAttribute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Attribute=&VolumeId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Attribute=&VolumeId=&Action=&Version=#Action=DescribeVolumeAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Attribute=&VolumeId=&Action=&Version=#Action=DescribeVolumeAttribute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Attribute=&VolumeId=&Action=&Version=#Action=DescribeVolumeAttribute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Attribute=&VolumeId=&Action=&Version=#Action=DescribeVolumeAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Attribute=&VolumeId=&Action=&Version=#Action=DescribeVolumeAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVolumeAttribute',
params: {Attribute: '', VolumeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Attribute=&VolumeId=&Action=&Version=#Action=DescribeVolumeAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Attribute=&VolumeId=&Action=&Version=#Action=DescribeVolumeAttribute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Attribute=&VolumeId=&Action=&Version=#Action=DescribeVolumeAttribute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Attribute=&VolumeId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVolumeAttribute',
qs: {Attribute: '', VolumeId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeVolumeAttribute');
req.query({
Attribute: '',
VolumeId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVolumeAttribute',
params: {Attribute: '', VolumeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Attribute=&VolumeId=&Action=&Version=#Action=DescribeVolumeAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Attribute=&VolumeId=&Action=&Version=#Action=DescribeVolumeAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Attribute=&VolumeId=&Action=&Version=#Action=DescribeVolumeAttribute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Attribute=&VolumeId=&Action=&Version=#Action=DescribeVolumeAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Attribute=&VolumeId=&Action=&Version=#Action=DescribeVolumeAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVolumeAttribute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Attribute' => '',
'VolumeId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVolumeAttribute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Attribute' => '',
'VolumeId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Attribute=&VolumeId=&Action=&Version=#Action=DescribeVolumeAttribute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Attribute=&VolumeId=&Action=&Version=#Action=DescribeVolumeAttribute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Attribute=&VolumeId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVolumeAttribute"
querystring = {"Attribute":"","VolumeId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVolumeAttribute"
queryString <- list(
Attribute = "",
VolumeId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Attribute=&VolumeId=&Action=&Version=#Action=DescribeVolumeAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Attribute'] = ''
req.params['VolumeId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVolumeAttribute";
let querystring = [
("Attribute", ""),
("VolumeId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Attribute=&VolumeId=&Action=&Version=#Action=DescribeVolumeAttribute'
http GET '{{baseUrl}}/?Attribute=&VolumeId=&Action=&Version=#Action=DescribeVolumeAttribute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Attribute=&VolumeId=&Action=&Version=#Action=DescribeVolumeAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Attribute=&VolumeId=&Action=&Version=#Action=DescribeVolumeAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"AutoEnableIO": {
"Value": false
},
"VolumeId": "vol-049df61146c4d7901"
}
GET
GET_DescribeVolumeStatus
{{baseUrl}}/#Action=DescribeVolumeStatus
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeVolumeStatus" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVolumeStatus',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVolumeStatus',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeVolumeStatus');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVolumeStatus',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVolumeStatus');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVolumeStatus');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVolumeStatus"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVolumeStatus"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVolumeStatus";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"VolumeStatuses": []
}
GET
GET_DescribeVolumes
{{baseUrl}}/#Action=DescribeVolumes
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeVolumes" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVolumes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVolumes',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeVolumes');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVolumes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVolumes');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVolumes');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVolumes"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVolumes"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVolumes";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"Volumes": [
{
"Attachments": [
{
"AttachTime": "2013-12-18T22:35:00.000Z",
"DeleteOnTermination": true,
"Device": "/dev/sda1",
"InstanceId": "i-1234567890abcdef0",
"State": "attached",
"VolumeId": "vol-049df61146c4d7901"
}
],
"AvailabilityZone": "us-east-1a",
"CreateTime": "2013-12-18T22:35:00.084Z",
"Size": 8,
"SnapshotId": "snap-1234567890abcdef0",
"State": "in-use",
"VolumeId": "vol-049df61146c4d7901",
"VolumeType": "standard"
}
]
}
GET
GET_DescribeVolumesModifications
{{baseUrl}}/#Action=DescribeVolumesModifications
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeVolumesModifications" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVolumesModifications',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVolumesModifications',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeVolumesModifications');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVolumesModifications',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVolumesModifications');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVolumesModifications');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVolumesModifications"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVolumesModifications"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVolumesModifications";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeVpcAttribute
{{baseUrl}}/#Action=DescribeVpcAttribute
QUERY PARAMS
Attribute
VpcId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Attribute=&VpcId=&Action=&Version=#Action=DescribeVpcAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeVpcAttribute" {:query-params {:Attribute ""
:VpcId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Attribute=&VpcId=&Action=&Version=#Action=DescribeVpcAttribute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Attribute=&VpcId=&Action=&Version=#Action=DescribeVpcAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Attribute=&VpcId=&Action=&Version=#Action=DescribeVpcAttribute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Attribute=&VpcId=&Action=&Version=#Action=DescribeVpcAttribute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Attribute=&VpcId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Attribute=&VpcId=&Action=&Version=#Action=DescribeVpcAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Attribute=&VpcId=&Action=&Version=#Action=DescribeVpcAttribute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Attribute=&VpcId=&Action=&Version=#Action=DescribeVpcAttribute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Attribute=&VpcId=&Action=&Version=#Action=DescribeVpcAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Attribute=&VpcId=&Action=&Version=#Action=DescribeVpcAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcAttribute',
params: {Attribute: '', VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Attribute=&VpcId=&Action=&Version=#Action=DescribeVpcAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Attribute=&VpcId=&Action=&Version=#Action=DescribeVpcAttribute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Attribute=&VpcId=&Action=&Version=#Action=DescribeVpcAttribute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Attribute=&VpcId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcAttribute',
qs: {Attribute: '', VpcId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeVpcAttribute');
req.query({
Attribute: '',
VpcId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcAttribute',
params: {Attribute: '', VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Attribute=&VpcId=&Action=&Version=#Action=DescribeVpcAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Attribute=&VpcId=&Action=&Version=#Action=DescribeVpcAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Attribute=&VpcId=&Action=&Version=#Action=DescribeVpcAttribute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Attribute=&VpcId=&Action=&Version=#Action=DescribeVpcAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Attribute=&VpcId=&Action=&Version=#Action=DescribeVpcAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVpcAttribute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Attribute' => '',
'VpcId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVpcAttribute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Attribute' => '',
'VpcId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Attribute=&VpcId=&Action=&Version=#Action=DescribeVpcAttribute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Attribute=&VpcId=&Action=&Version=#Action=DescribeVpcAttribute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Attribute=&VpcId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVpcAttribute"
querystring = {"Attribute":"","VpcId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVpcAttribute"
queryString <- list(
Attribute = "",
VpcId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Attribute=&VpcId=&Action=&Version=#Action=DescribeVpcAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Attribute'] = ''
req.params['VpcId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVpcAttribute";
let querystring = [
("Attribute", ""),
("VpcId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Attribute=&VpcId=&Action=&Version=#Action=DescribeVpcAttribute'
http GET '{{baseUrl}}/?Attribute=&VpcId=&Action=&Version=#Action=DescribeVpcAttribute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Attribute=&VpcId=&Action=&Version=#Action=DescribeVpcAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Attribute=&VpcId=&Action=&Version=#Action=DescribeVpcAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"EnableDnsHostnames": {
"Value": true
},
"VpcId": "vpc-a01106c2"
}
GET
GET_DescribeVpcClassicLink
{{baseUrl}}/#Action=DescribeVpcClassicLink
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeVpcClassicLink" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcClassicLink',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcClassicLink',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeVpcClassicLink');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcClassicLink',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVpcClassicLink');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVpcClassicLink');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVpcClassicLink"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVpcClassicLink"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVpcClassicLink";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeVpcClassicLinkDnsSupport
{{baseUrl}}/#Action=DescribeVpcClassicLinkDnsSupport
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeVpcClassicLinkDnsSupport" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcClassicLinkDnsSupport',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcClassicLinkDnsSupport',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeVpcClassicLinkDnsSupport');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcClassicLinkDnsSupport',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVpcClassicLinkDnsSupport');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVpcClassicLinkDnsSupport');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVpcClassicLinkDnsSupport"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVpcClassicLinkDnsSupport"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVpcClassicLinkDnsSupport";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeVpcEndpointConnectionNotifications
{{baseUrl}}/#Action=DescribeVpcEndpointConnectionNotifications
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeVpcEndpointConnectionNotifications" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointConnectionNotifications',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointConnectionNotifications',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeVpcEndpointConnectionNotifications');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointConnectionNotifications',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVpcEndpointConnectionNotifications');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVpcEndpointConnectionNotifications');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVpcEndpointConnectionNotifications"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVpcEndpointConnectionNotifications"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVpcEndpointConnectionNotifications";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeVpcEndpointConnections
{{baseUrl}}/#Action=DescribeVpcEndpointConnections
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeVpcEndpointConnections" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointConnections',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointConnections',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeVpcEndpointConnections');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointConnections',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVpcEndpointConnections');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVpcEndpointConnections');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVpcEndpointConnections"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVpcEndpointConnections"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVpcEndpointConnections";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeVpcEndpointServiceConfigurations
{{baseUrl}}/#Action=DescribeVpcEndpointServiceConfigurations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeVpcEndpointServiceConfigurations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointServiceConfigurations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointServiceConfigurations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeVpcEndpointServiceConfigurations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointServiceConfigurations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVpcEndpointServiceConfigurations');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVpcEndpointServiceConfigurations');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVpcEndpointServiceConfigurations"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVpcEndpointServiceConfigurations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVpcEndpointServiceConfigurations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeVpcEndpointServicePermissions
{{baseUrl}}/#Action=DescribeVpcEndpointServicePermissions
QUERY PARAMS
ServiceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DescribeVpcEndpointServicePermissions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeVpcEndpointServicePermissions" {:query-params {:ServiceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DescribeVpcEndpointServicePermissions"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DescribeVpcEndpointServicePermissions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DescribeVpcEndpointServicePermissions");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DescribeVpcEndpointServicePermissions"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ServiceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DescribeVpcEndpointServicePermissions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DescribeVpcEndpointServicePermissions"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DescribeVpcEndpointServicePermissions")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DescribeVpcEndpointServicePermissions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DescribeVpcEndpointServicePermissions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointServicePermissions',
params: {ServiceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DescribeVpcEndpointServicePermissions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DescribeVpcEndpointServicePermissions',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DescribeVpcEndpointServicePermissions")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ServiceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointServicePermissions',
qs: {ServiceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeVpcEndpointServicePermissions');
req.query({
ServiceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointServicePermissions',
params: {ServiceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DescribeVpcEndpointServicePermissions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DescribeVpcEndpointServicePermissions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DescribeVpcEndpointServicePermissions" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DescribeVpcEndpointServicePermissions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DescribeVpcEndpointServicePermissions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVpcEndpointServicePermissions');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ServiceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVpcEndpointServicePermissions');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ServiceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DescribeVpcEndpointServicePermissions' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DescribeVpcEndpointServicePermissions' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ServiceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVpcEndpointServicePermissions"
querystring = {"ServiceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVpcEndpointServicePermissions"
queryString <- list(
ServiceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DescribeVpcEndpointServicePermissions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ServiceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVpcEndpointServicePermissions";
let querystring = [
("ServiceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DescribeVpcEndpointServicePermissions'
http GET '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DescribeVpcEndpointServicePermissions'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DescribeVpcEndpointServicePermissions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=DescribeVpcEndpointServicePermissions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeVpcEndpointServices
{{baseUrl}}/#Action=DescribeVpcEndpointServices
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeVpcEndpointServices" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointServices',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointServices',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeVpcEndpointServices');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointServices',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVpcEndpointServices');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVpcEndpointServices');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVpcEndpointServices"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVpcEndpointServices"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVpcEndpointServices";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeVpcEndpoints
{{baseUrl}}/#Action=DescribeVpcEndpoints
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeVpcEndpoints" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcEndpoints',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcEndpoints',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeVpcEndpoints');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcEndpoints',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVpcEndpoints');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVpcEndpoints');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVpcEndpoints"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVpcEndpoints"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVpcEndpoints";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeVpcPeeringConnections
{{baseUrl}}/#Action=DescribeVpcPeeringConnections
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeVpcPeeringConnections" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcPeeringConnections',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcPeeringConnections',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeVpcPeeringConnections');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcPeeringConnections',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVpcPeeringConnections');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVpcPeeringConnections');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVpcPeeringConnections"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVpcPeeringConnections"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVpcPeeringConnections";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeVpcs
{{baseUrl}}/#Action=DescribeVpcs
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeVpcs" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcs',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcs',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeVpcs');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpcs',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVpcs');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVpcs');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVpcs"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVpcs"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVpcs";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"Vpcs": [
{
"CidrBlock": "10.0.0.0/16",
"DhcpOptionsId": "dopt-7a8b9c2d",
"InstanceTenancy": "default",
"IsDefault": false,
"State": "available",
"Tags": [
{
"Key": "Name",
"Value": "MyVPC"
}
],
"VpcId": "vpc-a01106c2"
}
]
}
GET
GET_DescribeVpnConnections
{{baseUrl}}/#Action=DescribeVpnConnections
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeVpnConnections" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpnConnections',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpnConnections',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeVpnConnections');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpnConnections',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVpnConnections');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVpnConnections');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVpnConnections"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVpnConnections"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVpnConnections";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DescribeVpnGateways
{{baseUrl}}/#Action=DescribeVpnGateways
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DescribeVpnGateways" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpnGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpnGateways',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DescribeVpnGateways');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DescribeVpnGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVpnGateways');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVpnGateways');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVpnGateways"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVpnGateways"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVpnGateways";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways'
http GET '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DetachClassicLinkVpc
{{baseUrl}}/#Action=DetachClassicLinkVpc
QUERY PARAMS
InstanceId
VpcId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceId=&VpcId=&Action=&Version=#Action=DetachClassicLinkVpc");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DetachClassicLinkVpc" {:query-params {:InstanceId ""
:VpcId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceId=&VpcId=&Action=&Version=#Action=DetachClassicLinkVpc"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceId=&VpcId=&Action=&Version=#Action=DetachClassicLinkVpc"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceId=&VpcId=&Action=&Version=#Action=DetachClassicLinkVpc");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceId=&VpcId=&Action=&Version=#Action=DetachClassicLinkVpc"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceId=&VpcId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceId=&VpcId=&Action=&Version=#Action=DetachClassicLinkVpc")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceId=&VpcId=&Action=&Version=#Action=DetachClassicLinkVpc"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceId=&VpcId=&Action=&Version=#Action=DetachClassicLinkVpc")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceId=&VpcId=&Action=&Version=#Action=DetachClassicLinkVpc")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceId=&VpcId=&Action=&Version=#Action=DetachClassicLinkVpc');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DetachClassicLinkVpc',
params: {InstanceId: '', VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceId=&VpcId=&Action=&Version=#Action=DetachClassicLinkVpc';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceId=&VpcId=&Action=&Version=#Action=DetachClassicLinkVpc',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceId=&VpcId=&Action=&Version=#Action=DetachClassicLinkVpc")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceId=&VpcId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DetachClassicLinkVpc',
qs: {InstanceId: '', VpcId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DetachClassicLinkVpc');
req.query({
InstanceId: '',
VpcId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DetachClassicLinkVpc',
params: {InstanceId: '', VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceId=&VpcId=&Action=&Version=#Action=DetachClassicLinkVpc';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceId=&VpcId=&Action=&Version=#Action=DetachClassicLinkVpc"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceId=&VpcId=&Action=&Version=#Action=DetachClassicLinkVpc" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceId=&VpcId=&Action=&Version=#Action=DetachClassicLinkVpc",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceId=&VpcId=&Action=&Version=#Action=DetachClassicLinkVpc');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DetachClassicLinkVpc');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceId' => '',
'VpcId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DetachClassicLinkVpc');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceId' => '',
'VpcId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceId=&VpcId=&Action=&Version=#Action=DetachClassicLinkVpc' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceId=&VpcId=&Action=&Version=#Action=DetachClassicLinkVpc' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceId=&VpcId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DetachClassicLinkVpc"
querystring = {"InstanceId":"","VpcId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DetachClassicLinkVpc"
queryString <- list(
InstanceId = "",
VpcId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceId=&VpcId=&Action=&Version=#Action=DetachClassicLinkVpc")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceId'] = ''
req.params['VpcId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DetachClassicLinkVpc";
let querystring = [
("InstanceId", ""),
("VpcId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceId=&VpcId=&Action=&Version=#Action=DetachClassicLinkVpc'
http GET '{{baseUrl}}/?InstanceId=&VpcId=&Action=&Version=#Action=DetachClassicLinkVpc'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceId=&VpcId=&Action=&Version=#Action=DetachClassicLinkVpc'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceId=&VpcId=&Action=&Version=#Action=DetachClassicLinkVpc")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DetachInternetGateway
{{baseUrl}}/#Action=DetachInternetGateway
QUERY PARAMS
InternetGatewayId
VpcId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=DetachInternetGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DetachInternetGateway" {:query-params {:InternetGatewayId ""
:VpcId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=DetachInternetGateway"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=DetachInternetGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=DetachInternetGateway");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=DetachInternetGateway"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InternetGatewayId=&VpcId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=DetachInternetGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=DetachInternetGateway"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=DetachInternetGateway")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=DetachInternetGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=DetachInternetGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DetachInternetGateway',
params: {InternetGatewayId: '', VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=DetachInternetGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=DetachInternetGateway',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=DetachInternetGateway")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InternetGatewayId=&VpcId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DetachInternetGateway',
qs: {InternetGatewayId: '', VpcId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DetachInternetGateway');
req.query({
InternetGatewayId: '',
VpcId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DetachInternetGateway',
params: {InternetGatewayId: '', VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=DetachInternetGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=DetachInternetGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=DetachInternetGateway" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=DetachInternetGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=DetachInternetGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DetachInternetGateway');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InternetGatewayId' => '',
'VpcId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DetachInternetGateway');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InternetGatewayId' => '',
'VpcId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=DetachInternetGateway' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=DetachInternetGateway' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InternetGatewayId=&VpcId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DetachInternetGateway"
querystring = {"InternetGatewayId":"","VpcId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DetachInternetGateway"
queryString <- list(
InternetGatewayId = "",
VpcId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=DetachInternetGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InternetGatewayId'] = ''
req.params['VpcId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DetachInternetGateway";
let querystring = [
("InternetGatewayId", ""),
("VpcId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=DetachInternetGateway'
http GET '{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=DetachInternetGateway'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=DetachInternetGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InternetGatewayId=&VpcId=&Action=&Version=#Action=DetachInternetGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DetachNetworkInterface
{{baseUrl}}/#Action=DetachNetworkInterface
QUERY PARAMS
AttachmentId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?AttachmentId=&Action=&Version=#Action=DetachNetworkInterface");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DetachNetworkInterface" {:query-params {:AttachmentId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?AttachmentId=&Action=&Version=#Action=DetachNetworkInterface"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?AttachmentId=&Action=&Version=#Action=DetachNetworkInterface"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?AttachmentId=&Action=&Version=#Action=DetachNetworkInterface");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?AttachmentId=&Action=&Version=#Action=DetachNetworkInterface"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?AttachmentId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?AttachmentId=&Action=&Version=#Action=DetachNetworkInterface")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?AttachmentId=&Action=&Version=#Action=DetachNetworkInterface"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?AttachmentId=&Action=&Version=#Action=DetachNetworkInterface")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?AttachmentId=&Action=&Version=#Action=DetachNetworkInterface")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?AttachmentId=&Action=&Version=#Action=DetachNetworkInterface');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DetachNetworkInterface',
params: {AttachmentId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?AttachmentId=&Action=&Version=#Action=DetachNetworkInterface';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?AttachmentId=&Action=&Version=#Action=DetachNetworkInterface',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?AttachmentId=&Action=&Version=#Action=DetachNetworkInterface")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?AttachmentId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DetachNetworkInterface',
qs: {AttachmentId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DetachNetworkInterface');
req.query({
AttachmentId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DetachNetworkInterface',
params: {AttachmentId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?AttachmentId=&Action=&Version=#Action=DetachNetworkInterface';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?AttachmentId=&Action=&Version=#Action=DetachNetworkInterface"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?AttachmentId=&Action=&Version=#Action=DetachNetworkInterface" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?AttachmentId=&Action=&Version=#Action=DetachNetworkInterface",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?AttachmentId=&Action=&Version=#Action=DetachNetworkInterface');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DetachNetworkInterface');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'AttachmentId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DetachNetworkInterface');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'AttachmentId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?AttachmentId=&Action=&Version=#Action=DetachNetworkInterface' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?AttachmentId=&Action=&Version=#Action=DetachNetworkInterface' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?AttachmentId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DetachNetworkInterface"
querystring = {"AttachmentId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DetachNetworkInterface"
queryString <- list(
AttachmentId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?AttachmentId=&Action=&Version=#Action=DetachNetworkInterface")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['AttachmentId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DetachNetworkInterface";
let querystring = [
("AttachmentId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?AttachmentId=&Action=&Version=#Action=DetachNetworkInterface'
http GET '{{baseUrl}}/?AttachmentId=&Action=&Version=#Action=DetachNetworkInterface'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?AttachmentId=&Action=&Version=#Action=DetachNetworkInterface'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?AttachmentId=&Action=&Version=#Action=DetachNetworkInterface")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DetachVerifiedAccessTrustProvider
{{baseUrl}}/#Action=DetachVerifiedAccessTrustProvider
QUERY PARAMS
VerifiedAccessInstanceId
VerifiedAccessTrustProviderId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=DetachVerifiedAccessTrustProvider");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DetachVerifiedAccessTrustProvider" {:query-params {:VerifiedAccessInstanceId ""
:VerifiedAccessTrustProviderId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=DetachVerifiedAccessTrustProvider"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=DetachVerifiedAccessTrustProvider"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=DetachVerifiedAccessTrustProvider");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=DetachVerifiedAccessTrustProvider"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=DetachVerifiedAccessTrustProvider")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=DetachVerifiedAccessTrustProvider"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=DetachVerifiedAccessTrustProvider")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=DetachVerifiedAccessTrustProvider")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=DetachVerifiedAccessTrustProvider');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DetachVerifiedAccessTrustProvider',
params: {
VerifiedAccessInstanceId: '',
VerifiedAccessTrustProviderId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=DetachVerifiedAccessTrustProvider';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=DetachVerifiedAccessTrustProvider',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=DetachVerifiedAccessTrustProvider")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DetachVerifiedAccessTrustProvider',
qs: {
VerifiedAccessInstanceId: '',
VerifiedAccessTrustProviderId: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DetachVerifiedAccessTrustProvider');
req.query({
VerifiedAccessInstanceId: '',
VerifiedAccessTrustProviderId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DetachVerifiedAccessTrustProvider',
params: {
VerifiedAccessInstanceId: '',
VerifiedAccessTrustProviderId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=DetachVerifiedAccessTrustProvider';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=DetachVerifiedAccessTrustProvider"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=DetachVerifiedAccessTrustProvider" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=DetachVerifiedAccessTrustProvider",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=DetachVerifiedAccessTrustProvider');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DetachVerifiedAccessTrustProvider');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VerifiedAccessInstanceId' => '',
'VerifiedAccessTrustProviderId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DetachVerifiedAccessTrustProvider');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VerifiedAccessInstanceId' => '',
'VerifiedAccessTrustProviderId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=DetachVerifiedAccessTrustProvider' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=DetachVerifiedAccessTrustProvider' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DetachVerifiedAccessTrustProvider"
querystring = {"VerifiedAccessInstanceId":"","VerifiedAccessTrustProviderId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DetachVerifiedAccessTrustProvider"
queryString <- list(
VerifiedAccessInstanceId = "",
VerifiedAccessTrustProviderId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=DetachVerifiedAccessTrustProvider")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VerifiedAccessInstanceId'] = ''
req.params['VerifiedAccessTrustProviderId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DetachVerifiedAccessTrustProvider";
let querystring = [
("VerifiedAccessInstanceId", ""),
("VerifiedAccessTrustProviderId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=DetachVerifiedAccessTrustProvider'
http GET '{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=DetachVerifiedAccessTrustProvider'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=DetachVerifiedAccessTrustProvider'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VerifiedAccessInstanceId=&VerifiedAccessTrustProviderId=&Action=&Version=#Action=DetachVerifiedAccessTrustProvider")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DetachVolume
{{baseUrl}}/#Action=DetachVolume
QUERY PARAMS
VolumeId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DetachVolume");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DetachVolume" {:query-params {:VolumeId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DetachVolume"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DetachVolume"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DetachVolume");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DetachVolume"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VolumeId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DetachVolume")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DetachVolume"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DetachVolume")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DetachVolume")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DetachVolume');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DetachVolume',
params: {VolumeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DetachVolume';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DetachVolume',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DetachVolume")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VolumeId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DetachVolume',
qs: {VolumeId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DetachVolume');
req.query({
VolumeId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DetachVolume',
params: {VolumeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DetachVolume';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DetachVolume"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DetachVolume" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DetachVolume",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DetachVolume');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DetachVolume');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VolumeId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DetachVolume');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VolumeId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DetachVolume' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DetachVolume' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VolumeId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DetachVolume"
querystring = {"VolumeId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DetachVolume"
queryString <- list(
VolumeId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DetachVolume")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VolumeId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DetachVolume";
let querystring = [
("VolumeId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DetachVolume'
http GET '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DetachVolume'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DetachVolume'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=DetachVolume")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"AttachTime": "2014-02-27T19:23:06.000Z",
"Device": "/dev/sdb",
"InstanceId": "i-1234567890abcdef0",
"State": "detaching",
"VolumeId": "vol-049df61146c4d7901"
}
GET
GET_DetachVpnGateway
{{baseUrl}}/#Action=DetachVpnGateway
QUERY PARAMS
VpcId
VpnGatewayId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=DetachVpnGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DetachVpnGateway" {:query-params {:VpcId ""
:VpnGatewayId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=DetachVpnGateway"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=DetachVpnGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=DetachVpnGateway");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=DetachVpnGateway"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpcId=&VpnGatewayId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=DetachVpnGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=DetachVpnGateway"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=DetachVpnGateway")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=DetachVpnGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=DetachVpnGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DetachVpnGateway',
params: {VpcId: '', VpnGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=DetachVpnGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=DetachVpnGateway',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=DetachVpnGateway")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpcId=&VpnGatewayId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DetachVpnGateway',
qs: {VpcId: '', VpnGatewayId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DetachVpnGateway');
req.query({
VpcId: '',
VpnGatewayId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DetachVpnGateway',
params: {VpcId: '', VpnGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=DetachVpnGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=DetachVpnGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=DetachVpnGateway" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=DetachVpnGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=DetachVpnGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DetachVpnGateway');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpcId' => '',
'VpnGatewayId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DetachVpnGateway');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpcId' => '',
'VpnGatewayId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=DetachVpnGateway' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=DetachVpnGateway' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpcId=&VpnGatewayId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DetachVpnGateway"
querystring = {"VpcId":"","VpnGatewayId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DetachVpnGateway"
queryString <- list(
VpcId = "",
VpnGatewayId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=DetachVpnGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpcId'] = ''
req.params['VpnGatewayId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DetachVpnGateway";
let querystring = [
("VpcId", ""),
("VpnGatewayId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=DetachVpnGateway'
http GET '{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=DetachVpnGateway'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=DetachVpnGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpcId=&VpnGatewayId=&Action=&Version=#Action=DetachVpnGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DisableAddressTransfer
{{baseUrl}}/#Action=DisableAddressTransfer
QUERY PARAMS
AllocationId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?AllocationId=&Action=&Version=#Action=DisableAddressTransfer");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DisableAddressTransfer" {:query-params {:AllocationId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?AllocationId=&Action=&Version=#Action=DisableAddressTransfer"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?AllocationId=&Action=&Version=#Action=DisableAddressTransfer"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?AllocationId=&Action=&Version=#Action=DisableAddressTransfer");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?AllocationId=&Action=&Version=#Action=DisableAddressTransfer"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?AllocationId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?AllocationId=&Action=&Version=#Action=DisableAddressTransfer")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?AllocationId=&Action=&Version=#Action=DisableAddressTransfer"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?AllocationId=&Action=&Version=#Action=DisableAddressTransfer")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?AllocationId=&Action=&Version=#Action=DisableAddressTransfer")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?AllocationId=&Action=&Version=#Action=DisableAddressTransfer');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableAddressTransfer',
params: {AllocationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?AllocationId=&Action=&Version=#Action=DisableAddressTransfer';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?AllocationId=&Action=&Version=#Action=DisableAddressTransfer',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?AllocationId=&Action=&Version=#Action=DisableAddressTransfer")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?AllocationId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableAddressTransfer',
qs: {AllocationId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DisableAddressTransfer');
req.query({
AllocationId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableAddressTransfer',
params: {AllocationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?AllocationId=&Action=&Version=#Action=DisableAddressTransfer';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?AllocationId=&Action=&Version=#Action=DisableAddressTransfer"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?AllocationId=&Action=&Version=#Action=DisableAddressTransfer" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?AllocationId=&Action=&Version=#Action=DisableAddressTransfer",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?AllocationId=&Action=&Version=#Action=DisableAddressTransfer');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisableAddressTransfer');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'AllocationId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisableAddressTransfer');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'AllocationId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?AllocationId=&Action=&Version=#Action=DisableAddressTransfer' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?AllocationId=&Action=&Version=#Action=DisableAddressTransfer' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?AllocationId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisableAddressTransfer"
querystring = {"AllocationId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisableAddressTransfer"
queryString <- list(
AllocationId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?AllocationId=&Action=&Version=#Action=DisableAddressTransfer")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['AllocationId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisableAddressTransfer";
let querystring = [
("AllocationId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?AllocationId=&Action=&Version=#Action=DisableAddressTransfer'
http GET '{{baseUrl}}/?AllocationId=&Action=&Version=#Action=DisableAddressTransfer'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?AllocationId=&Action=&Version=#Action=DisableAddressTransfer'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?AllocationId=&Action=&Version=#Action=DisableAddressTransfer")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DisableAwsNetworkPerformanceMetricSubscription
{{baseUrl}}/#Action=DisableAwsNetworkPerformanceMetricSubscription
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DisableAwsNetworkPerformanceMetricSubscription" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableAwsNetworkPerformanceMetricSubscription',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableAwsNetworkPerformanceMetricSubscription',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DisableAwsNetworkPerformanceMetricSubscription');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableAwsNetworkPerformanceMetricSubscription',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisableAwsNetworkPerformanceMetricSubscription');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisableAwsNetworkPerformanceMetricSubscription');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisableAwsNetworkPerformanceMetricSubscription"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisableAwsNetworkPerformanceMetricSubscription"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisableAwsNetworkPerformanceMetricSubscription";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription'
http GET '{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DisableEbsEncryptionByDefault
{{baseUrl}}/#Action=DisableEbsEncryptionByDefault
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DisableEbsEncryptionByDefault" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableEbsEncryptionByDefault',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableEbsEncryptionByDefault',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DisableEbsEncryptionByDefault');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableEbsEncryptionByDefault',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisableEbsEncryptionByDefault');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisableEbsEncryptionByDefault');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisableEbsEncryptionByDefault"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisableEbsEncryptionByDefault"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisableEbsEncryptionByDefault";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault'
http GET '{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DisableFastLaunch
{{baseUrl}}/#Action=DisableFastLaunch
QUERY PARAMS
ImageId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableFastLaunch");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DisableFastLaunch" {:query-params {:ImageId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableFastLaunch"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableFastLaunch"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableFastLaunch");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableFastLaunch"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ImageId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableFastLaunch")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableFastLaunch"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableFastLaunch")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableFastLaunch")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableFastLaunch');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableFastLaunch',
params: {ImageId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableFastLaunch';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableFastLaunch',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableFastLaunch")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ImageId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableFastLaunch',
qs: {ImageId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DisableFastLaunch');
req.query({
ImageId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableFastLaunch',
params: {ImageId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableFastLaunch';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableFastLaunch"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableFastLaunch" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableFastLaunch",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableFastLaunch');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisableFastLaunch');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ImageId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisableFastLaunch');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ImageId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableFastLaunch' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableFastLaunch' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ImageId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisableFastLaunch"
querystring = {"ImageId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisableFastLaunch"
queryString <- list(
ImageId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableFastLaunch")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ImageId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisableFastLaunch";
let querystring = [
("ImageId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableFastLaunch'
http GET '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableFastLaunch'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableFastLaunch'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableFastLaunch")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DisableFastSnapshotRestores
{{baseUrl}}/#Action=DisableFastSnapshotRestores
QUERY PARAMS
AvailabilityZone
SourceSnapshotId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=DisableFastSnapshotRestores");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DisableFastSnapshotRestores" {:query-params {:AvailabilityZone ""
:SourceSnapshotId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=DisableFastSnapshotRestores"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=DisableFastSnapshotRestores"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=DisableFastSnapshotRestores");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=DisableFastSnapshotRestores"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?AvailabilityZone=&SourceSnapshotId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=DisableFastSnapshotRestores")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=DisableFastSnapshotRestores"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=DisableFastSnapshotRestores")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=DisableFastSnapshotRestores")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=DisableFastSnapshotRestores');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableFastSnapshotRestores',
params: {AvailabilityZone: '', SourceSnapshotId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=DisableFastSnapshotRestores';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=DisableFastSnapshotRestores',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=DisableFastSnapshotRestores")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableFastSnapshotRestores',
qs: {AvailabilityZone: '', SourceSnapshotId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DisableFastSnapshotRestores');
req.query({
AvailabilityZone: '',
SourceSnapshotId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableFastSnapshotRestores',
params: {AvailabilityZone: '', SourceSnapshotId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=DisableFastSnapshotRestores';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=DisableFastSnapshotRestores"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=DisableFastSnapshotRestores" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=DisableFastSnapshotRestores",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=DisableFastSnapshotRestores');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisableFastSnapshotRestores');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'AvailabilityZone' => '',
'SourceSnapshotId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisableFastSnapshotRestores');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'AvailabilityZone' => '',
'SourceSnapshotId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=DisableFastSnapshotRestores' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=DisableFastSnapshotRestores' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisableFastSnapshotRestores"
querystring = {"AvailabilityZone":"","SourceSnapshotId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisableFastSnapshotRestores"
queryString <- list(
AvailabilityZone = "",
SourceSnapshotId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=DisableFastSnapshotRestores")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['AvailabilityZone'] = ''
req.params['SourceSnapshotId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisableFastSnapshotRestores";
let querystring = [
("AvailabilityZone", ""),
("SourceSnapshotId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=DisableFastSnapshotRestores'
http GET '{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=DisableFastSnapshotRestores'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=DisableFastSnapshotRestores'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=DisableFastSnapshotRestores")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DisableImageDeprecation
{{baseUrl}}/#Action=DisableImageDeprecation
QUERY PARAMS
ImageId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableImageDeprecation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DisableImageDeprecation" {:query-params {:ImageId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableImageDeprecation"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableImageDeprecation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableImageDeprecation");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableImageDeprecation"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ImageId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableImageDeprecation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableImageDeprecation"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableImageDeprecation")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableImageDeprecation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableImageDeprecation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableImageDeprecation',
params: {ImageId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableImageDeprecation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableImageDeprecation',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableImageDeprecation")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ImageId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableImageDeprecation',
qs: {ImageId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DisableImageDeprecation');
req.query({
ImageId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableImageDeprecation',
params: {ImageId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableImageDeprecation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableImageDeprecation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableImageDeprecation" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableImageDeprecation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableImageDeprecation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisableImageDeprecation');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ImageId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisableImageDeprecation');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ImageId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableImageDeprecation' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableImageDeprecation' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ImageId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisableImageDeprecation"
querystring = {"ImageId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisableImageDeprecation"
queryString <- list(
ImageId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableImageDeprecation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ImageId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisableImageDeprecation";
let querystring = [
("ImageId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableImageDeprecation'
http GET '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableImageDeprecation'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableImageDeprecation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ImageId=&Action=&Version=#Action=DisableImageDeprecation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DisableIpamOrganizationAdminAccount
{{baseUrl}}/#Action=DisableIpamOrganizationAdminAccount
QUERY PARAMS
DelegatedAdminAccountId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=DisableIpamOrganizationAdminAccount");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DisableIpamOrganizationAdminAccount" {:query-params {:DelegatedAdminAccountId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=DisableIpamOrganizationAdminAccount"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=DisableIpamOrganizationAdminAccount"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=DisableIpamOrganizationAdminAccount");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=DisableIpamOrganizationAdminAccount"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?DelegatedAdminAccountId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=DisableIpamOrganizationAdminAccount")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=DisableIpamOrganizationAdminAccount"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=DisableIpamOrganizationAdminAccount")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=DisableIpamOrganizationAdminAccount")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=DisableIpamOrganizationAdminAccount');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableIpamOrganizationAdminAccount',
params: {DelegatedAdminAccountId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=DisableIpamOrganizationAdminAccount';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=DisableIpamOrganizationAdminAccount',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=DisableIpamOrganizationAdminAccount")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?DelegatedAdminAccountId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableIpamOrganizationAdminAccount',
qs: {DelegatedAdminAccountId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DisableIpamOrganizationAdminAccount');
req.query({
DelegatedAdminAccountId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableIpamOrganizationAdminAccount',
params: {DelegatedAdminAccountId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=DisableIpamOrganizationAdminAccount';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=DisableIpamOrganizationAdminAccount"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=DisableIpamOrganizationAdminAccount" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=DisableIpamOrganizationAdminAccount",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=DisableIpamOrganizationAdminAccount');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisableIpamOrganizationAdminAccount');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'DelegatedAdminAccountId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisableIpamOrganizationAdminAccount');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'DelegatedAdminAccountId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=DisableIpamOrganizationAdminAccount' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=DisableIpamOrganizationAdminAccount' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?DelegatedAdminAccountId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisableIpamOrganizationAdminAccount"
querystring = {"DelegatedAdminAccountId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisableIpamOrganizationAdminAccount"
queryString <- list(
DelegatedAdminAccountId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=DisableIpamOrganizationAdminAccount")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['DelegatedAdminAccountId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisableIpamOrganizationAdminAccount";
let querystring = [
("DelegatedAdminAccountId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=DisableIpamOrganizationAdminAccount'
http GET '{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=DisableIpamOrganizationAdminAccount'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=DisableIpamOrganizationAdminAccount'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=DisableIpamOrganizationAdminAccount")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DisableSerialConsoleAccess
{{baseUrl}}/#Action=DisableSerialConsoleAccess
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DisableSerialConsoleAccess" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableSerialConsoleAccess',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableSerialConsoleAccess',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DisableSerialConsoleAccess');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableSerialConsoleAccess',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisableSerialConsoleAccess');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisableSerialConsoleAccess');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisableSerialConsoleAccess"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisableSerialConsoleAccess"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisableSerialConsoleAccess";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess'
http GET '{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DisableTransitGatewayRouteTablePropagation
{{baseUrl}}/#Action=DisableTransitGatewayRouteTablePropagation
QUERY PARAMS
TransitGatewayRouteTableId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DisableTransitGatewayRouteTablePropagation" {:query-params {:TransitGatewayRouteTableId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayRouteTableId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableTransitGatewayRouteTablePropagation',
params: {TransitGatewayRouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayRouteTableId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableTransitGatewayRouteTablePropagation',
qs: {TransitGatewayRouteTableId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DisableTransitGatewayRouteTablePropagation');
req.query({
TransitGatewayRouteTableId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableTransitGatewayRouteTablePropagation',
params: {TransitGatewayRouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisableTransitGatewayRouteTablePropagation');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayRouteTableId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisableTransitGatewayRouteTablePropagation');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayRouteTableId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayRouteTableId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisableTransitGatewayRouteTablePropagation"
querystring = {"TransitGatewayRouteTableId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisableTransitGatewayRouteTablePropagation"
queryString <- list(
TransitGatewayRouteTableId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayRouteTableId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisableTransitGatewayRouteTablePropagation";
let querystring = [
("TransitGatewayRouteTableId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation'
http GET '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DisableVgwRoutePropagation
{{baseUrl}}/#Action=DisableVgwRoutePropagation
QUERY PARAMS
GatewayId
RouteTableId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=DisableVgwRoutePropagation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DisableVgwRoutePropagation" {:query-params {:GatewayId ""
:RouteTableId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=DisableVgwRoutePropagation"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=DisableVgwRoutePropagation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=DisableVgwRoutePropagation");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=DisableVgwRoutePropagation"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?GatewayId=&RouteTableId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=DisableVgwRoutePropagation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=DisableVgwRoutePropagation"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=DisableVgwRoutePropagation")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=DisableVgwRoutePropagation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=DisableVgwRoutePropagation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableVgwRoutePropagation',
params: {GatewayId: '', RouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=DisableVgwRoutePropagation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=DisableVgwRoutePropagation',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=DisableVgwRoutePropagation")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?GatewayId=&RouteTableId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableVgwRoutePropagation',
qs: {GatewayId: '', RouteTableId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DisableVgwRoutePropagation');
req.query({
GatewayId: '',
RouteTableId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableVgwRoutePropagation',
params: {GatewayId: '', RouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=DisableVgwRoutePropagation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=DisableVgwRoutePropagation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=DisableVgwRoutePropagation" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=DisableVgwRoutePropagation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=DisableVgwRoutePropagation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisableVgwRoutePropagation');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'GatewayId' => '',
'RouteTableId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisableVgwRoutePropagation');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'GatewayId' => '',
'RouteTableId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=DisableVgwRoutePropagation' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=DisableVgwRoutePropagation' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?GatewayId=&RouteTableId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisableVgwRoutePropagation"
querystring = {"GatewayId":"","RouteTableId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisableVgwRoutePropagation"
queryString <- list(
GatewayId = "",
RouteTableId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=DisableVgwRoutePropagation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['GatewayId'] = ''
req.params['RouteTableId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisableVgwRoutePropagation";
let querystring = [
("GatewayId", ""),
("RouteTableId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=DisableVgwRoutePropagation'
http GET '{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=DisableVgwRoutePropagation'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=DisableVgwRoutePropagation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=DisableVgwRoutePropagation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DisableVpcClassicLink
{{baseUrl}}/#Action=DisableVpcClassicLink
QUERY PARAMS
VpcId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpcId=&Action=&Version=#Action=DisableVpcClassicLink");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DisableVpcClassicLink" {:query-params {:VpcId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpcId=&Action=&Version=#Action=DisableVpcClassicLink"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpcId=&Action=&Version=#Action=DisableVpcClassicLink"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpcId=&Action=&Version=#Action=DisableVpcClassicLink");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpcId=&Action=&Version=#Action=DisableVpcClassicLink"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpcId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpcId=&Action=&Version=#Action=DisableVpcClassicLink")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpcId=&Action=&Version=#Action=DisableVpcClassicLink"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpcId=&Action=&Version=#Action=DisableVpcClassicLink")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpcId=&Action=&Version=#Action=DisableVpcClassicLink")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DisableVpcClassicLink');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableVpcClassicLink',
params: {VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DisableVpcClassicLink';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DisableVpcClassicLink',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpcId=&Action=&Version=#Action=DisableVpcClassicLink")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpcId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableVpcClassicLink',
qs: {VpcId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DisableVpcClassicLink');
req.query({
VpcId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableVpcClassicLink',
params: {VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DisableVpcClassicLink';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpcId=&Action=&Version=#Action=DisableVpcClassicLink"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpcId=&Action=&Version=#Action=DisableVpcClassicLink" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpcId=&Action=&Version=#Action=DisableVpcClassicLink",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DisableVpcClassicLink');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisableVpcClassicLink');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpcId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisableVpcClassicLink');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpcId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DisableVpcClassicLink' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DisableVpcClassicLink' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpcId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisableVpcClassicLink"
querystring = {"VpcId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisableVpcClassicLink"
queryString <- list(
VpcId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpcId=&Action=&Version=#Action=DisableVpcClassicLink")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpcId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisableVpcClassicLink";
let querystring = [
("VpcId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DisableVpcClassicLink'
http GET '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DisableVpcClassicLink'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpcId=&Action=&Version=#Action=DisableVpcClassicLink'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpcId=&Action=&Version=#Action=DisableVpcClassicLink")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DisableVpcClassicLinkDnsSupport
{{baseUrl}}/#Action=DisableVpcClassicLinkDnsSupport
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DisableVpcClassicLinkDnsSupport" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableVpcClassicLinkDnsSupport',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableVpcClassicLinkDnsSupport',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DisableVpcClassicLinkDnsSupport');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisableVpcClassicLinkDnsSupport',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisableVpcClassicLinkDnsSupport');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisableVpcClassicLinkDnsSupport');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisableVpcClassicLinkDnsSupport"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisableVpcClassicLinkDnsSupport"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisableVpcClassicLinkDnsSupport";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport'
http GET '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DisassociateAddress
{{baseUrl}}/#Action=DisassociateAddress
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DisassociateAddress" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateAddress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateAddress',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DisassociateAddress');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateAddress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisassociateAddress');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisassociateAddress');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisassociateAddress"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisassociateAddress"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisassociateAddress";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress'
http GET '{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DisassociateClientVpnTargetNetwork
{{baseUrl}}/#Action=DisassociateClientVpnTargetNetwork
QUERY PARAMS
ClientVpnEndpointId
AssociationId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ClientVpnEndpointId=&AssociationId=&Action=&Version=#Action=DisassociateClientVpnTargetNetwork");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DisassociateClientVpnTargetNetwork" {:query-params {:ClientVpnEndpointId ""
:AssociationId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ClientVpnEndpointId=&AssociationId=&Action=&Version=#Action=DisassociateClientVpnTargetNetwork"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ClientVpnEndpointId=&AssociationId=&Action=&Version=#Action=DisassociateClientVpnTargetNetwork"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ClientVpnEndpointId=&AssociationId=&Action=&Version=#Action=DisassociateClientVpnTargetNetwork");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ClientVpnEndpointId=&AssociationId=&Action=&Version=#Action=DisassociateClientVpnTargetNetwork"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ClientVpnEndpointId=&AssociationId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ClientVpnEndpointId=&AssociationId=&Action=&Version=#Action=DisassociateClientVpnTargetNetwork")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ClientVpnEndpointId=&AssociationId=&Action=&Version=#Action=DisassociateClientVpnTargetNetwork"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&AssociationId=&Action=&Version=#Action=DisassociateClientVpnTargetNetwork")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ClientVpnEndpointId=&AssociationId=&Action=&Version=#Action=DisassociateClientVpnTargetNetwork")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ClientVpnEndpointId=&AssociationId=&Action=&Version=#Action=DisassociateClientVpnTargetNetwork');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateClientVpnTargetNetwork',
params: {ClientVpnEndpointId: '', AssociationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ClientVpnEndpointId=&AssociationId=&Action=&Version=#Action=DisassociateClientVpnTargetNetwork';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ClientVpnEndpointId=&AssociationId=&Action=&Version=#Action=DisassociateClientVpnTargetNetwork',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&AssociationId=&Action=&Version=#Action=DisassociateClientVpnTargetNetwork")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ClientVpnEndpointId=&AssociationId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateClientVpnTargetNetwork',
qs: {ClientVpnEndpointId: '', AssociationId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DisassociateClientVpnTargetNetwork');
req.query({
ClientVpnEndpointId: '',
AssociationId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateClientVpnTargetNetwork',
params: {ClientVpnEndpointId: '', AssociationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ClientVpnEndpointId=&AssociationId=&Action=&Version=#Action=DisassociateClientVpnTargetNetwork';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ClientVpnEndpointId=&AssociationId=&Action=&Version=#Action=DisassociateClientVpnTargetNetwork"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ClientVpnEndpointId=&AssociationId=&Action=&Version=#Action=DisassociateClientVpnTargetNetwork" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ClientVpnEndpointId=&AssociationId=&Action=&Version=#Action=DisassociateClientVpnTargetNetwork",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ClientVpnEndpointId=&AssociationId=&Action=&Version=#Action=DisassociateClientVpnTargetNetwork');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisassociateClientVpnTargetNetwork');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ClientVpnEndpointId' => '',
'AssociationId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisassociateClientVpnTargetNetwork');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ClientVpnEndpointId' => '',
'AssociationId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ClientVpnEndpointId=&AssociationId=&Action=&Version=#Action=DisassociateClientVpnTargetNetwork' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ClientVpnEndpointId=&AssociationId=&Action=&Version=#Action=DisassociateClientVpnTargetNetwork' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ClientVpnEndpointId=&AssociationId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisassociateClientVpnTargetNetwork"
querystring = {"ClientVpnEndpointId":"","AssociationId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisassociateClientVpnTargetNetwork"
queryString <- list(
ClientVpnEndpointId = "",
AssociationId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ClientVpnEndpointId=&AssociationId=&Action=&Version=#Action=DisassociateClientVpnTargetNetwork")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ClientVpnEndpointId'] = ''
req.params['AssociationId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisassociateClientVpnTargetNetwork";
let querystring = [
("ClientVpnEndpointId", ""),
("AssociationId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ClientVpnEndpointId=&AssociationId=&Action=&Version=#Action=DisassociateClientVpnTargetNetwork'
http GET '{{baseUrl}}/?ClientVpnEndpointId=&AssociationId=&Action=&Version=#Action=DisassociateClientVpnTargetNetwork'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ClientVpnEndpointId=&AssociationId=&Action=&Version=#Action=DisassociateClientVpnTargetNetwork'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ClientVpnEndpointId=&AssociationId=&Action=&Version=#Action=DisassociateClientVpnTargetNetwork")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DisassociateEnclaveCertificateIamRole
{{baseUrl}}/#Action=DisassociateEnclaveCertificateIamRole
QUERY PARAMS
CertificateArn
RoleArn
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=DisassociateEnclaveCertificateIamRole");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DisassociateEnclaveCertificateIamRole" {:query-params {:CertificateArn ""
:RoleArn ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=DisassociateEnclaveCertificateIamRole"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=DisassociateEnclaveCertificateIamRole"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=DisassociateEnclaveCertificateIamRole");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=DisassociateEnclaveCertificateIamRole"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?CertificateArn=&RoleArn=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=DisassociateEnclaveCertificateIamRole")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=DisassociateEnclaveCertificateIamRole"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=DisassociateEnclaveCertificateIamRole")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=DisassociateEnclaveCertificateIamRole")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=DisassociateEnclaveCertificateIamRole');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateEnclaveCertificateIamRole',
params: {CertificateArn: '', RoleArn: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=DisassociateEnclaveCertificateIamRole';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=DisassociateEnclaveCertificateIamRole',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=DisassociateEnclaveCertificateIamRole")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?CertificateArn=&RoleArn=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateEnclaveCertificateIamRole',
qs: {CertificateArn: '', RoleArn: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DisassociateEnclaveCertificateIamRole');
req.query({
CertificateArn: '',
RoleArn: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateEnclaveCertificateIamRole',
params: {CertificateArn: '', RoleArn: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=DisassociateEnclaveCertificateIamRole';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=DisassociateEnclaveCertificateIamRole"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=DisassociateEnclaveCertificateIamRole" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=DisassociateEnclaveCertificateIamRole",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=DisassociateEnclaveCertificateIamRole');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisassociateEnclaveCertificateIamRole');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'CertificateArn' => '',
'RoleArn' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisassociateEnclaveCertificateIamRole');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'CertificateArn' => '',
'RoleArn' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=DisassociateEnclaveCertificateIamRole' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=DisassociateEnclaveCertificateIamRole' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?CertificateArn=&RoleArn=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisassociateEnclaveCertificateIamRole"
querystring = {"CertificateArn":"","RoleArn":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisassociateEnclaveCertificateIamRole"
queryString <- list(
CertificateArn = "",
RoleArn = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=DisassociateEnclaveCertificateIamRole")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['CertificateArn'] = ''
req.params['RoleArn'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisassociateEnclaveCertificateIamRole";
let querystring = [
("CertificateArn", ""),
("RoleArn", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=DisassociateEnclaveCertificateIamRole'
http GET '{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=DisassociateEnclaveCertificateIamRole'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=DisassociateEnclaveCertificateIamRole'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?CertificateArn=&RoleArn=&Action=&Version=#Action=DisassociateEnclaveCertificateIamRole")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DisassociateIamInstanceProfile
{{baseUrl}}/#Action=DisassociateIamInstanceProfile
QUERY PARAMS
AssociationId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateIamInstanceProfile");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DisassociateIamInstanceProfile" {:query-params {:AssociationId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateIamInstanceProfile"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateIamInstanceProfile"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateIamInstanceProfile");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateIamInstanceProfile"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?AssociationId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateIamInstanceProfile")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateIamInstanceProfile"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateIamInstanceProfile")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateIamInstanceProfile")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateIamInstanceProfile');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateIamInstanceProfile',
params: {AssociationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateIamInstanceProfile';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateIamInstanceProfile',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateIamInstanceProfile")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?AssociationId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateIamInstanceProfile',
qs: {AssociationId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DisassociateIamInstanceProfile');
req.query({
AssociationId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateIamInstanceProfile',
params: {AssociationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateIamInstanceProfile';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateIamInstanceProfile"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateIamInstanceProfile" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateIamInstanceProfile",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateIamInstanceProfile');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisassociateIamInstanceProfile');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'AssociationId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisassociateIamInstanceProfile');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'AssociationId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateIamInstanceProfile' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateIamInstanceProfile' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?AssociationId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisassociateIamInstanceProfile"
querystring = {"AssociationId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisassociateIamInstanceProfile"
queryString <- list(
AssociationId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateIamInstanceProfile")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['AssociationId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisassociateIamInstanceProfile";
let querystring = [
("AssociationId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateIamInstanceProfile'
http GET '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateIamInstanceProfile'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateIamInstanceProfile'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateIamInstanceProfile")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"IamInstanceProfileAssociation": {
"AssociationId": "iip-assoc-05020b59952902f5f",
"IamInstanceProfile": {
"Arn": "arn:aws:iam::123456789012:instance-profile/admin-role",
"Id": "AIPAI5IVIHMFFYY2DKV5Y"
},
"InstanceId": "i-123456789abcde123",
"State": "disassociating"
}
}
GET
GET_DisassociateInstanceEventWindow
{{baseUrl}}/#Action=DisassociateInstanceEventWindow
QUERY PARAMS
InstanceEventWindowId
AssociationTarget
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=DisassociateInstanceEventWindow");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DisassociateInstanceEventWindow" {:query-params {:InstanceEventWindowId ""
:AssociationTarget ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=DisassociateInstanceEventWindow"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=DisassociateInstanceEventWindow"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=DisassociateInstanceEventWindow");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=DisassociateInstanceEventWindow"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceEventWindowId=&AssociationTarget=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=DisassociateInstanceEventWindow")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=DisassociateInstanceEventWindow"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=DisassociateInstanceEventWindow")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=DisassociateInstanceEventWindow")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=DisassociateInstanceEventWindow');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateInstanceEventWindow',
params: {InstanceEventWindowId: '', AssociationTarget: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=DisassociateInstanceEventWindow';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=DisassociateInstanceEventWindow',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=DisassociateInstanceEventWindow")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateInstanceEventWindow',
qs: {InstanceEventWindowId: '', AssociationTarget: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DisassociateInstanceEventWindow');
req.query({
InstanceEventWindowId: '',
AssociationTarget: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateInstanceEventWindow',
params: {InstanceEventWindowId: '', AssociationTarget: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=DisassociateInstanceEventWindow';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=DisassociateInstanceEventWindow"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=DisassociateInstanceEventWindow" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=DisassociateInstanceEventWindow",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=DisassociateInstanceEventWindow');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisassociateInstanceEventWindow');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceEventWindowId' => '',
'AssociationTarget' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisassociateInstanceEventWindow');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceEventWindowId' => '',
'AssociationTarget' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=DisassociateInstanceEventWindow' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=DisassociateInstanceEventWindow' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisassociateInstanceEventWindow"
querystring = {"InstanceEventWindowId":"","AssociationTarget":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisassociateInstanceEventWindow"
queryString <- list(
InstanceEventWindowId = "",
AssociationTarget = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=DisassociateInstanceEventWindow")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceEventWindowId'] = ''
req.params['AssociationTarget'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisassociateInstanceEventWindow";
let querystring = [
("InstanceEventWindowId", ""),
("AssociationTarget", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=DisassociateInstanceEventWindow'
http GET '{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=DisassociateInstanceEventWindow'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=DisassociateInstanceEventWindow'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceEventWindowId=&AssociationTarget=&Action=&Version=#Action=DisassociateInstanceEventWindow")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DisassociateIpamResourceDiscovery
{{baseUrl}}/#Action=DisassociateIpamResourceDiscovery
QUERY PARAMS
IpamResourceDiscoveryAssociationId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?IpamResourceDiscoveryAssociationId=&Action=&Version=#Action=DisassociateIpamResourceDiscovery");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DisassociateIpamResourceDiscovery" {:query-params {:IpamResourceDiscoveryAssociationId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?IpamResourceDiscoveryAssociationId=&Action=&Version=#Action=DisassociateIpamResourceDiscovery"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?IpamResourceDiscoveryAssociationId=&Action=&Version=#Action=DisassociateIpamResourceDiscovery"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?IpamResourceDiscoveryAssociationId=&Action=&Version=#Action=DisassociateIpamResourceDiscovery");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?IpamResourceDiscoveryAssociationId=&Action=&Version=#Action=DisassociateIpamResourceDiscovery"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?IpamResourceDiscoveryAssociationId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?IpamResourceDiscoveryAssociationId=&Action=&Version=#Action=DisassociateIpamResourceDiscovery")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?IpamResourceDiscoveryAssociationId=&Action=&Version=#Action=DisassociateIpamResourceDiscovery"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?IpamResourceDiscoveryAssociationId=&Action=&Version=#Action=DisassociateIpamResourceDiscovery")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?IpamResourceDiscoveryAssociationId=&Action=&Version=#Action=DisassociateIpamResourceDiscovery")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?IpamResourceDiscoveryAssociationId=&Action=&Version=#Action=DisassociateIpamResourceDiscovery');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateIpamResourceDiscovery',
params: {IpamResourceDiscoveryAssociationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?IpamResourceDiscoveryAssociationId=&Action=&Version=#Action=DisassociateIpamResourceDiscovery';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?IpamResourceDiscoveryAssociationId=&Action=&Version=#Action=DisassociateIpamResourceDiscovery',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?IpamResourceDiscoveryAssociationId=&Action=&Version=#Action=DisassociateIpamResourceDiscovery")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?IpamResourceDiscoveryAssociationId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateIpamResourceDiscovery',
qs: {IpamResourceDiscoveryAssociationId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DisassociateIpamResourceDiscovery');
req.query({
IpamResourceDiscoveryAssociationId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateIpamResourceDiscovery',
params: {IpamResourceDiscoveryAssociationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?IpamResourceDiscoveryAssociationId=&Action=&Version=#Action=DisassociateIpamResourceDiscovery';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?IpamResourceDiscoveryAssociationId=&Action=&Version=#Action=DisassociateIpamResourceDiscovery"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?IpamResourceDiscoveryAssociationId=&Action=&Version=#Action=DisassociateIpamResourceDiscovery" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?IpamResourceDiscoveryAssociationId=&Action=&Version=#Action=DisassociateIpamResourceDiscovery",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?IpamResourceDiscoveryAssociationId=&Action=&Version=#Action=DisassociateIpamResourceDiscovery');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisassociateIpamResourceDiscovery');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'IpamResourceDiscoveryAssociationId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisassociateIpamResourceDiscovery');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'IpamResourceDiscoveryAssociationId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?IpamResourceDiscoveryAssociationId=&Action=&Version=#Action=DisassociateIpamResourceDiscovery' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?IpamResourceDiscoveryAssociationId=&Action=&Version=#Action=DisassociateIpamResourceDiscovery' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?IpamResourceDiscoveryAssociationId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisassociateIpamResourceDiscovery"
querystring = {"IpamResourceDiscoveryAssociationId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisassociateIpamResourceDiscovery"
queryString <- list(
IpamResourceDiscoveryAssociationId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?IpamResourceDiscoveryAssociationId=&Action=&Version=#Action=DisassociateIpamResourceDiscovery")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['IpamResourceDiscoveryAssociationId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisassociateIpamResourceDiscovery";
let querystring = [
("IpamResourceDiscoveryAssociationId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?IpamResourceDiscoveryAssociationId=&Action=&Version=#Action=DisassociateIpamResourceDiscovery'
http GET '{{baseUrl}}/?IpamResourceDiscoveryAssociationId=&Action=&Version=#Action=DisassociateIpamResourceDiscovery'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?IpamResourceDiscoveryAssociationId=&Action=&Version=#Action=DisassociateIpamResourceDiscovery'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?IpamResourceDiscoveryAssociationId=&Action=&Version=#Action=DisassociateIpamResourceDiscovery")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DisassociateNatGatewayAddress
{{baseUrl}}/#Action=DisassociateNatGatewayAddress
QUERY PARAMS
NatGatewayId
AssociationId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?NatGatewayId=&AssociationId=&Action=&Version=#Action=DisassociateNatGatewayAddress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DisassociateNatGatewayAddress" {:query-params {:NatGatewayId ""
:AssociationId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?NatGatewayId=&AssociationId=&Action=&Version=#Action=DisassociateNatGatewayAddress"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?NatGatewayId=&AssociationId=&Action=&Version=#Action=DisassociateNatGatewayAddress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?NatGatewayId=&AssociationId=&Action=&Version=#Action=DisassociateNatGatewayAddress");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?NatGatewayId=&AssociationId=&Action=&Version=#Action=DisassociateNatGatewayAddress"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?NatGatewayId=&AssociationId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?NatGatewayId=&AssociationId=&Action=&Version=#Action=DisassociateNatGatewayAddress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?NatGatewayId=&AssociationId=&Action=&Version=#Action=DisassociateNatGatewayAddress"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?NatGatewayId=&AssociationId=&Action=&Version=#Action=DisassociateNatGatewayAddress")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?NatGatewayId=&AssociationId=&Action=&Version=#Action=DisassociateNatGatewayAddress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?NatGatewayId=&AssociationId=&Action=&Version=#Action=DisassociateNatGatewayAddress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateNatGatewayAddress',
params: {NatGatewayId: '', AssociationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?NatGatewayId=&AssociationId=&Action=&Version=#Action=DisassociateNatGatewayAddress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?NatGatewayId=&AssociationId=&Action=&Version=#Action=DisassociateNatGatewayAddress',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?NatGatewayId=&AssociationId=&Action=&Version=#Action=DisassociateNatGatewayAddress")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?NatGatewayId=&AssociationId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateNatGatewayAddress',
qs: {NatGatewayId: '', AssociationId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DisassociateNatGatewayAddress');
req.query({
NatGatewayId: '',
AssociationId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateNatGatewayAddress',
params: {NatGatewayId: '', AssociationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?NatGatewayId=&AssociationId=&Action=&Version=#Action=DisassociateNatGatewayAddress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?NatGatewayId=&AssociationId=&Action=&Version=#Action=DisassociateNatGatewayAddress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?NatGatewayId=&AssociationId=&Action=&Version=#Action=DisassociateNatGatewayAddress" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?NatGatewayId=&AssociationId=&Action=&Version=#Action=DisassociateNatGatewayAddress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?NatGatewayId=&AssociationId=&Action=&Version=#Action=DisassociateNatGatewayAddress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisassociateNatGatewayAddress');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'NatGatewayId' => '',
'AssociationId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisassociateNatGatewayAddress');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'NatGatewayId' => '',
'AssociationId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?NatGatewayId=&AssociationId=&Action=&Version=#Action=DisassociateNatGatewayAddress' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?NatGatewayId=&AssociationId=&Action=&Version=#Action=DisassociateNatGatewayAddress' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?NatGatewayId=&AssociationId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisassociateNatGatewayAddress"
querystring = {"NatGatewayId":"","AssociationId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisassociateNatGatewayAddress"
queryString <- list(
NatGatewayId = "",
AssociationId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?NatGatewayId=&AssociationId=&Action=&Version=#Action=DisassociateNatGatewayAddress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['NatGatewayId'] = ''
req.params['AssociationId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisassociateNatGatewayAddress";
let querystring = [
("NatGatewayId", ""),
("AssociationId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?NatGatewayId=&AssociationId=&Action=&Version=#Action=DisassociateNatGatewayAddress'
http GET '{{baseUrl}}/?NatGatewayId=&AssociationId=&Action=&Version=#Action=DisassociateNatGatewayAddress'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?NatGatewayId=&AssociationId=&Action=&Version=#Action=DisassociateNatGatewayAddress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?NatGatewayId=&AssociationId=&Action=&Version=#Action=DisassociateNatGatewayAddress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DisassociateRouteTable
{{baseUrl}}/#Action=DisassociateRouteTable
QUERY PARAMS
AssociationId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateRouteTable");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DisassociateRouteTable" {:query-params {:AssociationId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateRouteTable"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateRouteTable"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateRouteTable");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateRouteTable"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?AssociationId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateRouteTable")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateRouteTable"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateRouteTable")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateRouteTable")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateRouteTable');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateRouteTable',
params: {AssociationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateRouteTable';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateRouteTable',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateRouteTable")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?AssociationId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateRouteTable',
qs: {AssociationId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DisassociateRouteTable');
req.query({
AssociationId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateRouteTable',
params: {AssociationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateRouteTable';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateRouteTable"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateRouteTable" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateRouteTable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateRouteTable');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisassociateRouteTable');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'AssociationId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisassociateRouteTable');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'AssociationId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateRouteTable' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateRouteTable' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?AssociationId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisassociateRouteTable"
querystring = {"AssociationId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisassociateRouteTable"
queryString <- list(
AssociationId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateRouteTable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['AssociationId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisassociateRouteTable";
let querystring = [
("AssociationId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateRouteTable'
http GET '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateRouteTable'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateRouteTable'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateRouteTable")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DisassociateSubnetCidrBlock
{{baseUrl}}/#Action=DisassociateSubnetCidrBlock
QUERY PARAMS
AssociationId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateSubnetCidrBlock");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DisassociateSubnetCidrBlock" {:query-params {:AssociationId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateSubnetCidrBlock"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateSubnetCidrBlock"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateSubnetCidrBlock");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateSubnetCidrBlock"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?AssociationId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateSubnetCidrBlock")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateSubnetCidrBlock"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateSubnetCidrBlock")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateSubnetCidrBlock")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateSubnetCidrBlock');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateSubnetCidrBlock',
params: {AssociationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateSubnetCidrBlock';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateSubnetCidrBlock',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateSubnetCidrBlock")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?AssociationId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateSubnetCidrBlock',
qs: {AssociationId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DisassociateSubnetCidrBlock');
req.query({
AssociationId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateSubnetCidrBlock',
params: {AssociationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateSubnetCidrBlock';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateSubnetCidrBlock"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateSubnetCidrBlock" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateSubnetCidrBlock",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateSubnetCidrBlock');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisassociateSubnetCidrBlock');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'AssociationId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisassociateSubnetCidrBlock');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'AssociationId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateSubnetCidrBlock' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateSubnetCidrBlock' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?AssociationId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisassociateSubnetCidrBlock"
querystring = {"AssociationId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisassociateSubnetCidrBlock"
queryString <- list(
AssociationId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateSubnetCidrBlock")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['AssociationId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisassociateSubnetCidrBlock";
let querystring = [
("AssociationId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateSubnetCidrBlock'
http GET '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateSubnetCidrBlock'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateSubnetCidrBlock'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateSubnetCidrBlock")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DisassociateTransitGatewayMulticastDomain
{{baseUrl}}/#Action=DisassociateTransitGatewayMulticastDomain
QUERY PARAMS
TransitGatewayMulticastDomainId
TransitGatewayAttachmentId
SubnetIds
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DisassociateTransitGatewayMulticastDomain" {:query-params {:TransitGatewayMulticastDomainId ""
:TransitGatewayAttachmentId ""
:SubnetIds ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateTransitGatewayMulticastDomain',
params: {
TransitGatewayMulticastDomainId: '',
TransitGatewayAttachmentId: '',
SubnetIds: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateTransitGatewayMulticastDomain',
qs: {
TransitGatewayMulticastDomainId: '',
TransitGatewayAttachmentId: '',
SubnetIds: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DisassociateTransitGatewayMulticastDomain');
req.query({
TransitGatewayMulticastDomainId: '',
TransitGatewayAttachmentId: '',
SubnetIds: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateTransitGatewayMulticastDomain',
params: {
TransitGatewayMulticastDomainId: '',
TransitGatewayAttachmentId: '',
SubnetIds: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisassociateTransitGatewayMulticastDomain');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayMulticastDomainId' => '',
'TransitGatewayAttachmentId' => '',
'SubnetIds' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisassociateTransitGatewayMulticastDomain');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayMulticastDomainId' => '',
'TransitGatewayAttachmentId' => '',
'SubnetIds' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisassociateTransitGatewayMulticastDomain"
querystring = {"TransitGatewayMulticastDomainId":"","TransitGatewayAttachmentId":"","SubnetIds":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisassociateTransitGatewayMulticastDomain"
queryString <- list(
TransitGatewayMulticastDomainId = "",
TransitGatewayAttachmentId = "",
SubnetIds = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayMulticastDomainId'] = ''
req.params['TransitGatewayAttachmentId'] = ''
req.params['SubnetIds'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisassociateTransitGatewayMulticastDomain";
let querystring = [
("TransitGatewayMulticastDomainId", ""),
("TransitGatewayAttachmentId", ""),
("SubnetIds", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain'
http GET '{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayMulticastDomainId=&TransitGatewayAttachmentId=&SubnetIds=&Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DisassociateTransitGatewayPolicyTable
{{baseUrl}}/#Action=DisassociateTransitGatewayPolicyTable
QUERY PARAMS
TransitGatewayPolicyTableId
TransitGatewayAttachmentId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayPolicyTable");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DisassociateTransitGatewayPolicyTable" {:query-params {:TransitGatewayPolicyTableId ""
:TransitGatewayAttachmentId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayPolicyTable"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayPolicyTable"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayPolicyTable");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayPolicyTable"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayPolicyTable")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayPolicyTable"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayPolicyTable")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayPolicyTable")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayPolicyTable');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateTransitGatewayPolicyTable',
params: {
TransitGatewayPolicyTableId: '',
TransitGatewayAttachmentId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayPolicyTable';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayPolicyTable',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayPolicyTable")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateTransitGatewayPolicyTable',
qs: {
TransitGatewayPolicyTableId: '',
TransitGatewayAttachmentId: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DisassociateTransitGatewayPolicyTable');
req.query({
TransitGatewayPolicyTableId: '',
TransitGatewayAttachmentId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateTransitGatewayPolicyTable',
params: {
TransitGatewayPolicyTableId: '',
TransitGatewayAttachmentId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayPolicyTable';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayPolicyTable"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayPolicyTable" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayPolicyTable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayPolicyTable');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisassociateTransitGatewayPolicyTable');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayPolicyTableId' => '',
'TransitGatewayAttachmentId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisassociateTransitGatewayPolicyTable');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayPolicyTableId' => '',
'TransitGatewayAttachmentId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayPolicyTable' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayPolicyTable' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisassociateTransitGatewayPolicyTable"
querystring = {"TransitGatewayPolicyTableId":"","TransitGatewayAttachmentId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisassociateTransitGatewayPolicyTable"
queryString <- list(
TransitGatewayPolicyTableId = "",
TransitGatewayAttachmentId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayPolicyTable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayPolicyTableId'] = ''
req.params['TransitGatewayAttachmentId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisassociateTransitGatewayPolicyTable";
let querystring = [
("TransitGatewayPolicyTableId", ""),
("TransitGatewayAttachmentId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayPolicyTable'
http GET '{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayPolicyTable'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayPolicyTable'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayPolicyTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayPolicyTable")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DisassociateTransitGatewayRouteTable
{{baseUrl}}/#Action=DisassociateTransitGatewayRouteTable
QUERY PARAMS
TransitGatewayRouteTableId
TransitGatewayAttachmentId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayRouteTable");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DisassociateTransitGatewayRouteTable" {:query-params {:TransitGatewayRouteTableId ""
:TransitGatewayAttachmentId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayRouteTable"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayRouteTable"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayRouteTable");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayRouteTable"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayRouteTable")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayRouteTable"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayRouteTable")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayRouteTable")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayRouteTable');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateTransitGatewayRouteTable',
params: {
TransitGatewayRouteTableId: '',
TransitGatewayAttachmentId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayRouteTable';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayRouteTable',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayRouteTable")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateTransitGatewayRouteTable',
qs: {
TransitGatewayRouteTableId: '',
TransitGatewayAttachmentId: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DisassociateTransitGatewayRouteTable');
req.query({
TransitGatewayRouteTableId: '',
TransitGatewayAttachmentId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateTransitGatewayRouteTable',
params: {
TransitGatewayRouteTableId: '',
TransitGatewayAttachmentId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayRouteTable';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayRouteTable"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayRouteTable" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayRouteTable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayRouteTable');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisassociateTransitGatewayRouteTable');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayRouteTableId' => '',
'TransitGatewayAttachmentId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisassociateTransitGatewayRouteTable');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayRouteTableId' => '',
'TransitGatewayAttachmentId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayRouteTable' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayRouteTable' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisassociateTransitGatewayRouteTable"
querystring = {"TransitGatewayRouteTableId":"","TransitGatewayAttachmentId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisassociateTransitGatewayRouteTable"
queryString <- list(
TransitGatewayRouteTableId = "",
TransitGatewayAttachmentId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayRouteTable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayRouteTableId'] = ''
req.params['TransitGatewayAttachmentId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisassociateTransitGatewayRouteTable";
let querystring = [
("TransitGatewayRouteTableId", ""),
("TransitGatewayAttachmentId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayRouteTable'
http GET '{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayRouteTable'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayRouteTable'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayRouteTableId=&TransitGatewayAttachmentId=&Action=&Version=#Action=DisassociateTransitGatewayRouteTable")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DisassociateTrunkInterface
{{baseUrl}}/#Action=DisassociateTrunkInterface
QUERY PARAMS
AssociationId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateTrunkInterface");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DisassociateTrunkInterface" {:query-params {:AssociationId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateTrunkInterface"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateTrunkInterface"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateTrunkInterface");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateTrunkInterface"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?AssociationId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateTrunkInterface")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateTrunkInterface"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateTrunkInterface")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateTrunkInterface")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateTrunkInterface');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateTrunkInterface',
params: {AssociationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateTrunkInterface';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateTrunkInterface',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateTrunkInterface")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?AssociationId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateTrunkInterface',
qs: {AssociationId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DisassociateTrunkInterface');
req.query({
AssociationId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateTrunkInterface',
params: {AssociationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateTrunkInterface';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateTrunkInterface"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateTrunkInterface" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateTrunkInterface",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateTrunkInterface');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisassociateTrunkInterface');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'AssociationId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisassociateTrunkInterface');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'AssociationId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateTrunkInterface' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateTrunkInterface' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?AssociationId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisassociateTrunkInterface"
querystring = {"AssociationId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisassociateTrunkInterface"
queryString <- list(
AssociationId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateTrunkInterface")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['AssociationId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisassociateTrunkInterface";
let querystring = [
("AssociationId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateTrunkInterface'
http GET '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateTrunkInterface'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateTrunkInterface'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateTrunkInterface")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_DisassociateVpcCidrBlock
{{baseUrl}}/#Action=DisassociateVpcCidrBlock
QUERY PARAMS
AssociationId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateVpcCidrBlock");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=DisassociateVpcCidrBlock" {:query-params {:AssociationId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateVpcCidrBlock"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateVpcCidrBlock"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateVpcCidrBlock");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateVpcCidrBlock"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?AssociationId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateVpcCidrBlock")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateVpcCidrBlock"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateVpcCidrBlock")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateVpcCidrBlock")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateVpcCidrBlock');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateVpcCidrBlock',
params: {AssociationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateVpcCidrBlock';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateVpcCidrBlock',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateVpcCidrBlock")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?AssociationId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateVpcCidrBlock',
qs: {AssociationId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=DisassociateVpcCidrBlock');
req.query({
AssociationId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=DisassociateVpcCidrBlock',
params: {AssociationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateVpcCidrBlock';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateVpcCidrBlock"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateVpcCidrBlock" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateVpcCidrBlock",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateVpcCidrBlock');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisassociateVpcCidrBlock');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'AssociationId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisassociateVpcCidrBlock');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'AssociationId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateVpcCidrBlock' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateVpcCidrBlock' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?AssociationId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisassociateVpcCidrBlock"
querystring = {"AssociationId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisassociateVpcCidrBlock"
queryString <- list(
AssociationId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateVpcCidrBlock")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['AssociationId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisassociateVpcCidrBlock";
let querystring = [
("AssociationId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateVpcCidrBlock'
http GET '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateVpcCidrBlock'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateVpcCidrBlock'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?AssociationId=&Action=&Version=#Action=DisassociateVpcCidrBlock")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_EnableAddressTransfer
{{baseUrl}}/#Action=EnableAddressTransfer
QUERY PARAMS
AllocationId
TransferAccountId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?AllocationId=&TransferAccountId=&Action=&Version=#Action=EnableAddressTransfer");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=EnableAddressTransfer" {:query-params {:AllocationId ""
:TransferAccountId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?AllocationId=&TransferAccountId=&Action=&Version=#Action=EnableAddressTransfer"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?AllocationId=&TransferAccountId=&Action=&Version=#Action=EnableAddressTransfer"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?AllocationId=&TransferAccountId=&Action=&Version=#Action=EnableAddressTransfer");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?AllocationId=&TransferAccountId=&Action=&Version=#Action=EnableAddressTransfer"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?AllocationId=&TransferAccountId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?AllocationId=&TransferAccountId=&Action=&Version=#Action=EnableAddressTransfer")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?AllocationId=&TransferAccountId=&Action=&Version=#Action=EnableAddressTransfer"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?AllocationId=&TransferAccountId=&Action=&Version=#Action=EnableAddressTransfer")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?AllocationId=&TransferAccountId=&Action=&Version=#Action=EnableAddressTransfer")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?AllocationId=&TransferAccountId=&Action=&Version=#Action=EnableAddressTransfer');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableAddressTransfer',
params: {AllocationId: '', TransferAccountId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?AllocationId=&TransferAccountId=&Action=&Version=#Action=EnableAddressTransfer';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?AllocationId=&TransferAccountId=&Action=&Version=#Action=EnableAddressTransfer',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?AllocationId=&TransferAccountId=&Action=&Version=#Action=EnableAddressTransfer")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?AllocationId=&TransferAccountId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableAddressTransfer',
qs: {AllocationId: '', TransferAccountId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=EnableAddressTransfer');
req.query({
AllocationId: '',
TransferAccountId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableAddressTransfer',
params: {AllocationId: '', TransferAccountId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?AllocationId=&TransferAccountId=&Action=&Version=#Action=EnableAddressTransfer';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?AllocationId=&TransferAccountId=&Action=&Version=#Action=EnableAddressTransfer"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?AllocationId=&TransferAccountId=&Action=&Version=#Action=EnableAddressTransfer" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?AllocationId=&TransferAccountId=&Action=&Version=#Action=EnableAddressTransfer",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?AllocationId=&TransferAccountId=&Action=&Version=#Action=EnableAddressTransfer');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=EnableAddressTransfer');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'AllocationId' => '',
'TransferAccountId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=EnableAddressTransfer');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'AllocationId' => '',
'TransferAccountId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?AllocationId=&TransferAccountId=&Action=&Version=#Action=EnableAddressTransfer' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?AllocationId=&TransferAccountId=&Action=&Version=#Action=EnableAddressTransfer' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?AllocationId=&TransferAccountId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=EnableAddressTransfer"
querystring = {"AllocationId":"","TransferAccountId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=EnableAddressTransfer"
queryString <- list(
AllocationId = "",
TransferAccountId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?AllocationId=&TransferAccountId=&Action=&Version=#Action=EnableAddressTransfer")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['AllocationId'] = ''
req.params['TransferAccountId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=EnableAddressTransfer";
let querystring = [
("AllocationId", ""),
("TransferAccountId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?AllocationId=&TransferAccountId=&Action=&Version=#Action=EnableAddressTransfer'
http GET '{{baseUrl}}/?AllocationId=&TransferAccountId=&Action=&Version=#Action=EnableAddressTransfer'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?AllocationId=&TransferAccountId=&Action=&Version=#Action=EnableAddressTransfer'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?AllocationId=&TransferAccountId=&Action=&Version=#Action=EnableAddressTransfer")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_EnableAwsNetworkPerformanceMetricSubscription
{{baseUrl}}/#Action=EnableAwsNetworkPerformanceMetricSubscription
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=EnableAwsNetworkPerformanceMetricSubscription" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableAwsNetworkPerformanceMetricSubscription',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableAwsNetworkPerformanceMetricSubscription',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=EnableAwsNetworkPerformanceMetricSubscription');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableAwsNetworkPerformanceMetricSubscription',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=EnableAwsNetworkPerformanceMetricSubscription');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=EnableAwsNetworkPerformanceMetricSubscription');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=EnableAwsNetworkPerformanceMetricSubscription"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=EnableAwsNetworkPerformanceMetricSubscription"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=EnableAwsNetworkPerformanceMetricSubscription";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription'
http GET '{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_EnableEbsEncryptionByDefault
{{baseUrl}}/#Action=EnableEbsEncryptionByDefault
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=EnableEbsEncryptionByDefault" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableEbsEncryptionByDefault',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableEbsEncryptionByDefault',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=EnableEbsEncryptionByDefault');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableEbsEncryptionByDefault',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=EnableEbsEncryptionByDefault');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=EnableEbsEncryptionByDefault');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=EnableEbsEncryptionByDefault"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=EnableEbsEncryptionByDefault"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=EnableEbsEncryptionByDefault";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault'
http GET '{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_EnableFastLaunch
{{baseUrl}}/#Action=EnableFastLaunch
QUERY PARAMS
ImageId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ImageId=&Action=&Version=#Action=EnableFastLaunch");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=EnableFastLaunch" {:query-params {:ImageId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ImageId=&Action=&Version=#Action=EnableFastLaunch"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ImageId=&Action=&Version=#Action=EnableFastLaunch"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ImageId=&Action=&Version=#Action=EnableFastLaunch");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ImageId=&Action=&Version=#Action=EnableFastLaunch"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ImageId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ImageId=&Action=&Version=#Action=EnableFastLaunch")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ImageId=&Action=&Version=#Action=EnableFastLaunch"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ImageId=&Action=&Version=#Action=EnableFastLaunch")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ImageId=&Action=&Version=#Action=EnableFastLaunch")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ImageId=&Action=&Version=#Action=EnableFastLaunch');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableFastLaunch',
params: {ImageId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ImageId=&Action=&Version=#Action=EnableFastLaunch';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ImageId=&Action=&Version=#Action=EnableFastLaunch',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ImageId=&Action=&Version=#Action=EnableFastLaunch")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ImageId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableFastLaunch',
qs: {ImageId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=EnableFastLaunch');
req.query({
ImageId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableFastLaunch',
params: {ImageId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ImageId=&Action=&Version=#Action=EnableFastLaunch';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ImageId=&Action=&Version=#Action=EnableFastLaunch"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ImageId=&Action=&Version=#Action=EnableFastLaunch" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ImageId=&Action=&Version=#Action=EnableFastLaunch",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ImageId=&Action=&Version=#Action=EnableFastLaunch');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=EnableFastLaunch');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ImageId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=EnableFastLaunch');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ImageId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ImageId=&Action=&Version=#Action=EnableFastLaunch' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ImageId=&Action=&Version=#Action=EnableFastLaunch' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ImageId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=EnableFastLaunch"
querystring = {"ImageId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=EnableFastLaunch"
queryString <- list(
ImageId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ImageId=&Action=&Version=#Action=EnableFastLaunch")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ImageId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=EnableFastLaunch";
let querystring = [
("ImageId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ImageId=&Action=&Version=#Action=EnableFastLaunch'
http GET '{{baseUrl}}/?ImageId=&Action=&Version=#Action=EnableFastLaunch'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ImageId=&Action=&Version=#Action=EnableFastLaunch'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ImageId=&Action=&Version=#Action=EnableFastLaunch")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_EnableFastSnapshotRestores
{{baseUrl}}/#Action=EnableFastSnapshotRestores
QUERY PARAMS
AvailabilityZone
SourceSnapshotId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=EnableFastSnapshotRestores");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=EnableFastSnapshotRestores" {:query-params {:AvailabilityZone ""
:SourceSnapshotId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=EnableFastSnapshotRestores"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=EnableFastSnapshotRestores"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=EnableFastSnapshotRestores");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=EnableFastSnapshotRestores"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?AvailabilityZone=&SourceSnapshotId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=EnableFastSnapshotRestores")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=EnableFastSnapshotRestores"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=EnableFastSnapshotRestores")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=EnableFastSnapshotRestores")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=EnableFastSnapshotRestores');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableFastSnapshotRestores',
params: {AvailabilityZone: '', SourceSnapshotId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=EnableFastSnapshotRestores';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=EnableFastSnapshotRestores',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=EnableFastSnapshotRestores")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableFastSnapshotRestores',
qs: {AvailabilityZone: '', SourceSnapshotId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=EnableFastSnapshotRestores');
req.query({
AvailabilityZone: '',
SourceSnapshotId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableFastSnapshotRestores',
params: {AvailabilityZone: '', SourceSnapshotId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=EnableFastSnapshotRestores';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=EnableFastSnapshotRestores"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=EnableFastSnapshotRestores" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=EnableFastSnapshotRestores",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=EnableFastSnapshotRestores');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=EnableFastSnapshotRestores');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'AvailabilityZone' => '',
'SourceSnapshotId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=EnableFastSnapshotRestores');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'AvailabilityZone' => '',
'SourceSnapshotId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=EnableFastSnapshotRestores' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=EnableFastSnapshotRestores' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=EnableFastSnapshotRestores"
querystring = {"AvailabilityZone":"","SourceSnapshotId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=EnableFastSnapshotRestores"
queryString <- list(
AvailabilityZone = "",
SourceSnapshotId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=EnableFastSnapshotRestores")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['AvailabilityZone'] = ''
req.params['SourceSnapshotId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=EnableFastSnapshotRestores";
let querystring = [
("AvailabilityZone", ""),
("SourceSnapshotId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=EnableFastSnapshotRestores'
http GET '{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=EnableFastSnapshotRestores'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=EnableFastSnapshotRestores'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?AvailabilityZone=&SourceSnapshotId=&Action=&Version=#Action=EnableFastSnapshotRestores")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_EnableImageDeprecation
{{baseUrl}}/#Action=EnableImageDeprecation
QUERY PARAMS
ImageId
DeprecateAt
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ImageId=&DeprecateAt=&Action=&Version=#Action=EnableImageDeprecation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=EnableImageDeprecation" {:query-params {:ImageId ""
:DeprecateAt ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ImageId=&DeprecateAt=&Action=&Version=#Action=EnableImageDeprecation"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ImageId=&DeprecateAt=&Action=&Version=#Action=EnableImageDeprecation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ImageId=&DeprecateAt=&Action=&Version=#Action=EnableImageDeprecation");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ImageId=&DeprecateAt=&Action=&Version=#Action=EnableImageDeprecation"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ImageId=&DeprecateAt=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ImageId=&DeprecateAt=&Action=&Version=#Action=EnableImageDeprecation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ImageId=&DeprecateAt=&Action=&Version=#Action=EnableImageDeprecation"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ImageId=&DeprecateAt=&Action=&Version=#Action=EnableImageDeprecation")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ImageId=&DeprecateAt=&Action=&Version=#Action=EnableImageDeprecation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ImageId=&DeprecateAt=&Action=&Version=#Action=EnableImageDeprecation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableImageDeprecation',
params: {ImageId: '', DeprecateAt: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ImageId=&DeprecateAt=&Action=&Version=#Action=EnableImageDeprecation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ImageId=&DeprecateAt=&Action=&Version=#Action=EnableImageDeprecation',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ImageId=&DeprecateAt=&Action=&Version=#Action=EnableImageDeprecation")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ImageId=&DeprecateAt=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableImageDeprecation',
qs: {ImageId: '', DeprecateAt: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=EnableImageDeprecation');
req.query({
ImageId: '',
DeprecateAt: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableImageDeprecation',
params: {ImageId: '', DeprecateAt: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ImageId=&DeprecateAt=&Action=&Version=#Action=EnableImageDeprecation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ImageId=&DeprecateAt=&Action=&Version=#Action=EnableImageDeprecation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ImageId=&DeprecateAt=&Action=&Version=#Action=EnableImageDeprecation" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ImageId=&DeprecateAt=&Action=&Version=#Action=EnableImageDeprecation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ImageId=&DeprecateAt=&Action=&Version=#Action=EnableImageDeprecation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=EnableImageDeprecation');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ImageId' => '',
'DeprecateAt' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=EnableImageDeprecation');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ImageId' => '',
'DeprecateAt' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ImageId=&DeprecateAt=&Action=&Version=#Action=EnableImageDeprecation' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ImageId=&DeprecateAt=&Action=&Version=#Action=EnableImageDeprecation' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ImageId=&DeprecateAt=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=EnableImageDeprecation"
querystring = {"ImageId":"","DeprecateAt":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=EnableImageDeprecation"
queryString <- list(
ImageId = "",
DeprecateAt = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ImageId=&DeprecateAt=&Action=&Version=#Action=EnableImageDeprecation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ImageId'] = ''
req.params['DeprecateAt'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=EnableImageDeprecation";
let querystring = [
("ImageId", ""),
("DeprecateAt", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ImageId=&DeprecateAt=&Action=&Version=#Action=EnableImageDeprecation'
http GET '{{baseUrl}}/?ImageId=&DeprecateAt=&Action=&Version=#Action=EnableImageDeprecation'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ImageId=&DeprecateAt=&Action=&Version=#Action=EnableImageDeprecation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ImageId=&DeprecateAt=&Action=&Version=#Action=EnableImageDeprecation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_EnableIpamOrganizationAdminAccount
{{baseUrl}}/#Action=EnableIpamOrganizationAdminAccount
QUERY PARAMS
DelegatedAdminAccountId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=EnableIpamOrganizationAdminAccount");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=EnableIpamOrganizationAdminAccount" {:query-params {:DelegatedAdminAccountId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=EnableIpamOrganizationAdminAccount"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=EnableIpamOrganizationAdminAccount"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=EnableIpamOrganizationAdminAccount");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=EnableIpamOrganizationAdminAccount"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?DelegatedAdminAccountId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=EnableIpamOrganizationAdminAccount")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=EnableIpamOrganizationAdminAccount"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=EnableIpamOrganizationAdminAccount")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=EnableIpamOrganizationAdminAccount")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=EnableIpamOrganizationAdminAccount');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableIpamOrganizationAdminAccount',
params: {DelegatedAdminAccountId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=EnableIpamOrganizationAdminAccount';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=EnableIpamOrganizationAdminAccount',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=EnableIpamOrganizationAdminAccount")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?DelegatedAdminAccountId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableIpamOrganizationAdminAccount',
qs: {DelegatedAdminAccountId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=EnableIpamOrganizationAdminAccount');
req.query({
DelegatedAdminAccountId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableIpamOrganizationAdminAccount',
params: {DelegatedAdminAccountId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=EnableIpamOrganizationAdminAccount';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=EnableIpamOrganizationAdminAccount"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=EnableIpamOrganizationAdminAccount" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=EnableIpamOrganizationAdminAccount",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=EnableIpamOrganizationAdminAccount');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=EnableIpamOrganizationAdminAccount');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'DelegatedAdminAccountId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=EnableIpamOrganizationAdminAccount');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'DelegatedAdminAccountId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=EnableIpamOrganizationAdminAccount' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=EnableIpamOrganizationAdminAccount' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?DelegatedAdminAccountId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=EnableIpamOrganizationAdminAccount"
querystring = {"DelegatedAdminAccountId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=EnableIpamOrganizationAdminAccount"
queryString <- list(
DelegatedAdminAccountId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=EnableIpamOrganizationAdminAccount")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['DelegatedAdminAccountId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=EnableIpamOrganizationAdminAccount";
let querystring = [
("DelegatedAdminAccountId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=EnableIpamOrganizationAdminAccount'
http GET '{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=EnableIpamOrganizationAdminAccount'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=EnableIpamOrganizationAdminAccount'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?DelegatedAdminAccountId=&Action=&Version=#Action=EnableIpamOrganizationAdminAccount")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_EnableReachabilityAnalyzerOrganizationSharing
{{baseUrl}}/#Action=EnableReachabilityAnalyzerOrganizationSharing
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=EnableReachabilityAnalyzerOrganizationSharing" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableReachabilityAnalyzerOrganizationSharing',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableReachabilityAnalyzerOrganizationSharing',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=EnableReachabilityAnalyzerOrganizationSharing');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableReachabilityAnalyzerOrganizationSharing',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=EnableReachabilityAnalyzerOrganizationSharing');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=EnableReachabilityAnalyzerOrganizationSharing');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=EnableReachabilityAnalyzerOrganizationSharing"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=EnableReachabilityAnalyzerOrganizationSharing"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=EnableReachabilityAnalyzerOrganizationSharing";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing'
http GET '{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_EnableSerialConsoleAccess
{{baseUrl}}/#Action=EnableSerialConsoleAccess
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=EnableSerialConsoleAccess" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableSerialConsoleAccess',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableSerialConsoleAccess',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=EnableSerialConsoleAccess');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableSerialConsoleAccess',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=EnableSerialConsoleAccess');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=EnableSerialConsoleAccess');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=EnableSerialConsoleAccess"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=EnableSerialConsoleAccess"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=EnableSerialConsoleAccess";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess'
http GET '{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_EnableTransitGatewayRouteTablePropagation
{{baseUrl}}/#Action=EnableTransitGatewayRouteTablePropagation
QUERY PARAMS
TransitGatewayRouteTableId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=EnableTransitGatewayRouteTablePropagation" {:query-params {:TransitGatewayRouteTableId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayRouteTableId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableTransitGatewayRouteTablePropagation',
params: {TransitGatewayRouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayRouteTableId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableTransitGatewayRouteTablePropagation',
qs: {TransitGatewayRouteTableId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=EnableTransitGatewayRouteTablePropagation');
req.query({
TransitGatewayRouteTableId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableTransitGatewayRouteTablePropagation',
params: {TransitGatewayRouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=EnableTransitGatewayRouteTablePropagation');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayRouteTableId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=EnableTransitGatewayRouteTablePropagation');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayRouteTableId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayRouteTableId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=EnableTransitGatewayRouteTablePropagation"
querystring = {"TransitGatewayRouteTableId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=EnableTransitGatewayRouteTablePropagation"
queryString <- list(
TransitGatewayRouteTableId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayRouteTableId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=EnableTransitGatewayRouteTablePropagation";
let querystring = [
("TransitGatewayRouteTableId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation'
http GET '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_EnableVgwRoutePropagation
{{baseUrl}}/#Action=EnableVgwRoutePropagation
QUERY PARAMS
GatewayId
RouteTableId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=EnableVgwRoutePropagation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=EnableVgwRoutePropagation" {:query-params {:GatewayId ""
:RouteTableId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=EnableVgwRoutePropagation"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=EnableVgwRoutePropagation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=EnableVgwRoutePropagation");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=EnableVgwRoutePropagation"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?GatewayId=&RouteTableId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=EnableVgwRoutePropagation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=EnableVgwRoutePropagation"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=EnableVgwRoutePropagation")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=EnableVgwRoutePropagation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=EnableVgwRoutePropagation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableVgwRoutePropagation',
params: {GatewayId: '', RouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=EnableVgwRoutePropagation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=EnableVgwRoutePropagation',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=EnableVgwRoutePropagation")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?GatewayId=&RouteTableId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableVgwRoutePropagation',
qs: {GatewayId: '', RouteTableId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=EnableVgwRoutePropagation');
req.query({
GatewayId: '',
RouteTableId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableVgwRoutePropagation',
params: {GatewayId: '', RouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=EnableVgwRoutePropagation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=EnableVgwRoutePropagation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=EnableVgwRoutePropagation" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=EnableVgwRoutePropagation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=EnableVgwRoutePropagation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=EnableVgwRoutePropagation');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'GatewayId' => '',
'RouteTableId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=EnableVgwRoutePropagation');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'GatewayId' => '',
'RouteTableId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=EnableVgwRoutePropagation' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=EnableVgwRoutePropagation' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?GatewayId=&RouteTableId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=EnableVgwRoutePropagation"
querystring = {"GatewayId":"","RouteTableId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=EnableVgwRoutePropagation"
queryString <- list(
GatewayId = "",
RouteTableId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=EnableVgwRoutePropagation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['GatewayId'] = ''
req.params['RouteTableId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=EnableVgwRoutePropagation";
let querystring = [
("GatewayId", ""),
("RouteTableId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=EnableVgwRoutePropagation'
http GET '{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=EnableVgwRoutePropagation'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=EnableVgwRoutePropagation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?GatewayId=&RouteTableId=&Action=&Version=#Action=EnableVgwRoutePropagation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_EnableVolumeIO
{{baseUrl}}/#Action=EnableVolumeIO
QUERY PARAMS
VolumeId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=EnableVolumeIO");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=EnableVolumeIO" {:query-params {:VolumeId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=EnableVolumeIO"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=EnableVolumeIO"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=EnableVolumeIO");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=EnableVolumeIO"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VolumeId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=EnableVolumeIO")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=EnableVolumeIO"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=EnableVolumeIO")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=EnableVolumeIO")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=EnableVolumeIO');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableVolumeIO',
params: {VolumeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=EnableVolumeIO';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=EnableVolumeIO',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=EnableVolumeIO")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VolumeId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableVolumeIO',
qs: {VolumeId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=EnableVolumeIO');
req.query({
VolumeId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableVolumeIO',
params: {VolumeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=EnableVolumeIO';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VolumeId=&Action=&Version=#Action=EnableVolumeIO"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=EnableVolumeIO" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VolumeId=&Action=&Version=#Action=EnableVolumeIO",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=EnableVolumeIO');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=EnableVolumeIO');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VolumeId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=EnableVolumeIO');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VolumeId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=EnableVolumeIO' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=EnableVolumeIO' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VolumeId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=EnableVolumeIO"
querystring = {"VolumeId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=EnableVolumeIO"
queryString <- list(
VolumeId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=EnableVolumeIO")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VolumeId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=EnableVolumeIO";
let querystring = [
("VolumeId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=EnableVolumeIO'
http GET '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=EnableVolumeIO'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=EnableVolumeIO'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=EnableVolumeIO")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_EnableVpcClassicLink
{{baseUrl}}/#Action=EnableVpcClassicLink
QUERY PARAMS
VpcId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpcId=&Action=&Version=#Action=EnableVpcClassicLink");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=EnableVpcClassicLink" {:query-params {:VpcId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpcId=&Action=&Version=#Action=EnableVpcClassicLink"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpcId=&Action=&Version=#Action=EnableVpcClassicLink"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpcId=&Action=&Version=#Action=EnableVpcClassicLink");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpcId=&Action=&Version=#Action=EnableVpcClassicLink"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpcId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpcId=&Action=&Version=#Action=EnableVpcClassicLink")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpcId=&Action=&Version=#Action=EnableVpcClassicLink"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpcId=&Action=&Version=#Action=EnableVpcClassicLink")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpcId=&Action=&Version=#Action=EnableVpcClassicLink")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpcId=&Action=&Version=#Action=EnableVpcClassicLink');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableVpcClassicLink',
params: {VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpcId=&Action=&Version=#Action=EnableVpcClassicLink';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpcId=&Action=&Version=#Action=EnableVpcClassicLink',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpcId=&Action=&Version=#Action=EnableVpcClassicLink")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpcId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableVpcClassicLink',
qs: {VpcId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=EnableVpcClassicLink');
req.query({
VpcId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableVpcClassicLink',
params: {VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpcId=&Action=&Version=#Action=EnableVpcClassicLink';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpcId=&Action=&Version=#Action=EnableVpcClassicLink"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpcId=&Action=&Version=#Action=EnableVpcClassicLink" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpcId=&Action=&Version=#Action=EnableVpcClassicLink",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpcId=&Action=&Version=#Action=EnableVpcClassicLink');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=EnableVpcClassicLink');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpcId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=EnableVpcClassicLink');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpcId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpcId=&Action=&Version=#Action=EnableVpcClassicLink' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpcId=&Action=&Version=#Action=EnableVpcClassicLink' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpcId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=EnableVpcClassicLink"
querystring = {"VpcId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=EnableVpcClassicLink"
queryString <- list(
VpcId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpcId=&Action=&Version=#Action=EnableVpcClassicLink")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpcId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=EnableVpcClassicLink";
let querystring = [
("VpcId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpcId=&Action=&Version=#Action=EnableVpcClassicLink'
http GET '{{baseUrl}}/?VpcId=&Action=&Version=#Action=EnableVpcClassicLink'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpcId=&Action=&Version=#Action=EnableVpcClassicLink'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpcId=&Action=&Version=#Action=EnableVpcClassicLink")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_EnableVpcClassicLinkDnsSupport
{{baseUrl}}/#Action=EnableVpcClassicLinkDnsSupport
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=EnableVpcClassicLinkDnsSupport" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableVpcClassicLinkDnsSupport',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableVpcClassicLinkDnsSupport',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=EnableVpcClassicLinkDnsSupport');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=EnableVpcClassicLinkDnsSupport',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=EnableVpcClassicLinkDnsSupport');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=EnableVpcClassicLinkDnsSupport');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=EnableVpcClassicLinkDnsSupport"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=EnableVpcClassicLinkDnsSupport"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=EnableVpcClassicLinkDnsSupport";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport'
http GET '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ExportClientVpnClientCertificateRevocationList
{{baseUrl}}/#Action=ExportClientVpnClientCertificateRevocationList
QUERY PARAMS
ClientVpnEndpointId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ExportClientVpnClientCertificateRevocationList" {:query-params {:ClientVpnEndpointId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ClientVpnEndpointId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ExportClientVpnClientCertificateRevocationList',
params: {ClientVpnEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ClientVpnEndpointId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ExportClientVpnClientCertificateRevocationList',
qs: {ClientVpnEndpointId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ExportClientVpnClientCertificateRevocationList');
req.query({
ClientVpnEndpointId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ExportClientVpnClientCertificateRevocationList',
params: {ClientVpnEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ExportClientVpnClientCertificateRevocationList');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ClientVpnEndpointId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ExportClientVpnClientCertificateRevocationList');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ClientVpnEndpointId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ClientVpnEndpointId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ExportClientVpnClientCertificateRevocationList"
querystring = {"ClientVpnEndpointId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ExportClientVpnClientCertificateRevocationList"
queryString <- list(
ClientVpnEndpointId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ClientVpnEndpointId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ExportClientVpnClientCertificateRevocationList";
let querystring = [
("ClientVpnEndpointId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList'
http GET '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ExportClientVpnClientConfiguration
{{baseUrl}}/#Action=ExportClientVpnClientConfiguration
QUERY PARAMS
ClientVpnEndpointId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientConfiguration");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ExportClientVpnClientConfiguration" {:query-params {:ClientVpnEndpointId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientConfiguration"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientConfiguration"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientConfiguration");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientConfiguration"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ClientVpnEndpointId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientConfiguration")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientConfiguration"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientConfiguration")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientConfiguration")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientConfiguration');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ExportClientVpnClientConfiguration',
params: {ClientVpnEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientConfiguration';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientConfiguration',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientConfiguration")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ClientVpnEndpointId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ExportClientVpnClientConfiguration',
qs: {ClientVpnEndpointId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ExportClientVpnClientConfiguration');
req.query({
ClientVpnEndpointId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ExportClientVpnClientConfiguration',
params: {ClientVpnEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientConfiguration';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientConfiguration"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientConfiguration" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientConfiguration",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientConfiguration');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ExportClientVpnClientConfiguration');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ClientVpnEndpointId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ExportClientVpnClientConfiguration');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ClientVpnEndpointId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientConfiguration' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientConfiguration' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ClientVpnEndpointId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ExportClientVpnClientConfiguration"
querystring = {"ClientVpnEndpointId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ExportClientVpnClientConfiguration"
queryString <- list(
ClientVpnEndpointId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientConfiguration")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ClientVpnEndpointId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ExportClientVpnClientConfiguration";
let querystring = [
("ClientVpnEndpointId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientConfiguration'
http GET '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientConfiguration'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientConfiguration'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ExportClientVpnClientConfiguration")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ExportImage
{{baseUrl}}/#Action=ExportImage
QUERY PARAMS
DiskImageFormat
ImageId
S3ExportLocation
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?DiskImageFormat=&ImageId=&S3ExportLocation=&Action=&Version=#Action=ExportImage");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ExportImage" {:query-params {:DiskImageFormat ""
:ImageId ""
:S3ExportLocation ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?DiskImageFormat=&ImageId=&S3ExportLocation=&Action=&Version=#Action=ExportImage"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?DiskImageFormat=&ImageId=&S3ExportLocation=&Action=&Version=#Action=ExportImage"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?DiskImageFormat=&ImageId=&S3ExportLocation=&Action=&Version=#Action=ExportImage");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?DiskImageFormat=&ImageId=&S3ExportLocation=&Action=&Version=#Action=ExportImage"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?DiskImageFormat=&ImageId=&S3ExportLocation=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?DiskImageFormat=&ImageId=&S3ExportLocation=&Action=&Version=#Action=ExportImage")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?DiskImageFormat=&ImageId=&S3ExportLocation=&Action=&Version=#Action=ExportImage"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?DiskImageFormat=&ImageId=&S3ExportLocation=&Action=&Version=#Action=ExportImage")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?DiskImageFormat=&ImageId=&S3ExportLocation=&Action=&Version=#Action=ExportImage")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?DiskImageFormat=&ImageId=&S3ExportLocation=&Action=&Version=#Action=ExportImage');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ExportImage',
params: {
DiskImageFormat: '',
ImageId: '',
S3ExportLocation: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?DiskImageFormat=&ImageId=&S3ExportLocation=&Action=&Version=#Action=ExportImage';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?DiskImageFormat=&ImageId=&S3ExportLocation=&Action=&Version=#Action=ExportImage',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?DiskImageFormat=&ImageId=&S3ExportLocation=&Action=&Version=#Action=ExportImage")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?DiskImageFormat=&ImageId=&S3ExportLocation=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ExportImage',
qs: {
DiskImageFormat: '',
ImageId: '',
S3ExportLocation: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ExportImage');
req.query({
DiskImageFormat: '',
ImageId: '',
S3ExportLocation: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ExportImage',
params: {
DiskImageFormat: '',
ImageId: '',
S3ExportLocation: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?DiskImageFormat=&ImageId=&S3ExportLocation=&Action=&Version=#Action=ExportImage';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?DiskImageFormat=&ImageId=&S3ExportLocation=&Action=&Version=#Action=ExportImage"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?DiskImageFormat=&ImageId=&S3ExportLocation=&Action=&Version=#Action=ExportImage" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?DiskImageFormat=&ImageId=&S3ExportLocation=&Action=&Version=#Action=ExportImage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?DiskImageFormat=&ImageId=&S3ExportLocation=&Action=&Version=#Action=ExportImage');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ExportImage');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'DiskImageFormat' => '',
'ImageId' => '',
'S3ExportLocation' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ExportImage');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'DiskImageFormat' => '',
'ImageId' => '',
'S3ExportLocation' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?DiskImageFormat=&ImageId=&S3ExportLocation=&Action=&Version=#Action=ExportImage' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?DiskImageFormat=&ImageId=&S3ExportLocation=&Action=&Version=#Action=ExportImage' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?DiskImageFormat=&ImageId=&S3ExportLocation=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ExportImage"
querystring = {"DiskImageFormat":"","ImageId":"","S3ExportLocation":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ExportImage"
queryString <- list(
DiskImageFormat = "",
ImageId = "",
S3ExportLocation = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?DiskImageFormat=&ImageId=&S3ExportLocation=&Action=&Version=#Action=ExportImage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['DiskImageFormat'] = ''
req.params['ImageId'] = ''
req.params['S3ExportLocation'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ExportImage";
let querystring = [
("DiskImageFormat", ""),
("ImageId", ""),
("S3ExportLocation", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?DiskImageFormat=&ImageId=&S3ExportLocation=&Action=&Version=#Action=ExportImage'
http GET '{{baseUrl}}/?DiskImageFormat=&ImageId=&S3ExportLocation=&Action=&Version=#Action=ExportImage'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?DiskImageFormat=&ImageId=&S3ExportLocation=&Action=&Version=#Action=ExportImage'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?DiskImageFormat=&ImageId=&S3ExportLocation=&Action=&Version=#Action=ExportImage")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ExportTransitGatewayRoutes
{{baseUrl}}/#Action=ExportTransitGatewayRoutes
QUERY PARAMS
TransitGatewayRouteTableId
S3Bucket
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayRouteTableId=&S3Bucket=&Action=&Version=#Action=ExportTransitGatewayRoutes");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ExportTransitGatewayRoutes" {:query-params {:TransitGatewayRouteTableId ""
:S3Bucket ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayRouteTableId=&S3Bucket=&Action=&Version=#Action=ExportTransitGatewayRoutes"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayRouteTableId=&S3Bucket=&Action=&Version=#Action=ExportTransitGatewayRoutes"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayRouteTableId=&S3Bucket=&Action=&Version=#Action=ExportTransitGatewayRoutes");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayRouteTableId=&S3Bucket=&Action=&Version=#Action=ExportTransitGatewayRoutes"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayRouteTableId=&S3Bucket=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayRouteTableId=&S3Bucket=&Action=&Version=#Action=ExportTransitGatewayRoutes")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayRouteTableId=&S3Bucket=&Action=&Version=#Action=ExportTransitGatewayRoutes"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&S3Bucket=&Action=&Version=#Action=ExportTransitGatewayRoutes")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayRouteTableId=&S3Bucket=&Action=&Version=#Action=ExportTransitGatewayRoutes")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&S3Bucket=&Action=&Version=#Action=ExportTransitGatewayRoutes');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ExportTransitGatewayRoutes',
params: {TransitGatewayRouteTableId: '', S3Bucket: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&S3Bucket=&Action=&Version=#Action=ExportTransitGatewayRoutes';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayRouteTableId=&S3Bucket=&Action=&Version=#Action=ExportTransitGatewayRoutes',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&S3Bucket=&Action=&Version=#Action=ExportTransitGatewayRoutes")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayRouteTableId=&S3Bucket=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ExportTransitGatewayRoutes',
qs: {TransitGatewayRouteTableId: '', S3Bucket: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ExportTransitGatewayRoutes');
req.query({
TransitGatewayRouteTableId: '',
S3Bucket: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ExportTransitGatewayRoutes',
params: {TransitGatewayRouteTableId: '', S3Bucket: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&S3Bucket=&Action=&Version=#Action=ExportTransitGatewayRoutes';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayRouteTableId=&S3Bucket=&Action=&Version=#Action=ExportTransitGatewayRoutes"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayRouteTableId=&S3Bucket=&Action=&Version=#Action=ExportTransitGatewayRoutes" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayRouteTableId=&S3Bucket=&Action=&Version=#Action=ExportTransitGatewayRoutes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&S3Bucket=&Action=&Version=#Action=ExportTransitGatewayRoutes');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ExportTransitGatewayRoutes');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayRouteTableId' => '',
'S3Bucket' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ExportTransitGatewayRoutes');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayRouteTableId' => '',
'S3Bucket' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&S3Bucket=&Action=&Version=#Action=ExportTransitGatewayRoutes' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&S3Bucket=&Action=&Version=#Action=ExportTransitGatewayRoutes' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayRouteTableId=&S3Bucket=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ExportTransitGatewayRoutes"
querystring = {"TransitGatewayRouteTableId":"","S3Bucket":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ExportTransitGatewayRoutes"
queryString <- list(
TransitGatewayRouteTableId = "",
S3Bucket = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayRouteTableId=&S3Bucket=&Action=&Version=#Action=ExportTransitGatewayRoutes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayRouteTableId'] = ''
req.params['S3Bucket'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ExportTransitGatewayRoutes";
let querystring = [
("TransitGatewayRouteTableId", ""),
("S3Bucket", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayRouteTableId=&S3Bucket=&Action=&Version=#Action=ExportTransitGatewayRoutes'
http GET '{{baseUrl}}/?TransitGatewayRouteTableId=&S3Bucket=&Action=&Version=#Action=ExportTransitGatewayRoutes'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayRouteTableId=&S3Bucket=&Action=&Version=#Action=ExportTransitGatewayRoutes'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayRouteTableId=&S3Bucket=&Action=&Version=#Action=ExportTransitGatewayRoutes")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetAssociatedEnclaveCertificateIamRoles
{{baseUrl}}/#Action=GetAssociatedEnclaveCertificateIamRoles
QUERY PARAMS
CertificateArn
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?CertificateArn=&Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetAssociatedEnclaveCertificateIamRoles" {:query-params {:CertificateArn ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?CertificateArn=&Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?CertificateArn=&Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?CertificateArn=&Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?CertificateArn=&Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?CertificateArn=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?CertificateArn=&Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?CertificateArn=&Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?CertificateArn=&Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?CertificateArn=&Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?CertificateArn=&Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetAssociatedEnclaveCertificateIamRoles',
params: {CertificateArn: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?CertificateArn=&Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?CertificateArn=&Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?CertificateArn=&Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?CertificateArn=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetAssociatedEnclaveCertificateIamRoles',
qs: {CertificateArn: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetAssociatedEnclaveCertificateIamRoles');
req.query({
CertificateArn: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetAssociatedEnclaveCertificateIamRoles',
params: {CertificateArn: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?CertificateArn=&Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?CertificateArn=&Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?CertificateArn=&Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?CertificateArn=&Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?CertificateArn=&Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetAssociatedEnclaveCertificateIamRoles');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'CertificateArn' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetAssociatedEnclaveCertificateIamRoles');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'CertificateArn' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?CertificateArn=&Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?CertificateArn=&Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?CertificateArn=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetAssociatedEnclaveCertificateIamRoles"
querystring = {"CertificateArn":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetAssociatedEnclaveCertificateIamRoles"
queryString <- list(
CertificateArn = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?CertificateArn=&Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['CertificateArn'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetAssociatedEnclaveCertificateIamRoles";
let querystring = [
("CertificateArn", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?CertificateArn=&Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles'
http GET '{{baseUrl}}/?CertificateArn=&Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?CertificateArn=&Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?CertificateArn=&Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetAssociatedIpv6PoolCidrs
{{baseUrl}}/#Action=GetAssociatedIpv6PoolCidrs
QUERY PARAMS
PoolId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetAssociatedIpv6PoolCidrs");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetAssociatedIpv6PoolCidrs" {:query-params {:PoolId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetAssociatedIpv6PoolCidrs"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetAssociatedIpv6PoolCidrs"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetAssociatedIpv6PoolCidrs");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetAssociatedIpv6PoolCidrs"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?PoolId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetAssociatedIpv6PoolCidrs")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetAssociatedIpv6PoolCidrs"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetAssociatedIpv6PoolCidrs")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetAssociatedIpv6PoolCidrs")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetAssociatedIpv6PoolCidrs');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetAssociatedIpv6PoolCidrs',
params: {PoolId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetAssociatedIpv6PoolCidrs';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetAssociatedIpv6PoolCidrs',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetAssociatedIpv6PoolCidrs")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?PoolId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetAssociatedIpv6PoolCidrs',
qs: {PoolId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetAssociatedIpv6PoolCidrs');
req.query({
PoolId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetAssociatedIpv6PoolCidrs',
params: {PoolId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetAssociatedIpv6PoolCidrs';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetAssociatedIpv6PoolCidrs"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetAssociatedIpv6PoolCidrs" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetAssociatedIpv6PoolCidrs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetAssociatedIpv6PoolCidrs');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetAssociatedIpv6PoolCidrs');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'PoolId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetAssociatedIpv6PoolCidrs');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'PoolId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetAssociatedIpv6PoolCidrs' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetAssociatedIpv6PoolCidrs' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?PoolId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetAssociatedIpv6PoolCidrs"
querystring = {"PoolId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetAssociatedIpv6PoolCidrs"
queryString <- list(
PoolId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetAssociatedIpv6PoolCidrs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['PoolId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetAssociatedIpv6PoolCidrs";
let querystring = [
("PoolId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetAssociatedIpv6PoolCidrs'
http GET '{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetAssociatedIpv6PoolCidrs'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetAssociatedIpv6PoolCidrs'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetAssociatedIpv6PoolCidrs")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetAwsNetworkPerformanceData
{{baseUrl}}/#Action=GetAwsNetworkPerformanceData
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetAwsNetworkPerformanceData" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetAwsNetworkPerformanceData',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetAwsNetworkPerformanceData',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetAwsNetworkPerformanceData');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetAwsNetworkPerformanceData',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetAwsNetworkPerformanceData');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetAwsNetworkPerformanceData');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetAwsNetworkPerformanceData"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetAwsNetworkPerformanceData"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetAwsNetworkPerformanceData";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData'
http GET '{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetCapacityReservationUsage
{{baseUrl}}/#Action=GetCapacityReservationUsage
QUERY PARAMS
CapacityReservationId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetCapacityReservationUsage");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetCapacityReservationUsage" {:query-params {:CapacityReservationId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetCapacityReservationUsage"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetCapacityReservationUsage"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetCapacityReservationUsage");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetCapacityReservationUsage"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?CapacityReservationId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetCapacityReservationUsage")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetCapacityReservationUsage"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetCapacityReservationUsage")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetCapacityReservationUsage")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetCapacityReservationUsage');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetCapacityReservationUsage',
params: {CapacityReservationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetCapacityReservationUsage';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetCapacityReservationUsage',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetCapacityReservationUsage")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?CapacityReservationId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetCapacityReservationUsage',
qs: {CapacityReservationId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetCapacityReservationUsage');
req.query({
CapacityReservationId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetCapacityReservationUsage',
params: {CapacityReservationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetCapacityReservationUsage';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetCapacityReservationUsage"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetCapacityReservationUsage" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetCapacityReservationUsage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetCapacityReservationUsage');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetCapacityReservationUsage');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'CapacityReservationId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetCapacityReservationUsage');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'CapacityReservationId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetCapacityReservationUsage' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetCapacityReservationUsage' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?CapacityReservationId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetCapacityReservationUsage"
querystring = {"CapacityReservationId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetCapacityReservationUsage"
queryString <- list(
CapacityReservationId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetCapacityReservationUsage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['CapacityReservationId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetCapacityReservationUsage";
let querystring = [
("CapacityReservationId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetCapacityReservationUsage'
http GET '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetCapacityReservationUsage'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetCapacityReservationUsage'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetCapacityReservationUsage")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetCoipPoolUsage
{{baseUrl}}/#Action=GetCoipPoolUsage
QUERY PARAMS
PoolId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetCoipPoolUsage");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetCoipPoolUsage" {:query-params {:PoolId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetCoipPoolUsage"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetCoipPoolUsage"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetCoipPoolUsage");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetCoipPoolUsage"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?PoolId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetCoipPoolUsage")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetCoipPoolUsage"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetCoipPoolUsage")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetCoipPoolUsage")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetCoipPoolUsage');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetCoipPoolUsage',
params: {PoolId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetCoipPoolUsage';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetCoipPoolUsage',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetCoipPoolUsage")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?PoolId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetCoipPoolUsage',
qs: {PoolId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetCoipPoolUsage');
req.query({
PoolId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetCoipPoolUsage',
params: {PoolId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetCoipPoolUsage';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetCoipPoolUsage"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetCoipPoolUsage" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetCoipPoolUsage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetCoipPoolUsage');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetCoipPoolUsage');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'PoolId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetCoipPoolUsage');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'PoolId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetCoipPoolUsage' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetCoipPoolUsage' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?PoolId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetCoipPoolUsage"
querystring = {"PoolId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetCoipPoolUsage"
queryString <- list(
PoolId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetCoipPoolUsage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['PoolId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetCoipPoolUsage";
let querystring = [
("PoolId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetCoipPoolUsage'
http GET '{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetCoipPoolUsage'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetCoipPoolUsage'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?PoolId=&Action=&Version=#Action=GetCoipPoolUsage")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetConsoleOutput
{{baseUrl}}/#Action=GetConsoleOutput
QUERY PARAMS
InstanceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleOutput");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetConsoleOutput" {:query-params {:InstanceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleOutput"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleOutput"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleOutput");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleOutput"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleOutput")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleOutput"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleOutput")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleOutput")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleOutput');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetConsoleOutput',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleOutput';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleOutput',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleOutput")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetConsoleOutput',
qs: {InstanceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetConsoleOutput');
req.query({
InstanceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetConsoleOutput',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleOutput';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleOutput"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleOutput" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleOutput",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleOutput');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetConsoleOutput');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetConsoleOutput');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleOutput' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleOutput' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetConsoleOutput"
querystring = {"InstanceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetConsoleOutput"
queryString <- list(
InstanceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleOutput")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetConsoleOutput";
let querystring = [
("InstanceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleOutput'
http GET '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleOutput'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleOutput'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleOutput")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"InstanceId": "i-1234567890abcdef0",
"Output": "...",
"Timestamp": "2018-05-25T21:23:53.000Z"
}
GET
GET_GetConsoleScreenshot
{{baseUrl}}/#Action=GetConsoleScreenshot
QUERY PARAMS
InstanceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleScreenshot");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetConsoleScreenshot" {:query-params {:InstanceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleScreenshot"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleScreenshot"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleScreenshot");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleScreenshot"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleScreenshot")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleScreenshot"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleScreenshot")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleScreenshot")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleScreenshot');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetConsoleScreenshot',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleScreenshot';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleScreenshot',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleScreenshot")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetConsoleScreenshot',
qs: {InstanceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetConsoleScreenshot');
req.query({
InstanceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetConsoleScreenshot',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleScreenshot';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleScreenshot"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleScreenshot" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleScreenshot",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleScreenshot');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetConsoleScreenshot');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetConsoleScreenshot');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleScreenshot' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleScreenshot' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetConsoleScreenshot"
querystring = {"InstanceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetConsoleScreenshot"
queryString <- list(
InstanceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleScreenshot")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetConsoleScreenshot";
let querystring = [
("InstanceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleScreenshot'
http GET '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleScreenshot'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleScreenshot'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetConsoleScreenshot")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetDefaultCreditSpecification
{{baseUrl}}/#Action=GetDefaultCreditSpecification
QUERY PARAMS
InstanceFamily
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceFamily=&Action=&Version=#Action=GetDefaultCreditSpecification");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetDefaultCreditSpecification" {:query-params {:InstanceFamily ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceFamily=&Action=&Version=#Action=GetDefaultCreditSpecification"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceFamily=&Action=&Version=#Action=GetDefaultCreditSpecification"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceFamily=&Action=&Version=#Action=GetDefaultCreditSpecification");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceFamily=&Action=&Version=#Action=GetDefaultCreditSpecification"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceFamily=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceFamily=&Action=&Version=#Action=GetDefaultCreditSpecification")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceFamily=&Action=&Version=#Action=GetDefaultCreditSpecification"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceFamily=&Action=&Version=#Action=GetDefaultCreditSpecification")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceFamily=&Action=&Version=#Action=GetDefaultCreditSpecification")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceFamily=&Action=&Version=#Action=GetDefaultCreditSpecification');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetDefaultCreditSpecification',
params: {InstanceFamily: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceFamily=&Action=&Version=#Action=GetDefaultCreditSpecification';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceFamily=&Action=&Version=#Action=GetDefaultCreditSpecification',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceFamily=&Action=&Version=#Action=GetDefaultCreditSpecification")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceFamily=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetDefaultCreditSpecification',
qs: {InstanceFamily: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetDefaultCreditSpecification');
req.query({
InstanceFamily: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetDefaultCreditSpecification',
params: {InstanceFamily: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceFamily=&Action=&Version=#Action=GetDefaultCreditSpecification';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceFamily=&Action=&Version=#Action=GetDefaultCreditSpecification"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceFamily=&Action=&Version=#Action=GetDefaultCreditSpecification" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceFamily=&Action=&Version=#Action=GetDefaultCreditSpecification",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceFamily=&Action=&Version=#Action=GetDefaultCreditSpecification');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetDefaultCreditSpecification');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceFamily' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetDefaultCreditSpecification');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceFamily' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceFamily=&Action=&Version=#Action=GetDefaultCreditSpecification' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceFamily=&Action=&Version=#Action=GetDefaultCreditSpecification' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceFamily=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetDefaultCreditSpecification"
querystring = {"InstanceFamily":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetDefaultCreditSpecification"
queryString <- list(
InstanceFamily = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceFamily=&Action=&Version=#Action=GetDefaultCreditSpecification")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceFamily'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetDefaultCreditSpecification";
let querystring = [
("InstanceFamily", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceFamily=&Action=&Version=#Action=GetDefaultCreditSpecification'
http GET '{{baseUrl}}/?InstanceFamily=&Action=&Version=#Action=GetDefaultCreditSpecification'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceFamily=&Action=&Version=#Action=GetDefaultCreditSpecification'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceFamily=&Action=&Version=#Action=GetDefaultCreditSpecification")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetEbsDefaultKmsKeyId
{{baseUrl}}/#Action=GetEbsDefaultKmsKeyId
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetEbsDefaultKmsKeyId" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetEbsDefaultKmsKeyId',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetEbsDefaultKmsKeyId',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetEbsDefaultKmsKeyId');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetEbsDefaultKmsKeyId',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetEbsDefaultKmsKeyId');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetEbsDefaultKmsKeyId');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetEbsDefaultKmsKeyId"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetEbsDefaultKmsKeyId"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetEbsDefaultKmsKeyId";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId'
http GET '{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetEbsEncryptionByDefault
{{baseUrl}}/#Action=GetEbsEncryptionByDefault
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetEbsEncryptionByDefault" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetEbsEncryptionByDefault',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetEbsEncryptionByDefault',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetEbsEncryptionByDefault');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetEbsEncryptionByDefault',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetEbsEncryptionByDefault');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetEbsEncryptionByDefault');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetEbsEncryptionByDefault"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetEbsEncryptionByDefault"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetEbsEncryptionByDefault";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault'
http GET '{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetFlowLogsIntegrationTemplate
{{baseUrl}}/#Action=GetFlowLogsIntegrationTemplate
QUERY PARAMS
FlowLogId
ConfigDeliveryS3DestinationArn
IntegrateService
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?FlowLogId=&ConfigDeliveryS3DestinationArn=&IntegrateService=&Action=&Version=#Action=GetFlowLogsIntegrationTemplate");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetFlowLogsIntegrationTemplate" {:query-params {:FlowLogId ""
:ConfigDeliveryS3DestinationArn ""
:IntegrateService ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?FlowLogId=&ConfigDeliveryS3DestinationArn=&IntegrateService=&Action=&Version=#Action=GetFlowLogsIntegrationTemplate"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?FlowLogId=&ConfigDeliveryS3DestinationArn=&IntegrateService=&Action=&Version=#Action=GetFlowLogsIntegrationTemplate"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?FlowLogId=&ConfigDeliveryS3DestinationArn=&IntegrateService=&Action=&Version=#Action=GetFlowLogsIntegrationTemplate");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?FlowLogId=&ConfigDeliveryS3DestinationArn=&IntegrateService=&Action=&Version=#Action=GetFlowLogsIntegrationTemplate"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?FlowLogId=&ConfigDeliveryS3DestinationArn=&IntegrateService=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?FlowLogId=&ConfigDeliveryS3DestinationArn=&IntegrateService=&Action=&Version=#Action=GetFlowLogsIntegrationTemplate")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?FlowLogId=&ConfigDeliveryS3DestinationArn=&IntegrateService=&Action=&Version=#Action=GetFlowLogsIntegrationTemplate"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?FlowLogId=&ConfigDeliveryS3DestinationArn=&IntegrateService=&Action=&Version=#Action=GetFlowLogsIntegrationTemplate")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?FlowLogId=&ConfigDeliveryS3DestinationArn=&IntegrateService=&Action=&Version=#Action=GetFlowLogsIntegrationTemplate")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?FlowLogId=&ConfigDeliveryS3DestinationArn=&IntegrateService=&Action=&Version=#Action=GetFlowLogsIntegrationTemplate');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetFlowLogsIntegrationTemplate',
params: {
FlowLogId: '',
ConfigDeliveryS3DestinationArn: '',
IntegrateService: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?FlowLogId=&ConfigDeliveryS3DestinationArn=&IntegrateService=&Action=&Version=#Action=GetFlowLogsIntegrationTemplate';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?FlowLogId=&ConfigDeliveryS3DestinationArn=&IntegrateService=&Action=&Version=#Action=GetFlowLogsIntegrationTemplate',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?FlowLogId=&ConfigDeliveryS3DestinationArn=&IntegrateService=&Action=&Version=#Action=GetFlowLogsIntegrationTemplate")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?FlowLogId=&ConfigDeliveryS3DestinationArn=&IntegrateService=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetFlowLogsIntegrationTemplate',
qs: {
FlowLogId: '',
ConfigDeliveryS3DestinationArn: '',
IntegrateService: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetFlowLogsIntegrationTemplate');
req.query({
FlowLogId: '',
ConfigDeliveryS3DestinationArn: '',
IntegrateService: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetFlowLogsIntegrationTemplate',
params: {
FlowLogId: '',
ConfigDeliveryS3DestinationArn: '',
IntegrateService: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?FlowLogId=&ConfigDeliveryS3DestinationArn=&IntegrateService=&Action=&Version=#Action=GetFlowLogsIntegrationTemplate';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?FlowLogId=&ConfigDeliveryS3DestinationArn=&IntegrateService=&Action=&Version=#Action=GetFlowLogsIntegrationTemplate"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?FlowLogId=&ConfigDeliveryS3DestinationArn=&IntegrateService=&Action=&Version=#Action=GetFlowLogsIntegrationTemplate" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?FlowLogId=&ConfigDeliveryS3DestinationArn=&IntegrateService=&Action=&Version=#Action=GetFlowLogsIntegrationTemplate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?FlowLogId=&ConfigDeliveryS3DestinationArn=&IntegrateService=&Action=&Version=#Action=GetFlowLogsIntegrationTemplate');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetFlowLogsIntegrationTemplate');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'FlowLogId' => '',
'ConfigDeliveryS3DestinationArn' => '',
'IntegrateService' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetFlowLogsIntegrationTemplate');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'FlowLogId' => '',
'ConfigDeliveryS3DestinationArn' => '',
'IntegrateService' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?FlowLogId=&ConfigDeliveryS3DestinationArn=&IntegrateService=&Action=&Version=#Action=GetFlowLogsIntegrationTemplate' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?FlowLogId=&ConfigDeliveryS3DestinationArn=&IntegrateService=&Action=&Version=#Action=GetFlowLogsIntegrationTemplate' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?FlowLogId=&ConfigDeliveryS3DestinationArn=&IntegrateService=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetFlowLogsIntegrationTemplate"
querystring = {"FlowLogId":"","ConfigDeliveryS3DestinationArn":"","IntegrateService":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetFlowLogsIntegrationTemplate"
queryString <- list(
FlowLogId = "",
ConfigDeliveryS3DestinationArn = "",
IntegrateService = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?FlowLogId=&ConfigDeliveryS3DestinationArn=&IntegrateService=&Action=&Version=#Action=GetFlowLogsIntegrationTemplate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['FlowLogId'] = ''
req.params['ConfigDeliveryS3DestinationArn'] = ''
req.params['IntegrateService'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetFlowLogsIntegrationTemplate";
let querystring = [
("FlowLogId", ""),
("ConfigDeliveryS3DestinationArn", ""),
("IntegrateService", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?FlowLogId=&ConfigDeliveryS3DestinationArn=&IntegrateService=&Action=&Version=#Action=GetFlowLogsIntegrationTemplate'
http GET '{{baseUrl}}/?FlowLogId=&ConfigDeliveryS3DestinationArn=&IntegrateService=&Action=&Version=#Action=GetFlowLogsIntegrationTemplate'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?FlowLogId=&ConfigDeliveryS3DestinationArn=&IntegrateService=&Action=&Version=#Action=GetFlowLogsIntegrationTemplate'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?FlowLogId=&ConfigDeliveryS3DestinationArn=&IntegrateService=&Action=&Version=#Action=GetFlowLogsIntegrationTemplate")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetGroupsForCapacityReservation
{{baseUrl}}/#Action=GetGroupsForCapacityReservation
QUERY PARAMS
CapacityReservationId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetGroupsForCapacityReservation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetGroupsForCapacityReservation" {:query-params {:CapacityReservationId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetGroupsForCapacityReservation"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetGroupsForCapacityReservation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetGroupsForCapacityReservation");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetGroupsForCapacityReservation"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?CapacityReservationId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetGroupsForCapacityReservation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetGroupsForCapacityReservation"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetGroupsForCapacityReservation")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetGroupsForCapacityReservation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetGroupsForCapacityReservation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetGroupsForCapacityReservation',
params: {CapacityReservationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetGroupsForCapacityReservation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetGroupsForCapacityReservation',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetGroupsForCapacityReservation")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?CapacityReservationId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetGroupsForCapacityReservation',
qs: {CapacityReservationId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetGroupsForCapacityReservation');
req.query({
CapacityReservationId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetGroupsForCapacityReservation',
params: {CapacityReservationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetGroupsForCapacityReservation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetGroupsForCapacityReservation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetGroupsForCapacityReservation" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetGroupsForCapacityReservation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetGroupsForCapacityReservation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetGroupsForCapacityReservation');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'CapacityReservationId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetGroupsForCapacityReservation');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'CapacityReservationId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetGroupsForCapacityReservation' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetGroupsForCapacityReservation' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?CapacityReservationId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetGroupsForCapacityReservation"
querystring = {"CapacityReservationId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetGroupsForCapacityReservation"
queryString <- list(
CapacityReservationId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetGroupsForCapacityReservation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['CapacityReservationId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetGroupsForCapacityReservation";
let querystring = [
("CapacityReservationId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetGroupsForCapacityReservation'
http GET '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetGroupsForCapacityReservation'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetGroupsForCapacityReservation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=GetGroupsForCapacityReservation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetHostReservationPurchasePreview
{{baseUrl}}/#Action=GetHostReservationPurchasePreview
QUERY PARAMS
HostIdSet
OfferingId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=GetHostReservationPurchasePreview");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetHostReservationPurchasePreview" {:query-params {:HostIdSet ""
:OfferingId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=GetHostReservationPurchasePreview"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=GetHostReservationPurchasePreview"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=GetHostReservationPurchasePreview");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=GetHostReservationPurchasePreview"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?HostIdSet=&OfferingId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=GetHostReservationPurchasePreview")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=GetHostReservationPurchasePreview"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=GetHostReservationPurchasePreview")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=GetHostReservationPurchasePreview")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=GetHostReservationPurchasePreview');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetHostReservationPurchasePreview',
params: {HostIdSet: '', OfferingId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=GetHostReservationPurchasePreview';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=GetHostReservationPurchasePreview',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=GetHostReservationPurchasePreview")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?HostIdSet=&OfferingId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetHostReservationPurchasePreview',
qs: {HostIdSet: '', OfferingId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetHostReservationPurchasePreview');
req.query({
HostIdSet: '',
OfferingId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetHostReservationPurchasePreview',
params: {HostIdSet: '', OfferingId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=GetHostReservationPurchasePreview';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=GetHostReservationPurchasePreview"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=GetHostReservationPurchasePreview" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=GetHostReservationPurchasePreview",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=GetHostReservationPurchasePreview');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetHostReservationPurchasePreview');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'HostIdSet' => '',
'OfferingId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetHostReservationPurchasePreview');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'HostIdSet' => '',
'OfferingId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=GetHostReservationPurchasePreview' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=GetHostReservationPurchasePreview' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?HostIdSet=&OfferingId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetHostReservationPurchasePreview"
querystring = {"HostIdSet":"","OfferingId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetHostReservationPurchasePreview"
queryString <- list(
HostIdSet = "",
OfferingId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=GetHostReservationPurchasePreview")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['HostIdSet'] = ''
req.params['OfferingId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetHostReservationPurchasePreview";
let querystring = [
("HostIdSet", ""),
("OfferingId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=GetHostReservationPurchasePreview'
http GET '{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=GetHostReservationPurchasePreview'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=GetHostReservationPurchasePreview'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=GetHostReservationPurchasePreview")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetInstanceTypesFromInstanceRequirements
{{baseUrl}}/#Action=GetInstanceTypesFromInstanceRequirements
QUERY PARAMS
ArchitectureType
VirtualizationType
InstanceRequirements
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ArchitectureType=&VirtualizationType=&InstanceRequirements=&Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetInstanceTypesFromInstanceRequirements" {:query-params {:ArchitectureType ""
:VirtualizationType ""
:InstanceRequirements ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ArchitectureType=&VirtualizationType=&InstanceRequirements=&Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ArchitectureType=&VirtualizationType=&InstanceRequirements=&Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ArchitectureType=&VirtualizationType=&InstanceRequirements=&Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ArchitectureType=&VirtualizationType=&InstanceRequirements=&Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ArchitectureType=&VirtualizationType=&InstanceRequirements=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ArchitectureType=&VirtualizationType=&InstanceRequirements=&Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ArchitectureType=&VirtualizationType=&InstanceRequirements=&Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ArchitectureType=&VirtualizationType=&InstanceRequirements=&Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ArchitectureType=&VirtualizationType=&InstanceRequirements=&Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ArchitectureType=&VirtualizationType=&InstanceRequirements=&Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetInstanceTypesFromInstanceRequirements',
params: {
ArchitectureType: '',
VirtualizationType: '',
InstanceRequirements: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ArchitectureType=&VirtualizationType=&InstanceRequirements=&Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ArchitectureType=&VirtualizationType=&InstanceRequirements=&Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ArchitectureType=&VirtualizationType=&InstanceRequirements=&Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ArchitectureType=&VirtualizationType=&InstanceRequirements=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetInstanceTypesFromInstanceRequirements',
qs: {
ArchitectureType: '',
VirtualizationType: '',
InstanceRequirements: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetInstanceTypesFromInstanceRequirements');
req.query({
ArchitectureType: '',
VirtualizationType: '',
InstanceRequirements: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetInstanceTypesFromInstanceRequirements',
params: {
ArchitectureType: '',
VirtualizationType: '',
InstanceRequirements: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ArchitectureType=&VirtualizationType=&InstanceRequirements=&Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ArchitectureType=&VirtualizationType=&InstanceRequirements=&Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ArchitectureType=&VirtualizationType=&InstanceRequirements=&Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ArchitectureType=&VirtualizationType=&InstanceRequirements=&Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ArchitectureType=&VirtualizationType=&InstanceRequirements=&Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetInstanceTypesFromInstanceRequirements');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ArchitectureType' => '',
'VirtualizationType' => '',
'InstanceRequirements' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetInstanceTypesFromInstanceRequirements');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ArchitectureType' => '',
'VirtualizationType' => '',
'InstanceRequirements' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ArchitectureType=&VirtualizationType=&InstanceRequirements=&Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ArchitectureType=&VirtualizationType=&InstanceRequirements=&Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ArchitectureType=&VirtualizationType=&InstanceRequirements=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetInstanceTypesFromInstanceRequirements"
querystring = {"ArchitectureType":"","VirtualizationType":"","InstanceRequirements":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetInstanceTypesFromInstanceRequirements"
queryString <- list(
ArchitectureType = "",
VirtualizationType = "",
InstanceRequirements = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ArchitectureType=&VirtualizationType=&InstanceRequirements=&Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ArchitectureType'] = ''
req.params['VirtualizationType'] = ''
req.params['InstanceRequirements'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetInstanceTypesFromInstanceRequirements";
let querystring = [
("ArchitectureType", ""),
("VirtualizationType", ""),
("InstanceRequirements", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ArchitectureType=&VirtualizationType=&InstanceRequirements=&Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements'
http GET '{{baseUrl}}/?ArchitectureType=&VirtualizationType=&InstanceRequirements=&Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ArchitectureType=&VirtualizationType=&InstanceRequirements=&Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ArchitectureType=&VirtualizationType=&InstanceRequirements=&Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetInstanceUefiData
{{baseUrl}}/#Action=GetInstanceUefiData
QUERY PARAMS
InstanceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetInstanceUefiData");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetInstanceUefiData" {:query-params {:InstanceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetInstanceUefiData"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetInstanceUefiData"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetInstanceUefiData");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetInstanceUefiData"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetInstanceUefiData")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetInstanceUefiData"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetInstanceUefiData")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetInstanceUefiData")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetInstanceUefiData');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetInstanceUefiData',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetInstanceUefiData';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetInstanceUefiData',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetInstanceUefiData")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetInstanceUefiData',
qs: {InstanceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetInstanceUefiData');
req.query({
InstanceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetInstanceUefiData',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetInstanceUefiData';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetInstanceUefiData"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetInstanceUefiData" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetInstanceUefiData",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetInstanceUefiData');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetInstanceUefiData');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetInstanceUefiData');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetInstanceUefiData' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetInstanceUefiData' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetInstanceUefiData"
querystring = {"InstanceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetInstanceUefiData"
queryString <- list(
InstanceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetInstanceUefiData")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetInstanceUefiData";
let querystring = [
("InstanceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetInstanceUefiData'
http GET '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetInstanceUefiData'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetInstanceUefiData'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetInstanceUefiData")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetIpamAddressHistory
{{baseUrl}}/#Action=GetIpamAddressHistory
QUERY PARAMS
Cidr
IpamScopeId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Cidr=&IpamScopeId=&Action=&Version=#Action=GetIpamAddressHistory");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetIpamAddressHistory" {:query-params {:Cidr ""
:IpamScopeId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Cidr=&IpamScopeId=&Action=&Version=#Action=GetIpamAddressHistory"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Cidr=&IpamScopeId=&Action=&Version=#Action=GetIpamAddressHistory"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Cidr=&IpamScopeId=&Action=&Version=#Action=GetIpamAddressHistory");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Cidr=&IpamScopeId=&Action=&Version=#Action=GetIpamAddressHistory"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Cidr=&IpamScopeId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Cidr=&IpamScopeId=&Action=&Version=#Action=GetIpamAddressHistory")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Cidr=&IpamScopeId=&Action=&Version=#Action=GetIpamAddressHistory"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Cidr=&IpamScopeId=&Action=&Version=#Action=GetIpamAddressHistory")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Cidr=&IpamScopeId=&Action=&Version=#Action=GetIpamAddressHistory")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Cidr=&IpamScopeId=&Action=&Version=#Action=GetIpamAddressHistory');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetIpamAddressHistory',
params: {Cidr: '', IpamScopeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Cidr=&IpamScopeId=&Action=&Version=#Action=GetIpamAddressHistory';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Cidr=&IpamScopeId=&Action=&Version=#Action=GetIpamAddressHistory',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Cidr=&IpamScopeId=&Action=&Version=#Action=GetIpamAddressHistory")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Cidr=&IpamScopeId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetIpamAddressHistory',
qs: {Cidr: '', IpamScopeId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetIpamAddressHistory');
req.query({
Cidr: '',
IpamScopeId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetIpamAddressHistory',
params: {Cidr: '', IpamScopeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Cidr=&IpamScopeId=&Action=&Version=#Action=GetIpamAddressHistory';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Cidr=&IpamScopeId=&Action=&Version=#Action=GetIpamAddressHistory"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Cidr=&IpamScopeId=&Action=&Version=#Action=GetIpamAddressHistory" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Cidr=&IpamScopeId=&Action=&Version=#Action=GetIpamAddressHistory",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Cidr=&IpamScopeId=&Action=&Version=#Action=GetIpamAddressHistory');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetIpamAddressHistory');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Cidr' => '',
'IpamScopeId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetIpamAddressHistory');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Cidr' => '',
'IpamScopeId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Cidr=&IpamScopeId=&Action=&Version=#Action=GetIpamAddressHistory' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Cidr=&IpamScopeId=&Action=&Version=#Action=GetIpamAddressHistory' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Cidr=&IpamScopeId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetIpamAddressHistory"
querystring = {"Cidr":"","IpamScopeId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetIpamAddressHistory"
queryString <- list(
Cidr = "",
IpamScopeId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Cidr=&IpamScopeId=&Action=&Version=#Action=GetIpamAddressHistory")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Cidr'] = ''
req.params['IpamScopeId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetIpamAddressHistory";
let querystring = [
("Cidr", ""),
("IpamScopeId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Cidr=&IpamScopeId=&Action=&Version=#Action=GetIpamAddressHistory'
http GET '{{baseUrl}}/?Cidr=&IpamScopeId=&Action=&Version=#Action=GetIpamAddressHistory'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Cidr=&IpamScopeId=&Action=&Version=#Action=GetIpamAddressHistory'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Cidr=&IpamScopeId=&Action=&Version=#Action=GetIpamAddressHistory")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetIpamDiscoveredAccounts
{{baseUrl}}/#Action=GetIpamDiscoveredAccounts
QUERY PARAMS
IpamResourceDiscoveryId
DiscoveryRegion
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?IpamResourceDiscoveryId=&DiscoveryRegion=&Action=&Version=#Action=GetIpamDiscoveredAccounts");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetIpamDiscoveredAccounts" {:query-params {:IpamResourceDiscoveryId ""
:DiscoveryRegion ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?IpamResourceDiscoveryId=&DiscoveryRegion=&Action=&Version=#Action=GetIpamDiscoveredAccounts"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?IpamResourceDiscoveryId=&DiscoveryRegion=&Action=&Version=#Action=GetIpamDiscoveredAccounts"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?IpamResourceDiscoveryId=&DiscoveryRegion=&Action=&Version=#Action=GetIpamDiscoveredAccounts");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?IpamResourceDiscoveryId=&DiscoveryRegion=&Action=&Version=#Action=GetIpamDiscoveredAccounts"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?IpamResourceDiscoveryId=&DiscoveryRegion=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?IpamResourceDiscoveryId=&DiscoveryRegion=&Action=&Version=#Action=GetIpamDiscoveredAccounts")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?IpamResourceDiscoveryId=&DiscoveryRegion=&Action=&Version=#Action=GetIpamDiscoveredAccounts"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?IpamResourceDiscoveryId=&DiscoveryRegion=&Action=&Version=#Action=GetIpamDiscoveredAccounts")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?IpamResourceDiscoveryId=&DiscoveryRegion=&Action=&Version=#Action=GetIpamDiscoveredAccounts")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?IpamResourceDiscoveryId=&DiscoveryRegion=&Action=&Version=#Action=GetIpamDiscoveredAccounts');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetIpamDiscoveredAccounts',
params: {IpamResourceDiscoveryId: '', DiscoveryRegion: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?IpamResourceDiscoveryId=&DiscoveryRegion=&Action=&Version=#Action=GetIpamDiscoveredAccounts';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?IpamResourceDiscoveryId=&DiscoveryRegion=&Action=&Version=#Action=GetIpamDiscoveredAccounts',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?IpamResourceDiscoveryId=&DiscoveryRegion=&Action=&Version=#Action=GetIpamDiscoveredAccounts")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?IpamResourceDiscoveryId=&DiscoveryRegion=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetIpamDiscoveredAccounts',
qs: {IpamResourceDiscoveryId: '', DiscoveryRegion: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetIpamDiscoveredAccounts');
req.query({
IpamResourceDiscoveryId: '',
DiscoveryRegion: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetIpamDiscoveredAccounts',
params: {IpamResourceDiscoveryId: '', DiscoveryRegion: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?IpamResourceDiscoveryId=&DiscoveryRegion=&Action=&Version=#Action=GetIpamDiscoveredAccounts';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?IpamResourceDiscoveryId=&DiscoveryRegion=&Action=&Version=#Action=GetIpamDiscoveredAccounts"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?IpamResourceDiscoveryId=&DiscoveryRegion=&Action=&Version=#Action=GetIpamDiscoveredAccounts" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?IpamResourceDiscoveryId=&DiscoveryRegion=&Action=&Version=#Action=GetIpamDiscoveredAccounts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?IpamResourceDiscoveryId=&DiscoveryRegion=&Action=&Version=#Action=GetIpamDiscoveredAccounts');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetIpamDiscoveredAccounts');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'IpamResourceDiscoveryId' => '',
'DiscoveryRegion' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetIpamDiscoveredAccounts');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'IpamResourceDiscoveryId' => '',
'DiscoveryRegion' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?IpamResourceDiscoveryId=&DiscoveryRegion=&Action=&Version=#Action=GetIpamDiscoveredAccounts' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?IpamResourceDiscoveryId=&DiscoveryRegion=&Action=&Version=#Action=GetIpamDiscoveredAccounts' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?IpamResourceDiscoveryId=&DiscoveryRegion=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetIpamDiscoveredAccounts"
querystring = {"IpamResourceDiscoveryId":"","DiscoveryRegion":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetIpamDiscoveredAccounts"
queryString <- list(
IpamResourceDiscoveryId = "",
DiscoveryRegion = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?IpamResourceDiscoveryId=&DiscoveryRegion=&Action=&Version=#Action=GetIpamDiscoveredAccounts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['IpamResourceDiscoveryId'] = ''
req.params['DiscoveryRegion'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetIpamDiscoveredAccounts";
let querystring = [
("IpamResourceDiscoveryId", ""),
("DiscoveryRegion", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?IpamResourceDiscoveryId=&DiscoveryRegion=&Action=&Version=#Action=GetIpamDiscoveredAccounts'
http GET '{{baseUrl}}/?IpamResourceDiscoveryId=&DiscoveryRegion=&Action=&Version=#Action=GetIpamDiscoveredAccounts'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?IpamResourceDiscoveryId=&DiscoveryRegion=&Action=&Version=#Action=GetIpamDiscoveredAccounts'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?IpamResourceDiscoveryId=&DiscoveryRegion=&Action=&Version=#Action=GetIpamDiscoveredAccounts")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetIpamDiscoveredResourceCidrs
{{baseUrl}}/#Action=GetIpamDiscoveredResourceCidrs
QUERY PARAMS
IpamResourceDiscoveryId
ResourceRegion
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?IpamResourceDiscoveryId=&ResourceRegion=&Action=&Version=#Action=GetIpamDiscoveredResourceCidrs");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetIpamDiscoveredResourceCidrs" {:query-params {:IpamResourceDiscoveryId ""
:ResourceRegion ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?IpamResourceDiscoveryId=&ResourceRegion=&Action=&Version=#Action=GetIpamDiscoveredResourceCidrs"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?IpamResourceDiscoveryId=&ResourceRegion=&Action=&Version=#Action=GetIpamDiscoveredResourceCidrs"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?IpamResourceDiscoveryId=&ResourceRegion=&Action=&Version=#Action=GetIpamDiscoveredResourceCidrs");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?IpamResourceDiscoveryId=&ResourceRegion=&Action=&Version=#Action=GetIpamDiscoveredResourceCidrs"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?IpamResourceDiscoveryId=&ResourceRegion=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?IpamResourceDiscoveryId=&ResourceRegion=&Action=&Version=#Action=GetIpamDiscoveredResourceCidrs")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?IpamResourceDiscoveryId=&ResourceRegion=&Action=&Version=#Action=GetIpamDiscoveredResourceCidrs"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?IpamResourceDiscoveryId=&ResourceRegion=&Action=&Version=#Action=GetIpamDiscoveredResourceCidrs")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?IpamResourceDiscoveryId=&ResourceRegion=&Action=&Version=#Action=GetIpamDiscoveredResourceCidrs")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?IpamResourceDiscoveryId=&ResourceRegion=&Action=&Version=#Action=GetIpamDiscoveredResourceCidrs');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetIpamDiscoveredResourceCidrs',
params: {IpamResourceDiscoveryId: '', ResourceRegion: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?IpamResourceDiscoveryId=&ResourceRegion=&Action=&Version=#Action=GetIpamDiscoveredResourceCidrs';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?IpamResourceDiscoveryId=&ResourceRegion=&Action=&Version=#Action=GetIpamDiscoveredResourceCidrs',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?IpamResourceDiscoveryId=&ResourceRegion=&Action=&Version=#Action=GetIpamDiscoveredResourceCidrs")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?IpamResourceDiscoveryId=&ResourceRegion=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetIpamDiscoveredResourceCidrs',
qs: {IpamResourceDiscoveryId: '', ResourceRegion: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetIpamDiscoveredResourceCidrs');
req.query({
IpamResourceDiscoveryId: '',
ResourceRegion: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetIpamDiscoveredResourceCidrs',
params: {IpamResourceDiscoveryId: '', ResourceRegion: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?IpamResourceDiscoveryId=&ResourceRegion=&Action=&Version=#Action=GetIpamDiscoveredResourceCidrs';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?IpamResourceDiscoveryId=&ResourceRegion=&Action=&Version=#Action=GetIpamDiscoveredResourceCidrs"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?IpamResourceDiscoveryId=&ResourceRegion=&Action=&Version=#Action=GetIpamDiscoveredResourceCidrs" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?IpamResourceDiscoveryId=&ResourceRegion=&Action=&Version=#Action=GetIpamDiscoveredResourceCidrs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?IpamResourceDiscoveryId=&ResourceRegion=&Action=&Version=#Action=GetIpamDiscoveredResourceCidrs');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetIpamDiscoveredResourceCidrs');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'IpamResourceDiscoveryId' => '',
'ResourceRegion' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetIpamDiscoveredResourceCidrs');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'IpamResourceDiscoveryId' => '',
'ResourceRegion' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?IpamResourceDiscoveryId=&ResourceRegion=&Action=&Version=#Action=GetIpamDiscoveredResourceCidrs' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?IpamResourceDiscoveryId=&ResourceRegion=&Action=&Version=#Action=GetIpamDiscoveredResourceCidrs' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?IpamResourceDiscoveryId=&ResourceRegion=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetIpamDiscoveredResourceCidrs"
querystring = {"IpamResourceDiscoveryId":"","ResourceRegion":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetIpamDiscoveredResourceCidrs"
queryString <- list(
IpamResourceDiscoveryId = "",
ResourceRegion = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?IpamResourceDiscoveryId=&ResourceRegion=&Action=&Version=#Action=GetIpamDiscoveredResourceCidrs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['IpamResourceDiscoveryId'] = ''
req.params['ResourceRegion'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetIpamDiscoveredResourceCidrs";
let querystring = [
("IpamResourceDiscoveryId", ""),
("ResourceRegion", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?IpamResourceDiscoveryId=&ResourceRegion=&Action=&Version=#Action=GetIpamDiscoveredResourceCidrs'
http GET '{{baseUrl}}/?IpamResourceDiscoveryId=&ResourceRegion=&Action=&Version=#Action=GetIpamDiscoveredResourceCidrs'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?IpamResourceDiscoveryId=&ResourceRegion=&Action=&Version=#Action=GetIpamDiscoveredResourceCidrs'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?IpamResourceDiscoveryId=&ResourceRegion=&Action=&Version=#Action=GetIpamDiscoveredResourceCidrs")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetIpamPoolAllocations
{{baseUrl}}/#Action=GetIpamPoolAllocations
QUERY PARAMS
IpamPoolId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolAllocations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetIpamPoolAllocations" {:query-params {:IpamPoolId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolAllocations"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolAllocations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolAllocations");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolAllocations"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?IpamPoolId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolAllocations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolAllocations"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolAllocations")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolAllocations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolAllocations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetIpamPoolAllocations',
params: {IpamPoolId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolAllocations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolAllocations',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolAllocations")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?IpamPoolId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetIpamPoolAllocations',
qs: {IpamPoolId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetIpamPoolAllocations');
req.query({
IpamPoolId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetIpamPoolAllocations',
params: {IpamPoolId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolAllocations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolAllocations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolAllocations" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolAllocations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolAllocations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetIpamPoolAllocations');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'IpamPoolId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetIpamPoolAllocations');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'IpamPoolId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolAllocations' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolAllocations' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?IpamPoolId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetIpamPoolAllocations"
querystring = {"IpamPoolId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetIpamPoolAllocations"
queryString <- list(
IpamPoolId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolAllocations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['IpamPoolId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetIpamPoolAllocations";
let querystring = [
("IpamPoolId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolAllocations'
http GET '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolAllocations'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolAllocations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolAllocations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetIpamPoolCidrs
{{baseUrl}}/#Action=GetIpamPoolCidrs
QUERY PARAMS
IpamPoolId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolCidrs");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetIpamPoolCidrs" {:query-params {:IpamPoolId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolCidrs"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolCidrs"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolCidrs");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolCidrs"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?IpamPoolId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolCidrs")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolCidrs"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolCidrs")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolCidrs")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolCidrs');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetIpamPoolCidrs',
params: {IpamPoolId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolCidrs';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolCidrs',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolCidrs")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?IpamPoolId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetIpamPoolCidrs',
qs: {IpamPoolId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetIpamPoolCidrs');
req.query({
IpamPoolId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetIpamPoolCidrs',
params: {IpamPoolId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolCidrs';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolCidrs"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolCidrs" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolCidrs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolCidrs');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetIpamPoolCidrs');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'IpamPoolId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetIpamPoolCidrs');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'IpamPoolId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolCidrs' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolCidrs' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?IpamPoolId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetIpamPoolCidrs"
querystring = {"IpamPoolId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetIpamPoolCidrs"
queryString <- list(
IpamPoolId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolCidrs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['IpamPoolId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetIpamPoolCidrs";
let querystring = [
("IpamPoolId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolCidrs'
http GET '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolCidrs'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolCidrs'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=GetIpamPoolCidrs")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetIpamResourceCidrs
{{baseUrl}}/#Action=GetIpamResourceCidrs
QUERY PARAMS
IpamScopeId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=GetIpamResourceCidrs");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetIpamResourceCidrs" {:query-params {:IpamScopeId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=GetIpamResourceCidrs"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=GetIpamResourceCidrs"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=GetIpamResourceCidrs");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=GetIpamResourceCidrs"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?IpamScopeId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=GetIpamResourceCidrs")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=GetIpamResourceCidrs"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=GetIpamResourceCidrs")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=GetIpamResourceCidrs")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=GetIpamResourceCidrs');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetIpamResourceCidrs',
params: {IpamScopeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=GetIpamResourceCidrs';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=GetIpamResourceCidrs',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=GetIpamResourceCidrs")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?IpamScopeId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetIpamResourceCidrs',
qs: {IpamScopeId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetIpamResourceCidrs');
req.query({
IpamScopeId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetIpamResourceCidrs',
params: {IpamScopeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=GetIpamResourceCidrs';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=GetIpamResourceCidrs"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=GetIpamResourceCidrs" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=GetIpamResourceCidrs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=GetIpamResourceCidrs');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetIpamResourceCidrs');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'IpamScopeId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetIpamResourceCidrs');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'IpamScopeId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=GetIpamResourceCidrs' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=GetIpamResourceCidrs' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?IpamScopeId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetIpamResourceCidrs"
querystring = {"IpamScopeId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetIpamResourceCidrs"
queryString <- list(
IpamScopeId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=GetIpamResourceCidrs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['IpamScopeId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetIpamResourceCidrs";
let querystring = [
("IpamScopeId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=GetIpamResourceCidrs'
http GET '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=GetIpamResourceCidrs'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=GetIpamResourceCidrs'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=GetIpamResourceCidrs")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetLaunchTemplateData
{{baseUrl}}/#Action=GetLaunchTemplateData
QUERY PARAMS
InstanceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetLaunchTemplateData");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetLaunchTemplateData" {:query-params {:InstanceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetLaunchTemplateData"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetLaunchTemplateData"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetLaunchTemplateData");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetLaunchTemplateData"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetLaunchTemplateData")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetLaunchTemplateData"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetLaunchTemplateData")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetLaunchTemplateData")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetLaunchTemplateData');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetLaunchTemplateData',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetLaunchTemplateData';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetLaunchTemplateData',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetLaunchTemplateData")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetLaunchTemplateData',
qs: {InstanceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetLaunchTemplateData');
req.query({
InstanceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetLaunchTemplateData',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetLaunchTemplateData';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetLaunchTemplateData"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetLaunchTemplateData" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetLaunchTemplateData",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetLaunchTemplateData');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetLaunchTemplateData');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetLaunchTemplateData');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetLaunchTemplateData' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetLaunchTemplateData' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetLaunchTemplateData"
querystring = {"InstanceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetLaunchTemplateData"
queryString <- list(
InstanceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetLaunchTemplateData")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetLaunchTemplateData";
let querystring = [
("InstanceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetLaunchTemplateData'
http GET '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetLaunchTemplateData'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetLaunchTemplateData'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetLaunchTemplateData")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"LaunchTemplateData": {
"BlockDeviceMappings": [
{
"DeviceName": "/dev/xvda",
"Ebs": {
"DeleteOnTermination": true,
"Encrypted": false,
"Iops": 100,
"SnapshotId": "snap-02594938353ef77d3",
"VolumeSize": 8,
"VolumeType": "gp2"
}
}
],
"EbsOptimized": false,
"ImageId": "ami-32cf7b4a",
"InstanceType": "t2.medium",
"KeyName": "my-key-pair",
"Monitoring": {
"Enabled": false
},
"NetworkInterfaces": [
{
"AssociatePublicIpAddress": false,
"DeleteOnTermination": true,
"Description": "",
"DeviceIndex": 0,
"Groups": [
"sg-d14e1bb4"
],
"Ipv6Addresses": [],
"NetworkInterfaceId": "eni-4338b5a9",
"PrivateIpAddress": "10.0.3.233",
"PrivateIpAddresses": [
{
"Primary": true,
"PrivateIpAddress": "10.0.3.233"
}
],
"SubnetId": "subnet-5264e837"
}
],
"Placement": {
"AvailabilityZone": "us-east-2b",
"GroupName": "",
"Tenancy": "default"
}
}
}
GET
GET_GetManagedPrefixListAssociations
{{baseUrl}}/#Action=GetManagedPrefixListAssociations
QUERY PARAMS
PrefixListId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListAssociations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetManagedPrefixListAssociations" {:query-params {:PrefixListId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListAssociations"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListAssociations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListAssociations");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListAssociations"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?PrefixListId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListAssociations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListAssociations"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListAssociations")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListAssociations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListAssociations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetManagedPrefixListAssociations',
params: {PrefixListId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListAssociations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListAssociations',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListAssociations")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?PrefixListId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetManagedPrefixListAssociations',
qs: {PrefixListId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetManagedPrefixListAssociations');
req.query({
PrefixListId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetManagedPrefixListAssociations',
params: {PrefixListId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListAssociations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListAssociations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListAssociations" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListAssociations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListAssociations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetManagedPrefixListAssociations');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'PrefixListId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetManagedPrefixListAssociations');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'PrefixListId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListAssociations' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListAssociations' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?PrefixListId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetManagedPrefixListAssociations"
querystring = {"PrefixListId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetManagedPrefixListAssociations"
queryString <- list(
PrefixListId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListAssociations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['PrefixListId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetManagedPrefixListAssociations";
let querystring = [
("PrefixListId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListAssociations'
http GET '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListAssociations'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListAssociations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListAssociations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetManagedPrefixListEntries
{{baseUrl}}/#Action=GetManagedPrefixListEntries
QUERY PARAMS
PrefixListId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListEntries");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetManagedPrefixListEntries" {:query-params {:PrefixListId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListEntries"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListEntries"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListEntries");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListEntries"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?PrefixListId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListEntries")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListEntries"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListEntries")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListEntries")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListEntries');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetManagedPrefixListEntries',
params: {PrefixListId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListEntries';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListEntries',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListEntries")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?PrefixListId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetManagedPrefixListEntries',
qs: {PrefixListId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetManagedPrefixListEntries');
req.query({
PrefixListId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetManagedPrefixListEntries',
params: {PrefixListId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListEntries';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListEntries"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListEntries" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListEntries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListEntries');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetManagedPrefixListEntries');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'PrefixListId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetManagedPrefixListEntries');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'PrefixListId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListEntries' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListEntries' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?PrefixListId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetManagedPrefixListEntries"
querystring = {"PrefixListId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetManagedPrefixListEntries"
queryString <- list(
PrefixListId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListEntries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['PrefixListId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetManagedPrefixListEntries";
let querystring = [
("PrefixListId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListEntries'
http GET '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListEntries'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListEntries'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=GetManagedPrefixListEntries")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetNetworkInsightsAccessScopeAnalysisFindings
{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeAnalysisFindings
QUERY PARAMS
NetworkInsightsAccessScopeAnalysisId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeAnalysisFindings" {:query-params {:NetworkInsightsAccessScopeAnalysisId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeAnalysisFindings',
params: {NetworkInsightsAccessScopeAnalysisId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeAnalysisFindings',
qs: {NetworkInsightsAccessScopeAnalysisId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeAnalysisFindings');
req.query({
NetworkInsightsAccessScopeAnalysisId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeAnalysisFindings',
params: {NetworkInsightsAccessScopeAnalysisId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeAnalysisFindings');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'NetworkInsightsAccessScopeAnalysisId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeAnalysisFindings');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'NetworkInsightsAccessScopeAnalysisId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeAnalysisFindings"
querystring = {"NetworkInsightsAccessScopeAnalysisId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeAnalysisFindings"
queryString <- list(
NetworkInsightsAccessScopeAnalysisId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['NetworkInsightsAccessScopeAnalysisId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeAnalysisFindings";
let querystring = [
("NetworkInsightsAccessScopeAnalysisId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings'
http GET '{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?NetworkInsightsAccessScopeAnalysisId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetNetworkInsightsAccessScopeContent
{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeContent
QUERY PARAMS
NetworkInsightsAccessScopeId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeContent");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeContent" {:query-params {:NetworkInsightsAccessScopeId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeContent"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeContent"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeContent");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeContent"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?NetworkInsightsAccessScopeId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeContent")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeContent"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeContent")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeContent")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeContent');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeContent',
params: {NetworkInsightsAccessScopeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeContent';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeContent',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeContent")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?NetworkInsightsAccessScopeId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeContent',
qs: {NetworkInsightsAccessScopeId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeContent');
req.query({
NetworkInsightsAccessScopeId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeContent',
params: {NetworkInsightsAccessScopeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeContent';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeContent"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeContent" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeContent",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeContent');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeContent');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'NetworkInsightsAccessScopeId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeContent');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'NetworkInsightsAccessScopeId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeContent' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeContent' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?NetworkInsightsAccessScopeId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeContent"
querystring = {"NetworkInsightsAccessScopeId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeContent"
queryString <- list(
NetworkInsightsAccessScopeId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeContent")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['NetworkInsightsAccessScopeId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeContent";
let querystring = [
("NetworkInsightsAccessScopeId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeContent'
http GET '{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeContent'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeContent'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?NetworkInsightsAccessScopeId=&Action=&Version=#Action=GetNetworkInsightsAccessScopeContent")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetPasswordData
{{baseUrl}}/#Action=GetPasswordData
QUERY PARAMS
InstanceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetPasswordData");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetPasswordData" {:query-params {:InstanceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetPasswordData"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetPasswordData"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetPasswordData");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetPasswordData"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetPasswordData")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetPasswordData"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetPasswordData")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetPasswordData")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetPasswordData');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetPasswordData',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetPasswordData';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetPasswordData',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetPasswordData")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetPasswordData',
qs: {InstanceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetPasswordData');
req.query({
InstanceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetPasswordData',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetPasswordData';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetPasswordData"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetPasswordData" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetPasswordData",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetPasswordData');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetPasswordData');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetPasswordData');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetPasswordData' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetPasswordData' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetPasswordData"
querystring = {"InstanceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetPasswordData"
queryString <- list(
InstanceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetPasswordData")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetPasswordData";
let querystring = [
("InstanceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetPasswordData'
http GET '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetPasswordData'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetPasswordData'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=GetPasswordData")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetReservedInstancesExchangeQuote
{{baseUrl}}/#Action=GetReservedInstancesExchangeQuote
QUERY PARAMS
ReservedInstanceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=GetReservedInstancesExchangeQuote");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetReservedInstancesExchangeQuote" {:query-params {:ReservedInstanceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=GetReservedInstancesExchangeQuote"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=GetReservedInstancesExchangeQuote"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=GetReservedInstancesExchangeQuote");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=GetReservedInstancesExchangeQuote"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ReservedInstanceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=GetReservedInstancesExchangeQuote")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=GetReservedInstancesExchangeQuote"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=GetReservedInstancesExchangeQuote")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=GetReservedInstancesExchangeQuote")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=GetReservedInstancesExchangeQuote');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetReservedInstancesExchangeQuote',
params: {ReservedInstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=GetReservedInstancesExchangeQuote';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=GetReservedInstancesExchangeQuote',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=GetReservedInstancesExchangeQuote")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ReservedInstanceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetReservedInstancesExchangeQuote',
qs: {ReservedInstanceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetReservedInstancesExchangeQuote');
req.query({
ReservedInstanceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetReservedInstancesExchangeQuote',
params: {ReservedInstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=GetReservedInstancesExchangeQuote';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=GetReservedInstancesExchangeQuote"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=GetReservedInstancesExchangeQuote" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=GetReservedInstancesExchangeQuote",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=GetReservedInstancesExchangeQuote');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetReservedInstancesExchangeQuote');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ReservedInstanceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetReservedInstancesExchangeQuote');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ReservedInstanceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=GetReservedInstancesExchangeQuote' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=GetReservedInstancesExchangeQuote' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ReservedInstanceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetReservedInstancesExchangeQuote"
querystring = {"ReservedInstanceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetReservedInstancesExchangeQuote"
queryString <- list(
ReservedInstanceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=GetReservedInstancesExchangeQuote")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ReservedInstanceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetReservedInstancesExchangeQuote";
let querystring = [
("ReservedInstanceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=GetReservedInstancesExchangeQuote'
http GET '{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=GetReservedInstancesExchangeQuote'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=GetReservedInstancesExchangeQuote'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ReservedInstanceId=&Action=&Version=#Action=GetReservedInstancesExchangeQuote")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetSerialConsoleAccessStatus
{{baseUrl}}/#Action=GetSerialConsoleAccessStatus
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetSerialConsoleAccessStatus" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetSerialConsoleAccessStatus',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetSerialConsoleAccessStatus',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetSerialConsoleAccessStatus');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetSerialConsoleAccessStatus',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetSerialConsoleAccessStatus');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetSerialConsoleAccessStatus');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetSerialConsoleAccessStatus"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetSerialConsoleAccessStatus"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetSerialConsoleAccessStatus";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus'
http GET '{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetSpotPlacementScores
{{baseUrl}}/#Action=GetSpotPlacementScores
QUERY PARAMS
TargetCapacity
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TargetCapacity=&Action=&Version=#Action=GetSpotPlacementScores");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetSpotPlacementScores" {:query-params {:TargetCapacity ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TargetCapacity=&Action=&Version=#Action=GetSpotPlacementScores"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TargetCapacity=&Action=&Version=#Action=GetSpotPlacementScores"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TargetCapacity=&Action=&Version=#Action=GetSpotPlacementScores");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TargetCapacity=&Action=&Version=#Action=GetSpotPlacementScores"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TargetCapacity=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TargetCapacity=&Action=&Version=#Action=GetSpotPlacementScores")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TargetCapacity=&Action=&Version=#Action=GetSpotPlacementScores"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TargetCapacity=&Action=&Version=#Action=GetSpotPlacementScores")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TargetCapacity=&Action=&Version=#Action=GetSpotPlacementScores")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TargetCapacity=&Action=&Version=#Action=GetSpotPlacementScores');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetSpotPlacementScores',
params: {TargetCapacity: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TargetCapacity=&Action=&Version=#Action=GetSpotPlacementScores';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TargetCapacity=&Action=&Version=#Action=GetSpotPlacementScores',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TargetCapacity=&Action=&Version=#Action=GetSpotPlacementScores")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TargetCapacity=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetSpotPlacementScores',
qs: {TargetCapacity: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetSpotPlacementScores');
req.query({
TargetCapacity: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetSpotPlacementScores',
params: {TargetCapacity: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TargetCapacity=&Action=&Version=#Action=GetSpotPlacementScores';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TargetCapacity=&Action=&Version=#Action=GetSpotPlacementScores"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TargetCapacity=&Action=&Version=#Action=GetSpotPlacementScores" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TargetCapacity=&Action=&Version=#Action=GetSpotPlacementScores",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TargetCapacity=&Action=&Version=#Action=GetSpotPlacementScores');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetSpotPlacementScores');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TargetCapacity' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetSpotPlacementScores');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TargetCapacity' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TargetCapacity=&Action=&Version=#Action=GetSpotPlacementScores' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TargetCapacity=&Action=&Version=#Action=GetSpotPlacementScores' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TargetCapacity=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetSpotPlacementScores"
querystring = {"TargetCapacity":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetSpotPlacementScores"
queryString <- list(
TargetCapacity = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TargetCapacity=&Action=&Version=#Action=GetSpotPlacementScores")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TargetCapacity'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetSpotPlacementScores";
let querystring = [
("TargetCapacity", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TargetCapacity=&Action=&Version=#Action=GetSpotPlacementScores'
http GET '{{baseUrl}}/?TargetCapacity=&Action=&Version=#Action=GetSpotPlacementScores'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TargetCapacity=&Action=&Version=#Action=GetSpotPlacementScores'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TargetCapacity=&Action=&Version=#Action=GetSpotPlacementScores")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetSubnetCidrReservations
{{baseUrl}}/#Action=GetSubnetCidrReservations
QUERY PARAMS
SubnetId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=GetSubnetCidrReservations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetSubnetCidrReservations" {:query-params {:SubnetId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=GetSubnetCidrReservations"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=GetSubnetCidrReservations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=GetSubnetCidrReservations");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=GetSubnetCidrReservations"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?SubnetId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=GetSubnetCidrReservations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=GetSubnetCidrReservations"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=GetSubnetCidrReservations")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=GetSubnetCidrReservations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=GetSubnetCidrReservations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetSubnetCidrReservations',
params: {SubnetId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=GetSubnetCidrReservations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=GetSubnetCidrReservations',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=GetSubnetCidrReservations")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?SubnetId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetSubnetCidrReservations',
qs: {SubnetId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetSubnetCidrReservations');
req.query({
SubnetId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetSubnetCidrReservations',
params: {SubnetId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=GetSubnetCidrReservations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?SubnetId=&Action=&Version=#Action=GetSubnetCidrReservations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=GetSubnetCidrReservations" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?SubnetId=&Action=&Version=#Action=GetSubnetCidrReservations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=GetSubnetCidrReservations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetSubnetCidrReservations');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'SubnetId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetSubnetCidrReservations');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'SubnetId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=GetSubnetCidrReservations' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=GetSubnetCidrReservations' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?SubnetId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetSubnetCidrReservations"
querystring = {"SubnetId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetSubnetCidrReservations"
queryString <- list(
SubnetId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=GetSubnetCidrReservations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['SubnetId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetSubnetCidrReservations";
let querystring = [
("SubnetId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=GetSubnetCidrReservations'
http GET '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=GetSubnetCidrReservations'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=GetSubnetCidrReservations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=GetSubnetCidrReservations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetTransitGatewayAttachmentPropagations
{{baseUrl}}/#Action=GetTransitGatewayAttachmentPropagations
QUERY PARAMS
TransitGatewayAttachmentId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=GetTransitGatewayAttachmentPropagations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetTransitGatewayAttachmentPropagations" {:query-params {:TransitGatewayAttachmentId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=GetTransitGatewayAttachmentPropagations"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=GetTransitGatewayAttachmentPropagations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=GetTransitGatewayAttachmentPropagations");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=GetTransitGatewayAttachmentPropagations"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayAttachmentId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=GetTransitGatewayAttachmentPropagations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=GetTransitGatewayAttachmentPropagations"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=GetTransitGatewayAttachmentPropagations")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=GetTransitGatewayAttachmentPropagations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=GetTransitGatewayAttachmentPropagations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetTransitGatewayAttachmentPropagations',
params: {TransitGatewayAttachmentId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=GetTransitGatewayAttachmentPropagations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=GetTransitGatewayAttachmentPropagations',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=GetTransitGatewayAttachmentPropagations")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayAttachmentId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetTransitGatewayAttachmentPropagations',
qs: {TransitGatewayAttachmentId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetTransitGatewayAttachmentPropagations');
req.query({
TransitGatewayAttachmentId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetTransitGatewayAttachmentPropagations',
params: {TransitGatewayAttachmentId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=GetTransitGatewayAttachmentPropagations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=GetTransitGatewayAttachmentPropagations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=GetTransitGatewayAttachmentPropagations" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=GetTransitGatewayAttachmentPropagations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=GetTransitGatewayAttachmentPropagations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetTransitGatewayAttachmentPropagations');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayAttachmentId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetTransitGatewayAttachmentPropagations');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayAttachmentId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=GetTransitGatewayAttachmentPropagations' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=GetTransitGatewayAttachmentPropagations' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayAttachmentId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetTransitGatewayAttachmentPropagations"
querystring = {"TransitGatewayAttachmentId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetTransitGatewayAttachmentPropagations"
queryString <- list(
TransitGatewayAttachmentId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=GetTransitGatewayAttachmentPropagations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayAttachmentId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetTransitGatewayAttachmentPropagations";
let querystring = [
("TransitGatewayAttachmentId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=GetTransitGatewayAttachmentPropagations'
http GET '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=GetTransitGatewayAttachmentPropagations'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=GetTransitGatewayAttachmentPropagations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=GetTransitGatewayAttachmentPropagations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetTransitGatewayMulticastDomainAssociations
{{baseUrl}}/#Action=GetTransitGatewayMulticastDomainAssociations
QUERY PARAMS
TransitGatewayMulticastDomainId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetTransitGatewayMulticastDomainAssociations" {:query-params {:TransitGatewayMulticastDomainId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayMulticastDomainId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetTransitGatewayMulticastDomainAssociations',
params: {TransitGatewayMulticastDomainId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayMulticastDomainId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetTransitGatewayMulticastDomainAssociations',
qs: {TransitGatewayMulticastDomainId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetTransitGatewayMulticastDomainAssociations');
req.query({
TransitGatewayMulticastDomainId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetTransitGatewayMulticastDomainAssociations',
params: {TransitGatewayMulticastDomainId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetTransitGatewayMulticastDomainAssociations');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayMulticastDomainId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetTransitGatewayMulticastDomainAssociations');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayMulticastDomainId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayMulticastDomainId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetTransitGatewayMulticastDomainAssociations"
querystring = {"TransitGatewayMulticastDomainId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetTransitGatewayMulticastDomainAssociations"
queryString <- list(
TransitGatewayMulticastDomainId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayMulticastDomainId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetTransitGatewayMulticastDomainAssociations";
let querystring = [
("TransitGatewayMulticastDomainId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations'
http GET '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetTransitGatewayPolicyTableAssociations
{{baseUrl}}/#Action=GetTransitGatewayPolicyTableAssociations
QUERY PARAMS
TransitGatewayPolicyTableId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetTransitGatewayPolicyTableAssociations" {:query-params {:TransitGatewayPolicyTableId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayPolicyTableId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetTransitGatewayPolicyTableAssociations',
params: {TransitGatewayPolicyTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayPolicyTableId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetTransitGatewayPolicyTableAssociations',
qs: {TransitGatewayPolicyTableId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetTransitGatewayPolicyTableAssociations');
req.query({
TransitGatewayPolicyTableId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetTransitGatewayPolicyTableAssociations',
params: {TransitGatewayPolicyTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetTransitGatewayPolicyTableAssociations');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayPolicyTableId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetTransitGatewayPolicyTableAssociations');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayPolicyTableId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayPolicyTableId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetTransitGatewayPolicyTableAssociations"
querystring = {"TransitGatewayPolicyTableId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetTransitGatewayPolicyTableAssociations"
queryString <- list(
TransitGatewayPolicyTableId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayPolicyTableId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetTransitGatewayPolicyTableAssociations";
let querystring = [
("TransitGatewayPolicyTableId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations'
http GET '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetTransitGatewayPolicyTableEntries
{{baseUrl}}/#Action=GetTransitGatewayPolicyTableEntries
QUERY PARAMS
TransitGatewayPolicyTableId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableEntries");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetTransitGatewayPolicyTableEntries" {:query-params {:TransitGatewayPolicyTableId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableEntries"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableEntries"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableEntries");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableEntries"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayPolicyTableId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableEntries")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableEntries"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableEntries")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableEntries")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableEntries');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetTransitGatewayPolicyTableEntries',
params: {TransitGatewayPolicyTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableEntries';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableEntries',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableEntries")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayPolicyTableId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetTransitGatewayPolicyTableEntries',
qs: {TransitGatewayPolicyTableId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetTransitGatewayPolicyTableEntries');
req.query({
TransitGatewayPolicyTableId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetTransitGatewayPolicyTableEntries',
params: {TransitGatewayPolicyTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableEntries';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableEntries"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableEntries" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableEntries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableEntries');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetTransitGatewayPolicyTableEntries');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayPolicyTableId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetTransitGatewayPolicyTableEntries');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayPolicyTableId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableEntries' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableEntries' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayPolicyTableId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetTransitGatewayPolicyTableEntries"
querystring = {"TransitGatewayPolicyTableId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetTransitGatewayPolicyTableEntries"
queryString <- list(
TransitGatewayPolicyTableId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableEntries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayPolicyTableId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetTransitGatewayPolicyTableEntries";
let querystring = [
("TransitGatewayPolicyTableId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableEntries'
http GET '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableEntries'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableEntries'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayPolicyTableId=&Action=&Version=#Action=GetTransitGatewayPolicyTableEntries")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetTransitGatewayPrefixListReferences
{{baseUrl}}/#Action=GetTransitGatewayPrefixListReferences
QUERY PARAMS
TransitGatewayRouteTableId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayPrefixListReferences");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetTransitGatewayPrefixListReferences" {:query-params {:TransitGatewayRouteTableId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayPrefixListReferences"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayPrefixListReferences"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayPrefixListReferences");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayPrefixListReferences"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayRouteTableId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayPrefixListReferences")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayPrefixListReferences"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayPrefixListReferences")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayPrefixListReferences")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayPrefixListReferences');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetTransitGatewayPrefixListReferences',
params: {TransitGatewayRouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayPrefixListReferences';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayPrefixListReferences',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayPrefixListReferences")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayRouteTableId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetTransitGatewayPrefixListReferences',
qs: {TransitGatewayRouteTableId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetTransitGatewayPrefixListReferences');
req.query({
TransitGatewayRouteTableId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetTransitGatewayPrefixListReferences',
params: {TransitGatewayRouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayPrefixListReferences';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayPrefixListReferences"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayPrefixListReferences" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayPrefixListReferences",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayPrefixListReferences');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetTransitGatewayPrefixListReferences');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayRouteTableId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetTransitGatewayPrefixListReferences');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayRouteTableId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayPrefixListReferences' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayPrefixListReferences' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayRouteTableId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetTransitGatewayPrefixListReferences"
querystring = {"TransitGatewayRouteTableId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetTransitGatewayPrefixListReferences"
queryString <- list(
TransitGatewayRouteTableId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayPrefixListReferences")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayRouteTableId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetTransitGatewayPrefixListReferences";
let querystring = [
("TransitGatewayRouteTableId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayPrefixListReferences'
http GET '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayPrefixListReferences'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayPrefixListReferences'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayPrefixListReferences")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetTransitGatewayRouteTableAssociations
{{baseUrl}}/#Action=GetTransitGatewayRouteTableAssociations
QUERY PARAMS
TransitGatewayRouteTableId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTableAssociations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetTransitGatewayRouteTableAssociations" {:query-params {:TransitGatewayRouteTableId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTableAssociations"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTableAssociations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTableAssociations");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTableAssociations"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayRouteTableId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTableAssociations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTableAssociations"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTableAssociations")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTableAssociations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTableAssociations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetTransitGatewayRouteTableAssociations',
params: {TransitGatewayRouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTableAssociations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTableAssociations',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTableAssociations")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayRouteTableId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetTransitGatewayRouteTableAssociations',
qs: {TransitGatewayRouteTableId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetTransitGatewayRouteTableAssociations');
req.query({
TransitGatewayRouteTableId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetTransitGatewayRouteTableAssociations',
params: {TransitGatewayRouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTableAssociations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTableAssociations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTableAssociations" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTableAssociations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTableAssociations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetTransitGatewayRouteTableAssociations');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayRouteTableId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetTransitGatewayRouteTableAssociations');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayRouteTableId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTableAssociations' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTableAssociations' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayRouteTableId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetTransitGatewayRouteTableAssociations"
querystring = {"TransitGatewayRouteTableId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetTransitGatewayRouteTableAssociations"
queryString <- list(
TransitGatewayRouteTableId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTableAssociations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayRouteTableId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetTransitGatewayRouteTableAssociations";
let querystring = [
("TransitGatewayRouteTableId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTableAssociations'
http GET '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTableAssociations'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTableAssociations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTableAssociations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetTransitGatewayRouteTablePropagations
{{baseUrl}}/#Action=GetTransitGatewayRouteTablePropagations
QUERY PARAMS
TransitGatewayRouteTableId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTablePropagations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetTransitGatewayRouteTablePropagations" {:query-params {:TransitGatewayRouteTableId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTablePropagations"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTablePropagations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTablePropagations");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTablePropagations"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayRouteTableId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTablePropagations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTablePropagations"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTablePropagations")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTablePropagations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTablePropagations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetTransitGatewayRouteTablePropagations',
params: {TransitGatewayRouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTablePropagations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTablePropagations',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTablePropagations")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayRouteTableId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetTransitGatewayRouteTablePropagations',
qs: {TransitGatewayRouteTableId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetTransitGatewayRouteTablePropagations');
req.query({
TransitGatewayRouteTableId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetTransitGatewayRouteTablePropagations',
params: {TransitGatewayRouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTablePropagations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTablePropagations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTablePropagations" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTablePropagations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTablePropagations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetTransitGatewayRouteTablePropagations');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayRouteTableId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetTransitGatewayRouteTablePropagations');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayRouteTableId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTablePropagations' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTablePropagations' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayRouteTableId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetTransitGatewayRouteTablePropagations"
querystring = {"TransitGatewayRouteTableId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetTransitGatewayRouteTablePropagations"
queryString <- list(
TransitGatewayRouteTableId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTablePropagations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayRouteTableId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetTransitGatewayRouteTablePropagations";
let querystring = [
("TransitGatewayRouteTableId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTablePropagations'
http GET '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTablePropagations'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTablePropagations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayRouteTableId=&Action=&Version=#Action=GetTransitGatewayRouteTablePropagations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetVerifiedAccessEndpointPolicy
{{baseUrl}}/#Action=GetVerifiedAccessEndpointPolicy
QUERY PARAMS
VerifiedAccessEndpointId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=GetVerifiedAccessEndpointPolicy");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetVerifiedAccessEndpointPolicy" {:query-params {:VerifiedAccessEndpointId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=GetVerifiedAccessEndpointPolicy"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=GetVerifiedAccessEndpointPolicy"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=GetVerifiedAccessEndpointPolicy");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=GetVerifiedAccessEndpointPolicy"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VerifiedAccessEndpointId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=GetVerifiedAccessEndpointPolicy")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=GetVerifiedAccessEndpointPolicy"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=GetVerifiedAccessEndpointPolicy")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=GetVerifiedAccessEndpointPolicy")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=GetVerifiedAccessEndpointPolicy');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetVerifiedAccessEndpointPolicy',
params: {VerifiedAccessEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=GetVerifiedAccessEndpointPolicy';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=GetVerifiedAccessEndpointPolicy',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=GetVerifiedAccessEndpointPolicy")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VerifiedAccessEndpointId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetVerifiedAccessEndpointPolicy',
qs: {VerifiedAccessEndpointId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetVerifiedAccessEndpointPolicy');
req.query({
VerifiedAccessEndpointId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetVerifiedAccessEndpointPolicy',
params: {VerifiedAccessEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=GetVerifiedAccessEndpointPolicy';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=GetVerifiedAccessEndpointPolicy"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=GetVerifiedAccessEndpointPolicy" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=GetVerifiedAccessEndpointPolicy",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=GetVerifiedAccessEndpointPolicy');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetVerifiedAccessEndpointPolicy');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VerifiedAccessEndpointId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetVerifiedAccessEndpointPolicy');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VerifiedAccessEndpointId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=GetVerifiedAccessEndpointPolicy' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=GetVerifiedAccessEndpointPolicy' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VerifiedAccessEndpointId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetVerifiedAccessEndpointPolicy"
querystring = {"VerifiedAccessEndpointId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetVerifiedAccessEndpointPolicy"
queryString <- list(
VerifiedAccessEndpointId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=GetVerifiedAccessEndpointPolicy")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VerifiedAccessEndpointId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetVerifiedAccessEndpointPolicy";
let querystring = [
("VerifiedAccessEndpointId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=GetVerifiedAccessEndpointPolicy'
http GET '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=GetVerifiedAccessEndpointPolicy'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=GetVerifiedAccessEndpointPolicy'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=GetVerifiedAccessEndpointPolicy")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetVerifiedAccessGroupPolicy
{{baseUrl}}/#Action=GetVerifiedAccessGroupPolicy
QUERY PARAMS
VerifiedAccessGroupId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=GetVerifiedAccessGroupPolicy");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetVerifiedAccessGroupPolicy" {:query-params {:VerifiedAccessGroupId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=GetVerifiedAccessGroupPolicy"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=GetVerifiedAccessGroupPolicy"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=GetVerifiedAccessGroupPolicy");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=GetVerifiedAccessGroupPolicy"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VerifiedAccessGroupId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=GetVerifiedAccessGroupPolicy")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=GetVerifiedAccessGroupPolicy"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=GetVerifiedAccessGroupPolicy")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=GetVerifiedAccessGroupPolicy")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=GetVerifiedAccessGroupPolicy');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetVerifiedAccessGroupPolicy',
params: {VerifiedAccessGroupId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=GetVerifiedAccessGroupPolicy';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=GetVerifiedAccessGroupPolicy',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=GetVerifiedAccessGroupPolicy")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VerifiedAccessGroupId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetVerifiedAccessGroupPolicy',
qs: {VerifiedAccessGroupId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetVerifiedAccessGroupPolicy');
req.query({
VerifiedAccessGroupId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetVerifiedAccessGroupPolicy',
params: {VerifiedAccessGroupId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=GetVerifiedAccessGroupPolicy';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=GetVerifiedAccessGroupPolicy"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=GetVerifiedAccessGroupPolicy" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=GetVerifiedAccessGroupPolicy",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=GetVerifiedAccessGroupPolicy');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetVerifiedAccessGroupPolicy');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VerifiedAccessGroupId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetVerifiedAccessGroupPolicy');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VerifiedAccessGroupId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=GetVerifiedAccessGroupPolicy' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=GetVerifiedAccessGroupPolicy' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VerifiedAccessGroupId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetVerifiedAccessGroupPolicy"
querystring = {"VerifiedAccessGroupId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetVerifiedAccessGroupPolicy"
queryString <- list(
VerifiedAccessGroupId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=GetVerifiedAccessGroupPolicy")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VerifiedAccessGroupId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetVerifiedAccessGroupPolicy";
let querystring = [
("VerifiedAccessGroupId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=GetVerifiedAccessGroupPolicy'
http GET '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=GetVerifiedAccessGroupPolicy'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=GetVerifiedAccessGroupPolicy'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=GetVerifiedAccessGroupPolicy")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetVpnConnectionDeviceSampleConfiguration
{{baseUrl}}/#Action=GetVpnConnectionDeviceSampleConfiguration
QUERY PARAMS
VpnConnectionId
VpnConnectionDeviceTypeId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpnConnectionId=&VpnConnectionDeviceTypeId=&Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetVpnConnectionDeviceSampleConfiguration" {:query-params {:VpnConnectionId ""
:VpnConnectionDeviceTypeId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpnConnectionId=&VpnConnectionDeviceTypeId=&Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpnConnectionId=&VpnConnectionDeviceTypeId=&Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpnConnectionId=&VpnConnectionDeviceTypeId=&Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpnConnectionId=&VpnConnectionDeviceTypeId=&Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpnConnectionId=&VpnConnectionDeviceTypeId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpnConnectionId=&VpnConnectionDeviceTypeId=&Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpnConnectionId=&VpnConnectionDeviceTypeId=&Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpnConnectionId=&VpnConnectionDeviceTypeId=&Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpnConnectionId=&VpnConnectionDeviceTypeId=&Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpnConnectionId=&VpnConnectionDeviceTypeId=&Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetVpnConnectionDeviceSampleConfiguration',
params: {VpnConnectionId: '', VpnConnectionDeviceTypeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpnConnectionId=&VpnConnectionDeviceTypeId=&Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpnConnectionId=&VpnConnectionDeviceTypeId=&Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpnConnectionId=&VpnConnectionDeviceTypeId=&Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpnConnectionId=&VpnConnectionDeviceTypeId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetVpnConnectionDeviceSampleConfiguration',
qs: {VpnConnectionId: '', VpnConnectionDeviceTypeId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetVpnConnectionDeviceSampleConfiguration');
req.query({
VpnConnectionId: '',
VpnConnectionDeviceTypeId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetVpnConnectionDeviceSampleConfiguration',
params: {VpnConnectionId: '', VpnConnectionDeviceTypeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpnConnectionId=&VpnConnectionDeviceTypeId=&Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpnConnectionId=&VpnConnectionDeviceTypeId=&Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpnConnectionId=&VpnConnectionDeviceTypeId=&Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpnConnectionId=&VpnConnectionDeviceTypeId=&Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpnConnectionId=&VpnConnectionDeviceTypeId=&Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetVpnConnectionDeviceSampleConfiguration');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpnConnectionId' => '',
'VpnConnectionDeviceTypeId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetVpnConnectionDeviceSampleConfiguration');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpnConnectionId' => '',
'VpnConnectionDeviceTypeId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpnConnectionId=&VpnConnectionDeviceTypeId=&Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpnConnectionId=&VpnConnectionDeviceTypeId=&Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpnConnectionId=&VpnConnectionDeviceTypeId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetVpnConnectionDeviceSampleConfiguration"
querystring = {"VpnConnectionId":"","VpnConnectionDeviceTypeId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetVpnConnectionDeviceSampleConfiguration"
queryString <- list(
VpnConnectionId = "",
VpnConnectionDeviceTypeId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpnConnectionId=&VpnConnectionDeviceTypeId=&Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpnConnectionId'] = ''
req.params['VpnConnectionDeviceTypeId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetVpnConnectionDeviceSampleConfiguration";
let querystring = [
("VpnConnectionId", ""),
("VpnConnectionDeviceTypeId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpnConnectionId=&VpnConnectionDeviceTypeId=&Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration'
http GET '{{baseUrl}}/?VpnConnectionId=&VpnConnectionDeviceTypeId=&Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpnConnectionId=&VpnConnectionDeviceTypeId=&Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpnConnectionId=&VpnConnectionDeviceTypeId=&Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetVpnConnectionDeviceTypes
{{baseUrl}}/#Action=GetVpnConnectionDeviceTypes
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetVpnConnectionDeviceTypes" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetVpnConnectionDeviceTypes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetVpnConnectionDeviceTypes',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetVpnConnectionDeviceTypes');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetVpnConnectionDeviceTypes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetVpnConnectionDeviceTypes');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetVpnConnectionDeviceTypes');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetVpnConnectionDeviceTypes"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetVpnConnectionDeviceTypes"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetVpnConnectionDeviceTypes";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes'
http GET '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_GetVpnTunnelReplacementStatus
{{baseUrl}}/#Action=GetVpnTunnelReplacementStatus
QUERY PARAMS
VpnConnectionId
VpnTunnelOutsideIpAddress
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=GetVpnTunnelReplacementStatus");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=GetVpnTunnelReplacementStatus" {:query-params {:VpnConnectionId ""
:VpnTunnelOutsideIpAddress ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=GetVpnTunnelReplacementStatus"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=GetVpnTunnelReplacementStatus"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=GetVpnTunnelReplacementStatus");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=GetVpnTunnelReplacementStatus"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=GetVpnTunnelReplacementStatus")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=GetVpnTunnelReplacementStatus"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=GetVpnTunnelReplacementStatus")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=GetVpnTunnelReplacementStatus")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=GetVpnTunnelReplacementStatus');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetVpnTunnelReplacementStatus',
params: {VpnConnectionId: '', VpnTunnelOutsideIpAddress: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=GetVpnTunnelReplacementStatus';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=GetVpnTunnelReplacementStatus',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=GetVpnTunnelReplacementStatus")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetVpnTunnelReplacementStatus',
qs: {VpnConnectionId: '', VpnTunnelOutsideIpAddress: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=GetVpnTunnelReplacementStatus');
req.query({
VpnConnectionId: '',
VpnTunnelOutsideIpAddress: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=GetVpnTunnelReplacementStatus',
params: {VpnConnectionId: '', VpnTunnelOutsideIpAddress: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=GetVpnTunnelReplacementStatus';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=GetVpnTunnelReplacementStatus"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=GetVpnTunnelReplacementStatus" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=GetVpnTunnelReplacementStatus",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=GetVpnTunnelReplacementStatus');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetVpnTunnelReplacementStatus');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpnConnectionId' => '',
'VpnTunnelOutsideIpAddress' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetVpnTunnelReplacementStatus');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpnConnectionId' => '',
'VpnTunnelOutsideIpAddress' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=GetVpnTunnelReplacementStatus' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=GetVpnTunnelReplacementStatus' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetVpnTunnelReplacementStatus"
querystring = {"VpnConnectionId":"","VpnTunnelOutsideIpAddress":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetVpnTunnelReplacementStatus"
queryString <- list(
VpnConnectionId = "",
VpnTunnelOutsideIpAddress = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=GetVpnTunnelReplacementStatus")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpnConnectionId'] = ''
req.params['VpnTunnelOutsideIpAddress'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetVpnTunnelReplacementStatus";
let querystring = [
("VpnConnectionId", ""),
("VpnTunnelOutsideIpAddress", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=GetVpnTunnelReplacementStatus'
http GET '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=GetVpnTunnelReplacementStatus'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=GetVpnTunnelReplacementStatus'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=GetVpnTunnelReplacementStatus")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ImportClientVpnClientCertificateRevocationList
{{baseUrl}}/#Action=ImportClientVpnClientCertificateRevocationList
QUERY PARAMS
ClientVpnEndpointId
CertificateRevocationList
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ClientVpnEndpointId=&CertificateRevocationList=&Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ImportClientVpnClientCertificateRevocationList" {:query-params {:ClientVpnEndpointId ""
:CertificateRevocationList ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ClientVpnEndpointId=&CertificateRevocationList=&Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ClientVpnEndpointId=&CertificateRevocationList=&Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ClientVpnEndpointId=&CertificateRevocationList=&Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ClientVpnEndpointId=&CertificateRevocationList=&Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ClientVpnEndpointId=&CertificateRevocationList=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ClientVpnEndpointId=&CertificateRevocationList=&Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ClientVpnEndpointId=&CertificateRevocationList=&Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&CertificateRevocationList=&Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ClientVpnEndpointId=&CertificateRevocationList=&Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ClientVpnEndpointId=&CertificateRevocationList=&Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ImportClientVpnClientCertificateRevocationList',
params: {
ClientVpnEndpointId: '',
CertificateRevocationList: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ClientVpnEndpointId=&CertificateRevocationList=&Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ClientVpnEndpointId=&CertificateRevocationList=&Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&CertificateRevocationList=&Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ClientVpnEndpointId=&CertificateRevocationList=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ImportClientVpnClientCertificateRevocationList',
qs: {
ClientVpnEndpointId: '',
CertificateRevocationList: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ImportClientVpnClientCertificateRevocationList');
req.query({
ClientVpnEndpointId: '',
CertificateRevocationList: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ImportClientVpnClientCertificateRevocationList',
params: {
ClientVpnEndpointId: '',
CertificateRevocationList: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ClientVpnEndpointId=&CertificateRevocationList=&Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ClientVpnEndpointId=&CertificateRevocationList=&Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ClientVpnEndpointId=&CertificateRevocationList=&Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ClientVpnEndpointId=&CertificateRevocationList=&Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ClientVpnEndpointId=&CertificateRevocationList=&Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ImportClientVpnClientCertificateRevocationList');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ClientVpnEndpointId' => '',
'CertificateRevocationList' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ImportClientVpnClientCertificateRevocationList');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ClientVpnEndpointId' => '',
'CertificateRevocationList' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ClientVpnEndpointId=&CertificateRevocationList=&Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ClientVpnEndpointId=&CertificateRevocationList=&Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ClientVpnEndpointId=&CertificateRevocationList=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ImportClientVpnClientCertificateRevocationList"
querystring = {"ClientVpnEndpointId":"","CertificateRevocationList":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ImportClientVpnClientCertificateRevocationList"
queryString <- list(
ClientVpnEndpointId = "",
CertificateRevocationList = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ClientVpnEndpointId=&CertificateRevocationList=&Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ClientVpnEndpointId'] = ''
req.params['CertificateRevocationList'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ImportClientVpnClientCertificateRevocationList";
let querystring = [
("ClientVpnEndpointId", ""),
("CertificateRevocationList", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ClientVpnEndpointId=&CertificateRevocationList=&Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList'
http GET '{{baseUrl}}/?ClientVpnEndpointId=&CertificateRevocationList=&Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ClientVpnEndpointId=&CertificateRevocationList=&Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ClientVpnEndpointId=&CertificateRevocationList=&Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ImportImage
{{baseUrl}}/#Action=ImportImage
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ImportImage");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ImportImage" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ImportImage"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ImportImage"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ImportImage");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ImportImage"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=ImportImage")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ImportImage"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ImportImage")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=ImportImage")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=ImportImage');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ImportImage',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ImportImage';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ImportImage',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ImportImage")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ImportImage',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ImportImage');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ImportImage',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ImportImage';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ImportImage"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ImportImage" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ImportImage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=ImportImage');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ImportImage');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ImportImage');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ImportImage' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ImportImage' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ImportImage"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ImportImage"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ImportImage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ImportImage";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=ImportImage'
http GET '{{baseUrl}}/?Action=&Version=#Action=ImportImage'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ImportImage'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ImportImage")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ImportInstance
{{baseUrl}}/#Action=ImportInstance
QUERY PARAMS
Platform
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Platform=&Action=&Version=#Action=ImportInstance");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ImportInstance" {:query-params {:Platform ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Platform=&Action=&Version=#Action=ImportInstance"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Platform=&Action=&Version=#Action=ImportInstance"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Platform=&Action=&Version=#Action=ImportInstance");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Platform=&Action=&Version=#Action=ImportInstance"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Platform=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Platform=&Action=&Version=#Action=ImportInstance")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Platform=&Action=&Version=#Action=ImportInstance"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Platform=&Action=&Version=#Action=ImportInstance")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Platform=&Action=&Version=#Action=ImportInstance")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Platform=&Action=&Version=#Action=ImportInstance');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ImportInstance',
params: {Platform: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Platform=&Action=&Version=#Action=ImportInstance';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Platform=&Action=&Version=#Action=ImportInstance',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Platform=&Action=&Version=#Action=ImportInstance")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Platform=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ImportInstance',
qs: {Platform: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ImportInstance');
req.query({
Platform: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ImportInstance',
params: {Platform: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Platform=&Action=&Version=#Action=ImportInstance';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Platform=&Action=&Version=#Action=ImportInstance"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Platform=&Action=&Version=#Action=ImportInstance" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Platform=&Action=&Version=#Action=ImportInstance",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Platform=&Action=&Version=#Action=ImportInstance');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ImportInstance');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Platform' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ImportInstance');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Platform' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Platform=&Action=&Version=#Action=ImportInstance' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Platform=&Action=&Version=#Action=ImportInstance' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Platform=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ImportInstance"
querystring = {"Platform":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ImportInstance"
queryString <- list(
Platform = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Platform=&Action=&Version=#Action=ImportInstance")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Platform'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ImportInstance";
let querystring = [
("Platform", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Platform=&Action=&Version=#Action=ImportInstance'
http GET '{{baseUrl}}/?Platform=&Action=&Version=#Action=ImportInstance'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Platform=&Action=&Version=#Action=ImportInstance'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Platform=&Action=&Version=#Action=ImportInstance")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ImportKeyPair
{{baseUrl}}/#Action=ImportKeyPair
QUERY PARAMS
KeyName
PublicKeyMaterial
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?KeyName=&PublicKeyMaterial=&Action=&Version=#Action=ImportKeyPair");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ImportKeyPair" {:query-params {:KeyName ""
:PublicKeyMaterial ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?KeyName=&PublicKeyMaterial=&Action=&Version=#Action=ImportKeyPair"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?KeyName=&PublicKeyMaterial=&Action=&Version=#Action=ImportKeyPair"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?KeyName=&PublicKeyMaterial=&Action=&Version=#Action=ImportKeyPair");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?KeyName=&PublicKeyMaterial=&Action=&Version=#Action=ImportKeyPair"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?KeyName=&PublicKeyMaterial=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?KeyName=&PublicKeyMaterial=&Action=&Version=#Action=ImportKeyPair")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?KeyName=&PublicKeyMaterial=&Action=&Version=#Action=ImportKeyPair"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?KeyName=&PublicKeyMaterial=&Action=&Version=#Action=ImportKeyPair")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?KeyName=&PublicKeyMaterial=&Action=&Version=#Action=ImportKeyPair")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?KeyName=&PublicKeyMaterial=&Action=&Version=#Action=ImportKeyPair');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ImportKeyPair',
params: {KeyName: '', PublicKeyMaterial: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?KeyName=&PublicKeyMaterial=&Action=&Version=#Action=ImportKeyPair';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?KeyName=&PublicKeyMaterial=&Action=&Version=#Action=ImportKeyPair',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?KeyName=&PublicKeyMaterial=&Action=&Version=#Action=ImportKeyPair")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?KeyName=&PublicKeyMaterial=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ImportKeyPair',
qs: {KeyName: '', PublicKeyMaterial: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ImportKeyPair');
req.query({
KeyName: '',
PublicKeyMaterial: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ImportKeyPair',
params: {KeyName: '', PublicKeyMaterial: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?KeyName=&PublicKeyMaterial=&Action=&Version=#Action=ImportKeyPair';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?KeyName=&PublicKeyMaterial=&Action=&Version=#Action=ImportKeyPair"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?KeyName=&PublicKeyMaterial=&Action=&Version=#Action=ImportKeyPair" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?KeyName=&PublicKeyMaterial=&Action=&Version=#Action=ImportKeyPair",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?KeyName=&PublicKeyMaterial=&Action=&Version=#Action=ImportKeyPair');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ImportKeyPair');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'KeyName' => '',
'PublicKeyMaterial' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ImportKeyPair');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'KeyName' => '',
'PublicKeyMaterial' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?KeyName=&PublicKeyMaterial=&Action=&Version=#Action=ImportKeyPair' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?KeyName=&PublicKeyMaterial=&Action=&Version=#Action=ImportKeyPair' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?KeyName=&PublicKeyMaterial=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ImportKeyPair"
querystring = {"KeyName":"","PublicKeyMaterial":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ImportKeyPair"
queryString <- list(
KeyName = "",
PublicKeyMaterial = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?KeyName=&PublicKeyMaterial=&Action=&Version=#Action=ImportKeyPair")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['KeyName'] = ''
req.params['PublicKeyMaterial'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ImportKeyPair";
let querystring = [
("KeyName", ""),
("PublicKeyMaterial", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?KeyName=&PublicKeyMaterial=&Action=&Version=#Action=ImportKeyPair'
http GET '{{baseUrl}}/?KeyName=&PublicKeyMaterial=&Action=&Version=#Action=ImportKeyPair'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?KeyName=&PublicKeyMaterial=&Action=&Version=#Action=ImportKeyPair'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?KeyName=&PublicKeyMaterial=&Action=&Version=#Action=ImportKeyPair")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ImportSnapshot
{{baseUrl}}/#Action=ImportSnapshot
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ImportSnapshot" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ImportSnapshot',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ImportSnapshot',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ImportSnapshot');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ImportSnapshot',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ImportSnapshot');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ImportSnapshot');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ImportSnapshot"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ImportSnapshot"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ImportSnapshot";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot'
http GET '{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ImportVolume
{{baseUrl}}/#Action=ImportVolume
QUERY PARAMS
AvailabilityZone
Image
Volume
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?AvailabilityZone=&Image=&Volume=&Action=&Version=#Action=ImportVolume");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ImportVolume" {:query-params {:AvailabilityZone ""
:Image ""
:Volume ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?AvailabilityZone=&Image=&Volume=&Action=&Version=#Action=ImportVolume"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?AvailabilityZone=&Image=&Volume=&Action=&Version=#Action=ImportVolume"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?AvailabilityZone=&Image=&Volume=&Action=&Version=#Action=ImportVolume");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?AvailabilityZone=&Image=&Volume=&Action=&Version=#Action=ImportVolume"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?AvailabilityZone=&Image=&Volume=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?AvailabilityZone=&Image=&Volume=&Action=&Version=#Action=ImportVolume")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?AvailabilityZone=&Image=&Volume=&Action=&Version=#Action=ImportVolume"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?AvailabilityZone=&Image=&Volume=&Action=&Version=#Action=ImportVolume")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?AvailabilityZone=&Image=&Volume=&Action=&Version=#Action=ImportVolume")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?AvailabilityZone=&Image=&Volume=&Action=&Version=#Action=ImportVolume');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ImportVolume',
params: {AvailabilityZone: '', Image: '', Volume: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?AvailabilityZone=&Image=&Volume=&Action=&Version=#Action=ImportVolume';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?AvailabilityZone=&Image=&Volume=&Action=&Version=#Action=ImportVolume',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?AvailabilityZone=&Image=&Volume=&Action=&Version=#Action=ImportVolume")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?AvailabilityZone=&Image=&Volume=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ImportVolume',
qs: {AvailabilityZone: '', Image: '', Volume: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ImportVolume');
req.query({
AvailabilityZone: '',
Image: '',
Volume: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ImportVolume',
params: {AvailabilityZone: '', Image: '', Volume: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?AvailabilityZone=&Image=&Volume=&Action=&Version=#Action=ImportVolume';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?AvailabilityZone=&Image=&Volume=&Action=&Version=#Action=ImportVolume"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?AvailabilityZone=&Image=&Volume=&Action=&Version=#Action=ImportVolume" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?AvailabilityZone=&Image=&Volume=&Action=&Version=#Action=ImportVolume",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?AvailabilityZone=&Image=&Volume=&Action=&Version=#Action=ImportVolume');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ImportVolume');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'AvailabilityZone' => '',
'Image' => '',
'Volume' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ImportVolume');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'AvailabilityZone' => '',
'Image' => '',
'Volume' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?AvailabilityZone=&Image=&Volume=&Action=&Version=#Action=ImportVolume' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?AvailabilityZone=&Image=&Volume=&Action=&Version=#Action=ImportVolume' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?AvailabilityZone=&Image=&Volume=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ImportVolume"
querystring = {"AvailabilityZone":"","Image":"","Volume":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ImportVolume"
queryString <- list(
AvailabilityZone = "",
Image = "",
Volume = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?AvailabilityZone=&Image=&Volume=&Action=&Version=#Action=ImportVolume")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['AvailabilityZone'] = ''
req.params['Image'] = ''
req.params['Volume'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ImportVolume";
let querystring = [
("AvailabilityZone", ""),
("Image", ""),
("Volume", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?AvailabilityZone=&Image=&Volume=&Action=&Version=#Action=ImportVolume'
http GET '{{baseUrl}}/?AvailabilityZone=&Image=&Volume=&Action=&Version=#Action=ImportVolume'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?AvailabilityZone=&Image=&Volume=&Action=&Version=#Action=ImportVolume'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?AvailabilityZone=&Image=&Volume=&Action=&Version=#Action=ImportVolume")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ListImagesInRecycleBin
{{baseUrl}}/#Action=ListImagesInRecycleBin
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ListImagesInRecycleBin" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ListImagesInRecycleBin',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ListImagesInRecycleBin',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ListImagesInRecycleBin');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ListImagesInRecycleBin',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ListImagesInRecycleBin');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ListImagesInRecycleBin');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ListImagesInRecycleBin"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ListImagesInRecycleBin"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ListImagesInRecycleBin";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin'
http GET '{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ListSnapshotsInRecycleBin
{{baseUrl}}/#Action=ListSnapshotsInRecycleBin
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ListSnapshotsInRecycleBin" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ListSnapshotsInRecycleBin',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ListSnapshotsInRecycleBin',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ListSnapshotsInRecycleBin');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ListSnapshotsInRecycleBin',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ListSnapshotsInRecycleBin');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ListSnapshotsInRecycleBin');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ListSnapshotsInRecycleBin"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ListSnapshotsInRecycleBin"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ListSnapshotsInRecycleBin";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin'
http GET '{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyAddressAttribute
{{baseUrl}}/#Action=ModifyAddressAttribute
QUERY PARAMS
AllocationId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?AllocationId=&Action=&Version=#Action=ModifyAddressAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyAddressAttribute" {:query-params {:AllocationId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?AllocationId=&Action=&Version=#Action=ModifyAddressAttribute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?AllocationId=&Action=&Version=#Action=ModifyAddressAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?AllocationId=&Action=&Version=#Action=ModifyAddressAttribute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?AllocationId=&Action=&Version=#Action=ModifyAddressAttribute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?AllocationId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?AllocationId=&Action=&Version=#Action=ModifyAddressAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?AllocationId=&Action=&Version=#Action=ModifyAddressAttribute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?AllocationId=&Action=&Version=#Action=ModifyAddressAttribute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?AllocationId=&Action=&Version=#Action=ModifyAddressAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?AllocationId=&Action=&Version=#Action=ModifyAddressAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyAddressAttribute',
params: {AllocationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?AllocationId=&Action=&Version=#Action=ModifyAddressAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?AllocationId=&Action=&Version=#Action=ModifyAddressAttribute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?AllocationId=&Action=&Version=#Action=ModifyAddressAttribute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?AllocationId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyAddressAttribute',
qs: {AllocationId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyAddressAttribute');
req.query({
AllocationId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyAddressAttribute',
params: {AllocationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?AllocationId=&Action=&Version=#Action=ModifyAddressAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?AllocationId=&Action=&Version=#Action=ModifyAddressAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?AllocationId=&Action=&Version=#Action=ModifyAddressAttribute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?AllocationId=&Action=&Version=#Action=ModifyAddressAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?AllocationId=&Action=&Version=#Action=ModifyAddressAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyAddressAttribute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'AllocationId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyAddressAttribute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'AllocationId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?AllocationId=&Action=&Version=#Action=ModifyAddressAttribute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?AllocationId=&Action=&Version=#Action=ModifyAddressAttribute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?AllocationId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyAddressAttribute"
querystring = {"AllocationId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyAddressAttribute"
queryString <- list(
AllocationId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?AllocationId=&Action=&Version=#Action=ModifyAddressAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['AllocationId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyAddressAttribute";
let querystring = [
("AllocationId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?AllocationId=&Action=&Version=#Action=ModifyAddressAttribute'
http GET '{{baseUrl}}/?AllocationId=&Action=&Version=#Action=ModifyAddressAttribute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?AllocationId=&Action=&Version=#Action=ModifyAddressAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?AllocationId=&Action=&Version=#Action=ModifyAddressAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyAvailabilityZoneGroup
{{baseUrl}}/#Action=ModifyAvailabilityZoneGroup
QUERY PARAMS
GroupName
OptInStatus
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?GroupName=&OptInStatus=&Action=&Version=#Action=ModifyAvailabilityZoneGroup");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyAvailabilityZoneGroup" {:query-params {:GroupName ""
:OptInStatus ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?GroupName=&OptInStatus=&Action=&Version=#Action=ModifyAvailabilityZoneGroup"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?GroupName=&OptInStatus=&Action=&Version=#Action=ModifyAvailabilityZoneGroup"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?GroupName=&OptInStatus=&Action=&Version=#Action=ModifyAvailabilityZoneGroup");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?GroupName=&OptInStatus=&Action=&Version=#Action=ModifyAvailabilityZoneGroup"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?GroupName=&OptInStatus=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?GroupName=&OptInStatus=&Action=&Version=#Action=ModifyAvailabilityZoneGroup")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?GroupName=&OptInStatus=&Action=&Version=#Action=ModifyAvailabilityZoneGroup"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?GroupName=&OptInStatus=&Action=&Version=#Action=ModifyAvailabilityZoneGroup")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?GroupName=&OptInStatus=&Action=&Version=#Action=ModifyAvailabilityZoneGroup")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?GroupName=&OptInStatus=&Action=&Version=#Action=ModifyAvailabilityZoneGroup');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyAvailabilityZoneGroup',
params: {GroupName: '', OptInStatus: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?GroupName=&OptInStatus=&Action=&Version=#Action=ModifyAvailabilityZoneGroup';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?GroupName=&OptInStatus=&Action=&Version=#Action=ModifyAvailabilityZoneGroup',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?GroupName=&OptInStatus=&Action=&Version=#Action=ModifyAvailabilityZoneGroup")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?GroupName=&OptInStatus=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyAvailabilityZoneGroup',
qs: {GroupName: '', OptInStatus: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyAvailabilityZoneGroup');
req.query({
GroupName: '',
OptInStatus: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyAvailabilityZoneGroup',
params: {GroupName: '', OptInStatus: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?GroupName=&OptInStatus=&Action=&Version=#Action=ModifyAvailabilityZoneGroup';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?GroupName=&OptInStatus=&Action=&Version=#Action=ModifyAvailabilityZoneGroup"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?GroupName=&OptInStatus=&Action=&Version=#Action=ModifyAvailabilityZoneGroup" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?GroupName=&OptInStatus=&Action=&Version=#Action=ModifyAvailabilityZoneGroup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?GroupName=&OptInStatus=&Action=&Version=#Action=ModifyAvailabilityZoneGroup');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyAvailabilityZoneGroup');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'GroupName' => '',
'OptInStatus' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyAvailabilityZoneGroup');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'GroupName' => '',
'OptInStatus' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?GroupName=&OptInStatus=&Action=&Version=#Action=ModifyAvailabilityZoneGroup' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?GroupName=&OptInStatus=&Action=&Version=#Action=ModifyAvailabilityZoneGroup' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?GroupName=&OptInStatus=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyAvailabilityZoneGroup"
querystring = {"GroupName":"","OptInStatus":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyAvailabilityZoneGroup"
queryString <- list(
GroupName = "",
OptInStatus = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?GroupName=&OptInStatus=&Action=&Version=#Action=ModifyAvailabilityZoneGroup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['GroupName'] = ''
req.params['OptInStatus'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyAvailabilityZoneGroup";
let querystring = [
("GroupName", ""),
("OptInStatus", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?GroupName=&OptInStatus=&Action=&Version=#Action=ModifyAvailabilityZoneGroup'
http GET '{{baseUrl}}/?GroupName=&OptInStatus=&Action=&Version=#Action=ModifyAvailabilityZoneGroup'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?GroupName=&OptInStatus=&Action=&Version=#Action=ModifyAvailabilityZoneGroup'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?GroupName=&OptInStatus=&Action=&Version=#Action=ModifyAvailabilityZoneGroup")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyCapacityReservation
{{baseUrl}}/#Action=ModifyCapacityReservation
QUERY PARAMS
CapacityReservationId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=ModifyCapacityReservation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyCapacityReservation" {:query-params {:CapacityReservationId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=ModifyCapacityReservation"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=ModifyCapacityReservation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=ModifyCapacityReservation");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=ModifyCapacityReservation"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?CapacityReservationId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=ModifyCapacityReservation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=ModifyCapacityReservation"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=ModifyCapacityReservation")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=ModifyCapacityReservation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=ModifyCapacityReservation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyCapacityReservation',
params: {CapacityReservationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=ModifyCapacityReservation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=ModifyCapacityReservation',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=ModifyCapacityReservation")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?CapacityReservationId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyCapacityReservation',
qs: {CapacityReservationId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyCapacityReservation');
req.query({
CapacityReservationId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyCapacityReservation',
params: {CapacityReservationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=ModifyCapacityReservation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=ModifyCapacityReservation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=ModifyCapacityReservation" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=ModifyCapacityReservation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=ModifyCapacityReservation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyCapacityReservation');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'CapacityReservationId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyCapacityReservation');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'CapacityReservationId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=ModifyCapacityReservation' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=ModifyCapacityReservation' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?CapacityReservationId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyCapacityReservation"
querystring = {"CapacityReservationId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyCapacityReservation"
queryString <- list(
CapacityReservationId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=ModifyCapacityReservation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['CapacityReservationId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyCapacityReservation";
let querystring = [
("CapacityReservationId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=ModifyCapacityReservation'
http GET '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=ModifyCapacityReservation'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=ModifyCapacityReservation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?CapacityReservationId=&Action=&Version=#Action=ModifyCapacityReservation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyCapacityReservationFleet
{{baseUrl}}/#Action=ModifyCapacityReservationFleet
QUERY PARAMS
CapacityReservationFleetId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=ModifyCapacityReservationFleet");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyCapacityReservationFleet" {:query-params {:CapacityReservationFleetId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=ModifyCapacityReservationFleet"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=ModifyCapacityReservationFleet"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=ModifyCapacityReservationFleet");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=ModifyCapacityReservationFleet"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?CapacityReservationFleetId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=ModifyCapacityReservationFleet")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=ModifyCapacityReservationFleet"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=ModifyCapacityReservationFleet")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=ModifyCapacityReservationFleet")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=ModifyCapacityReservationFleet');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyCapacityReservationFleet',
params: {CapacityReservationFleetId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=ModifyCapacityReservationFleet';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=ModifyCapacityReservationFleet',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=ModifyCapacityReservationFleet")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?CapacityReservationFleetId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyCapacityReservationFleet',
qs: {CapacityReservationFleetId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyCapacityReservationFleet');
req.query({
CapacityReservationFleetId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyCapacityReservationFleet',
params: {CapacityReservationFleetId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=ModifyCapacityReservationFleet';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=ModifyCapacityReservationFleet"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=ModifyCapacityReservationFleet" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=ModifyCapacityReservationFleet",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=ModifyCapacityReservationFleet');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyCapacityReservationFleet');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'CapacityReservationFleetId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyCapacityReservationFleet');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'CapacityReservationFleetId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=ModifyCapacityReservationFleet' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=ModifyCapacityReservationFleet' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?CapacityReservationFleetId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyCapacityReservationFleet"
querystring = {"CapacityReservationFleetId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyCapacityReservationFleet"
queryString <- list(
CapacityReservationFleetId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=ModifyCapacityReservationFleet")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['CapacityReservationFleetId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyCapacityReservationFleet";
let querystring = [
("CapacityReservationFleetId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=ModifyCapacityReservationFleet'
http GET '{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=ModifyCapacityReservationFleet'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=ModifyCapacityReservationFleet'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?CapacityReservationFleetId=&Action=&Version=#Action=ModifyCapacityReservationFleet")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyClientVpnEndpoint
{{baseUrl}}/#Action=ModifyClientVpnEndpoint
QUERY PARAMS
ClientVpnEndpointId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ModifyClientVpnEndpoint");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyClientVpnEndpoint" {:query-params {:ClientVpnEndpointId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ModifyClientVpnEndpoint"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ModifyClientVpnEndpoint"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ModifyClientVpnEndpoint");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ModifyClientVpnEndpoint"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ClientVpnEndpointId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ModifyClientVpnEndpoint")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ModifyClientVpnEndpoint"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ModifyClientVpnEndpoint")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ModifyClientVpnEndpoint")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ModifyClientVpnEndpoint');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyClientVpnEndpoint',
params: {ClientVpnEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ModifyClientVpnEndpoint';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ModifyClientVpnEndpoint',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ModifyClientVpnEndpoint")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ClientVpnEndpointId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyClientVpnEndpoint',
qs: {ClientVpnEndpointId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyClientVpnEndpoint');
req.query({
ClientVpnEndpointId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyClientVpnEndpoint',
params: {ClientVpnEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ModifyClientVpnEndpoint';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ModifyClientVpnEndpoint"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ModifyClientVpnEndpoint" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ModifyClientVpnEndpoint",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ModifyClientVpnEndpoint');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyClientVpnEndpoint');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ClientVpnEndpointId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyClientVpnEndpoint');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ClientVpnEndpointId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ModifyClientVpnEndpoint' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ModifyClientVpnEndpoint' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ClientVpnEndpointId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyClientVpnEndpoint"
querystring = {"ClientVpnEndpointId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyClientVpnEndpoint"
queryString <- list(
ClientVpnEndpointId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ModifyClientVpnEndpoint")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ClientVpnEndpointId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyClientVpnEndpoint";
let querystring = [
("ClientVpnEndpointId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ModifyClientVpnEndpoint'
http GET '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ModifyClientVpnEndpoint'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ModifyClientVpnEndpoint'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=ModifyClientVpnEndpoint")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyDefaultCreditSpecification
{{baseUrl}}/#Action=ModifyDefaultCreditSpecification
QUERY PARAMS
InstanceFamily
CpuCredits
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceFamily=&CpuCredits=&Action=&Version=#Action=ModifyDefaultCreditSpecification");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyDefaultCreditSpecification" {:query-params {:InstanceFamily ""
:CpuCredits ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceFamily=&CpuCredits=&Action=&Version=#Action=ModifyDefaultCreditSpecification"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceFamily=&CpuCredits=&Action=&Version=#Action=ModifyDefaultCreditSpecification"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceFamily=&CpuCredits=&Action=&Version=#Action=ModifyDefaultCreditSpecification");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceFamily=&CpuCredits=&Action=&Version=#Action=ModifyDefaultCreditSpecification"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceFamily=&CpuCredits=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceFamily=&CpuCredits=&Action=&Version=#Action=ModifyDefaultCreditSpecification")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceFamily=&CpuCredits=&Action=&Version=#Action=ModifyDefaultCreditSpecification"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceFamily=&CpuCredits=&Action=&Version=#Action=ModifyDefaultCreditSpecification")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceFamily=&CpuCredits=&Action=&Version=#Action=ModifyDefaultCreditSpecification")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceFamily=&CpuCredits=&Action=&Version=#Action=ModifyDefaultCreditSpecification');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyDefaultCreditSpecification',
params: {InstanceFamily: '', CpuCredits: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceFamily=&CpuCredits=&Action=&Version=#Action=ModifyDefaultCreditSpecification';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceFamily=&CpuCredits=&Action=&Version=#Action=ModifyDefaultCreditSpecification',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceFamily=&CpuCredits=&Action=&Version=#Action=ModifyDefaultCreditSpecification")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceFamily=&CpuCredits=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyDefaultCreditSpecification',
qs: {InstanceFamily: '', CpuCredits: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyDefaultCreditSpecification');
req.query({
InstanceFamily: '',
CpuCredits: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyDefaultCreditSpecification',
params: {InstanceFamily: '', CpuCredits: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceFamily=&CpuCredits=&Action=&Version=#Action=ModifyDefaultCreditSpecification';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceFamily=&CpuCredits=&Action=&Version=#Action=ModifyDefaultCreditSpecification"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceFamily=&CpuCredits=&Action=&Version=#Action=ModifyDefaultCreditSpecification" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceFamily=&CpuCredits=&Action=&Version=#Action=ModifyDefaultCreditSpecification",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceFamily=&CpuCredits=&Action=&Version=#Action=ModifyDefaultCreditSpecification');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyDefaultCreditSpecification');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceFamily' => '',
'CpuCredits' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyDefaultCreditSpecification');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceFamily' => '',
'CpuCredits' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceFamily=&CpuCredits=&Action=&Version=#Action=ModifyDefaultCreditSpecification' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceFamily=&CpuCredits=&Action=&Version=#Action=ModifyDefaultCreditSpecification' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceFamily=&CpuCredits=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyDefaultCreditSpecification"
querystring = {"InstanceFamily":"","CpuCredits":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyDefaultCreditSpecification"
queryString <- list(
InstanceFamily = "",
CpuCredits = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceFamily=&CpuCredits=&Action=&Version=#Action=ModifyDefaultCreditSpecification")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceFamily'] = ''
req.params['CpuCredits'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyDefaultCreditSpecification";
let querystring = [
("InstanceFamily", ""),
("CpuCredits", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceFamily=&CpuCredits=&Action=&Version=#Action=ModifyDefaultCreditSpecification'
http GET '{{baseUrl}}/?InstanceFamily=&CpuCredits=&Action=&Version=#Action=ModifyDefaultCreditSpecification'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceFamily=&CpuCredits=&Action=&Version=#Action=ModifyDefaultCreditSpecification'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceFamily=&CpuCredits=&Action=&Version=#Action=ModifyDefaultCreditSpecification")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyEbsDefaultKmsKeyId
{{baseUrl}}/#Action=ModifyEbsDefaultKmsKeyId
QUERY PARAMS
KmsKeyId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?KmsKeyId=&Action=&Version=#Action=ModifyEbsDefaultKmsKeyId");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyEbsDefaultKmsKeyId" {:query-params {:KmsKeyId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?KmsKeyId=&Action=&Version=#Action=ModifyEbsDefaultKmsKeyId"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?KmsKeyId=&Action=&Version=#Action=ModifyEbsDefaultKmsKeyId"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?KmsKeyId=&Action=&Version=#Action=ModifyEbsDefaultKmsKeyId");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?KmsKeyId=&Action=&Version=#Action=ModifyEbsDefaultKmsKeyId"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?KmsKeyId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?KmsKeyId=&Action=&Version=#Action=ModifyEbsDefaultKmsKeyId")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?KmsKeyId=&Action=&Version=#Action=ModifyEbsDefaultKmsKeyId"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?KmsKeyId=&Action=&Version=#Action=ModifyEbsDefaultKmsKeyId")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?KmsKeyId=&Action=&Version=#Action=ModifyEbsDefaultKmsKeyId")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?KmsKeyId=&Action=&Version=#Action=ModifyEbsDefaultKmsKeyId');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyEbsDefaultKmsKeyId',
params: {KmsKeyId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?KmsKeyId=&Action=&Version=#Action=ModifyEbsDefaultKmsKeyId';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?KmsKeyId=&Action=&Version=#Action=ModifyEbsDefaultKmsKeyId',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?KmsKeyId=&Action=&Version=#Action=ModifyEbsDefaultKmsKeyId")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?KmsKeyId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyEbsDefaultKmsKeyId',
qs: {KmsKeyId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyEbsDefaultKmsKeyId');
req.query({
KmsKeyId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyEbsDefaultKmsKeyId',
params: {KmsKeyId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?KmsKeyId=&Action=&Version=#Action=ModifyEbsDefaultKmsKeyId';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?KmsKeyId=&Action=&Version=#Action=ModifyEbsDefaultKmsKeyId"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?KmsKeyId=&Action=&Version=#Action=ModifyEbsDefaultKmsKeyId" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?KmsKeyId=&Action=&Version=#Action=ModifyEbsDefaultKmsKeyId",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?KmsKeyId=&Action=&Version=#Action=ModifyEbsDefaultKmsKeyId');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyEbsDefaultKmsKeyId');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'KmsKeyId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyEbsDefaultKmsKeyId');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'KmsKeyId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?KmsKeyId=&Action=&Version=#Action=ModifyEbsDefaultKmsKeyId' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?KmsKeyId=&Action=&Version=#Action=ModifyEbsDefaultKmsKeyId' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?KmsKeyId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyEbsDefaultKmsKeyId"
querystring = {"KmsKeyId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyEbsDefaultKmsKeyId"
queryString <- list(
KmsKeyId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?KmsKeyId=&Action=&Version=#Action=ModifyEbsDefaultKmsKeyId")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['KmsKeyId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyEbsDefaultKmsKeyId";
let querystring = [
("KmsKeyId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?KmsKeyId=&Action=&Version=#Action=ModifyEbsDefaultKmsKeyId'
http GET '{{baseUrl}}/?KmsKeyId=&Action=&Version=#Action=ModifyEbsDefaultKmsKeyId'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?KmsKeyId=&Action=&Version=#Action=ModifyEbsDefaultKmsKeyId'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?KmsKeyId=&Action=&Version=#Action=ModifyEbsDefaultKmsKeyId")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyFleet
{{baseUrl}}/#Action=ModifyFleet
QUERY PARAMS
FleetId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?FleetId=&Action=&Version=#Action=ModifyFleet");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyFleet" {:query-params {:FleetId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?FleetId=&Action=&Version=#Action=ModifyFleet"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?FleetId=&Action=&Version=#Action=ModifyFleet"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?FleetId=&Action=&Version=#Action=ModifyFleet");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?FleetId=&Action=&Version=#Action=ModifyFleet"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?FleetId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?FleetId=&Action=&Version=#Action=ModifyFleet")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?FleetId=&Action=&Version=#Action=ModifyFleet"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?FleetId=&Action=&Version=#Action=ModifyFleet")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?FleetId=&Action=&Version=#Action=ModifyFleet")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?FleetId=&Action=&Version=#Action=ModifyFleet');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyFleet',
params: {FleetId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?FleetId=&Action=&Version=#Action=ModifyFleet';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?FleetId=&Action=&Version=#Action=ModifyFleet',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?FleetId=&Action=&Version=#Action=ModifyFleet")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?FleetId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyFleet',
qs: {FleetId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyFleet');
req.query({
FleetId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyFleet',
params: {FleetId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?FleetId=&Action=&Version=#Action=ModifyFleet';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?FleetId=&Action=&Version=#Action=ModifyFleet"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?FleetId=&Action=&Version=#Action=ModifyFleet" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?FleetId=&Action=&Version=#Action=ModifyFleet",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?FleetId=&Action=&Version=#Action=ModifyFleet');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyFleet');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'FleetId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyFleet');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'FleetId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?FleetId=&Action=&Version=#Action=ModifyFleet' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?FleetId=&Action=&Version=#Action=ModifyFleet' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?FleetId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyFleet"
querystring = {"FleetId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyFleet"
queryString <- list(
FleetId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?FleetId=&Action=&Version=#Action=ModifyFleet")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['FleetId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyFleet";
let querystring = [
("FleetId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?FleetId=&Action=&Version=#Action=ModifyFleet'
http GET '{{baseUrl}}/?FleetId=&Action=&Version=#Action=ModifyFleet'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?FleetId=&Action=&Version=#Action=ModifyFleet'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?FleetId=&Action=&Version=#Action=ModifyFleet")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyFpgaImageAttribute
{{baseUrl}}/#Action=ModifyFpgaImageAttribute
QUERY PARAMS
FpgaImageId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ModifyFpgaImageAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyFpgaImageAttribute" {:query-params {:FpgaImageId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ModifyFpgaImageAttribute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ModifyFpgaImageAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ModifyFpgaImageAttribute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ModifyFpgaImageAttribute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?FpgaImageId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ModifyFpgaImageAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ModifyFpgaImageAttribute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ModifyFpgaImageAttribute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ModifyFpgaImageAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ModifyFpgaImageAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyFpgaImageAttribute',
params: {FpgaImageId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ModifyFpgaImageAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ModifyFpgaImageAttribute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ModifyFpgaImageAttribute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?FpgaImageId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyFpgaImageAttribute',
qs: {FpgaImageId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyFpgaImageAttribute');
req.query({
FpgaImageId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyFpgaImageAttribute',
params: {FpgaImageId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ModifyFpgaImageAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ModifyFpgaImageAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ModifyFpgaImageAttribute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ModifyFpgaImageAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ModifyFpgaImageAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyFpgaImageAttribute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'FpgaImageId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyFpgaImageAttribute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'FpgaImageId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ModifyFpgaImageAttribute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ModifyFpgaImageAttribute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?FpgaImageId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyFpgaImageAttribute"
querystring = {"FpgaImageId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyFpgaImageAttribute"
queryString <- list(
FpgaImageId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ModifyFpgaImageAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['FpgaImageId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyFpgaImageAttribute";
let querystring = [
("FpgaImageId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ModifyFpgaImageAttribute'
http GET '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ModifyFpgaImageAttribute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ModifyFpgaImageAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ModifyFpgaImageAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyHosts
{{baseUrl}}/#Action=ModifyHosts
QUERY PARAMS
HostId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?HostId=&Action=&Version=#Action=ModifyHosts");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyHosts" {:query-params {:HostId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?HostId=&Action=&Version=#Action=ModifyHosts"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?HostId=&Action=&Version=#Action=ModifyHosts"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?HostId=&Action=&Version=#Action=ModifyHosts");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?HostId=&Action=&Version=#Action=ModifyHosts"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?HostId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?HostId=&Action=&Version=#Action=ModifyHosts")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?HostId=&Action=&Version=#Action=ModifyHosts"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?HostId=&Action=&Version=#Action=ModifyHosts")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?HostId=&Action=&Version=#Action=ModifyHosts")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?HostId=&Action=&Version=#Action=ModifyHosts');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyHosts',
params: {HostId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?HostId=&Action=&Version=#Action=ModifyHosts';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?HostId=&Action=&Version=#Action=ModifyHosts',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?HostId=&Action=&Version=#Action=ModifyHosts")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?HostId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyHosts',
qs: {HostId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyHosts');
req.query({
HostId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyHosts',
params: {HostId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?HostId=&Action=&Version=#Action=ModifyHosts';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?HostId=&Action=&Version=#Action=ModifyHosts"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?HostId=&Action=&Version=#Action=ModifyHosts" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?HostId=&Action=&Version=#Action=ModifyHosts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?HostId=&Action=&Version=#Action=ModifyHosts');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyHosts');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'HostId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyHosts');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'HostId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?HostId=&Action=&Version=#Action=ModifyHosts' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?HostId=&Action=&Version=#Action=ModifyHosts' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?HostId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyHosts"
querystring = {"HostId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyHosts"
queryString <- list(
HostId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?HostId=&Action=&Version=#Action=ModifyHosts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['HostId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyHosts";
let querystring = [
("HostId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?HostId=&Action=&Version=#Action=ModifyHosts'
http GET '{{baseUrl}}/?HostId=&Action=&Version=#Action=ModifyHosts'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?HostId=&Action=&Version=#Action=ModifyHosts'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?HostId=&Action=&Version=#Action=ModifyHosts")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyIdFormat
{{baseUrl}}/#Action=ModifyIdFormat
QUERY PARAMS
Resource
UseLongIds
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdFormat");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyIdFormat" {:query-params {:Resource ""
:UseLongIds ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdFormat"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdFormat"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdFormat");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdFormat"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Resource=&UseLongIds=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdFormat")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdFormat"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdFormat")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdFormat")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdFormat');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyIdFormat',
params: {Resource: '', UseLongIds: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdFormat';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdFormat',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdFormat")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Resource=&UseLongIds=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyIdFormat',
qs: {Resource: '', UseLongIds: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyIdFormat');
req.query({
Resource: '',
UseLongIds: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyIdFormat',
params: {Resource: '', UseLongIds: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdFormat';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdFormat"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdFormat" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdFormat",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdFormat');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyIdFormat');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Resource' => '',
'UseLongIds' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyIdFormat');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Resource' => '',
'UseLongIds' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdFormat' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdFormat' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Resource=&UseLongIds=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyIdFormat"
querystring = {"Resource":"","UseLongIds":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyIdFormat"
queryString <- list(
Resource = "",
UseLongIds = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdFormat")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Resource'] = ''
req.params['UseLongIds'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyIdFormat";
let querystring = [
("Resource", ""),
("UseLongIds", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdFormat'
http GET '{{baseUrl}}/?Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdFormat'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdFormat'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdFormat")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyIdentityIdFormat
{{baseUrl}}/#Action=ModifyIdentityIdFormat
QUERY PARAMS
PrincipalArn
Resource
UseLongIds
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?PrincipalArn=&Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdentityIdFormat");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyIdentityIdFormat" {:query-params {:PrincipalArn ""
:Resource ""
:UseLongIds ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?PrincipalArn=&Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdentityIdFormat"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?PrincipalArn=&Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdentityIdFormat"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?PrincipalArn=&Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdentityIdFormat");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?PrincipalArn=&Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdentityIdFormat"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?PrincipalArn=&Resource=&UseLongIds=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?PrincipalArn=&Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdentityIdFormat")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?PrincipalArn=&Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdentityIdFormat"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?PrincipalArn=&Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdentityIdFormat")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?PrincipalArn=&Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdentityIdFormat")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?PrincipalArn=&Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdentityIdFormat');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyIdentityIdFormat',
params: {PrincipalArn: '', Resource: '', UseLongIds: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?PrincipalArn=&Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdentityIdFormat';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?PrincipalArn=&Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdentityIdFormat',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?PrincipalArn=&Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdentityIdFormat")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?PrincipalArn=&Resource=&UseLongIds=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyIdentityIdFormat',
qs: {PrincipalArn: '', Resource: '', UseLongIds: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyIdentityIdFormat');
req.query({
PrincipalArn: '',
Resource: '',
UseLongIds: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyIdentityIdFormat',
params: {PrincipalArn: '', Resource: '', UseLongIds: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?PrincipalArn=&Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdentityIdFormat';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?PrincipalArn=&Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdentityIdFormat"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?PrincipalArn=&Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdentityIdFormat" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?PrincipalArn=&Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdentityIdFormat",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?PrincipalArn=&Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdentityIdFormat');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyIdentityIdFormat');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'PrincipalArn' => '',
'Resource' => '',
'UseLongIds' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyIdentityIdFormat');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'PrincipalArn' => '',
'Resource' => '',
'UseLongIds' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?PrincipalArn=&Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdentityIdFormat' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?PrincipalArn=&Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdentityIdFormat' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?PrincipalArn=&Resource=&UseLongIds=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyIdentityIdFormat"
querystring = {"PrincipalArn":"","Resource":"","UseLongIds":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyIdentityIdFormat"
queryString <- list(
PrincipalArn = "",
Resource = "",
UseLongIds = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?PrincipalArn=&Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdentityIdFormat")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['PrincipalArn'] = ''
req.params['Resource'] = ''
req.params['UseLongIds'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyIdentityIdFormat";
let querystring = [
("PrincipalArn", ""),
("Resource", ""),
("UseLongIds", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?PrincipalArn=&Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdentityIdFormat'
http GET '{{baseUrl}}/?PrincipalArn=&Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdentityIdFormat'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?PrincipalArn=&Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdentityIdFormat'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?PrincipalArn=&Resource=&UseLongIds=&Action=&Version=#Action=ModifyIdentityIdFormat")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyImageAttribute
{{baseUrl}}/#Action=ModifyImageAttribute
QUERY PARAMS
ImageId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ImageId=&Action=&Version=#Action=ModifyImageAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyImageAttribute" {:query-params {:ImageId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ImageId=&Action=&Version=#Action=ModifyImageAttribute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ImageId=&Action=&Version=#Action=ModifyImageAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ImageId=&Action=&Version=#Action=ModifyImageAttribute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ImageId=&Action=&Version=#Action=ModifyImageAttribute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ImageId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ImageId=&Action=&Version=#Action=ModifyImageAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ImageId=&Action=&Version=#Action=ModifyImageAttribute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ImageId=&Action=&Version=#Action=ModifyImageAttribute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ImageId=&Action=&Version=#Action=ModifyImageAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ImageId=&Action=&Version=#Action=ModifyImageAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyImageAttribute',
params: {ImageId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ImageId=&Action=&Version=#Action=ModifyImageAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ImageId=&Action=&Version=#Action=ModifyImageAttribute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ImageId=&Action=&Version=#Action=ModifyImageAttribute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ImageId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyImageAttribute',
qs: {ImageId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyImageAttribute');
req.query({
ImageId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyImageAttribute',
params: {ImageId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ImageId=&Action=&Version=#Action=ModifyImageAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ImageId=&Action=&Version=#Action=ModifyImageAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ImageId=&Action=&Version=#Action=ModifyImageAttribute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ImageId=&Action=&Version=#Action=ModifyImageAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ImageId=&Action=&Version=#Action=ModifyImageAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyImageAttribute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ImageId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyImageAttribute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ImageId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ImageId=&Action=&Version=#Action=ModifyImageAttribute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ImageId=&Action=&Version=#Action=ModifyImageAttribute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ImageId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyImageAttribute"
querystring = {"ImageId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyImageAttribute"
queryString <- list(
ImageId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ImageId=&Action=&Version=#Action=ModifyImageAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ImageId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyImageAttribute";
let querystring = [
("ImageId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ImageId=&Action=&Version=#Action=ModifyImageAttribute'
http GET '{{baseUrl}}/?ImageId=&Action=&Version=#Action=ModifyImageAttribute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ImageId=&Action=&Version=#Action=ModifyImageAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ImageId=&Action=&Version=#Action=ModifyImageAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyInstanceAttribute
{{baseUrl}}/#Action=ModifyInstanceAttribute
QUERY PARAMS
InstanceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyInstanceAttribute" {:query-params {:InstanceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceAttribute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceAttribute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceAttribute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceAttribute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceAttribute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyInstanceAttribute',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceAttribute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceAttribute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyInstanceAttribute',
qs: {InstanceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyInstanceAttribute');
req.query({
InstanceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyInstanceAttribute',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceAttribute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyInstanceAttribute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyInstanceAttribute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceAttribute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceAttribute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyInstanceAttribute"
querystring = {"InstanceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyInstanceAttribute"
queryString <- list(
InstanceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyInstanceAttribute";
let querystring = [
("InstanceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceAttribute'
http GET '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceAttribute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyInstanceCapacityReservationAttributes
{{baseUrl}}/#Action=ModifyInstanceCapacityReservationAttributes
QUERY PARAMS
InstanceId
CapacityReservationSpecification
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceId=&CapacityReservationSpecification=&Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyInstanceCapacityReservationAttributes" {:query-params {:InstanceId ""
:CapacityReservationSpecification ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceId=&CapacityReservationSpecification=&Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceId=&CapacityReservationSpecification=&Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceId=&CapacityReservationSpecification=&Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceId=&CapacityReservationSpecification=&Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceId=&CapacityReservationSpecification=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceId=&CapacityReservationSpecification=&Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceId=&CapacityReservationSpecification=&Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceId=&CapacityReservationSpecification=&Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceId=&CapacityReservationSpecification=&Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceId=&CapacityReservationSpecification=&Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyInstanceCapacityReservationAttributes',
params: {InstanceId: '', CapacityReservationSpecification: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceId=&CapacityReservationSpecification=&Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceId=&CapacityReservationSpecification=&Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceId=&CapacityReservationSpecification=&Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceId=&CapacityReservationSpecification=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyInstanceCapacityReservationAttributes',
qs: {InstanceId: '', CapacityReservationSpecification: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyInstanceCapacityReservationAttributes');
req.query({
InstanceId: '',
CapacityReservationSpecification: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyInstanceCapacityReservationAttributes',
params: {InstanceId: '', CapacityReservationSpecification: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceId=&CapacityReservationSpecification=&Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceId=&CapacityReservationSpecification=&Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceId=&CapacityReservationSpecification=&Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceId=&CapacityReservationSpecification=&Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceId=&CapacityReservationSpecification=&Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyInstanceCapacityReservationAttributes');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceId' => '',
'CapacityReservationSpecification' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyInstanceCapacityReservationAttributes');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceId' => '',
'CapacityReservationSpecification' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceId=&CapacityReservationSpecification=&Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceId=&CapacityReservationSpecification=&Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceId=&CapacityReservationSpecification=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyInstanceCapacityReservationAttributes"
querystring = {"InstanceId":"","CapacityReservationSpecification":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyInstanceCapacityReservationAttributes"
queryString <- list(
InstanceId = "",
CapacityReservationSpecification = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceId=&CapacityReservationSpecification=&Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceId'] = ''
req.params['CapacityReservationSpecification'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyInstanceCapacityReservationAttributes";
let querystring = [
("InstanceId", ""),
("CapacityReservationSpecification", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceId=&CapacityReservationSpecification=&Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes'
http GET '{{baseUrl}}/?InstanceId=&CapacityReservationSpecification=&Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceId=&CapacityReservationSpecification=&Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceId=&CapacityReservationSpecification=&Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyInstanceCreditSpecification
{{baseUrl}}/#Action=ModifyInstanceCreditSpecification
QUERY PARAMS
InstanceCreditSpecification
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceCreditSpecification=&Action=&Version=#Action=ModifyInstanceCreditSpecification");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyInstanceCreditSpecification" {:query-params {:InstanceCreditSpecification ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceCreditSpecification=&Action=&Version=#Action=ModifyInstanceCreditSpecification"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceCreditSpecification=&Action=&Version=#Action=ModifyInstanceCreditSpecification"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceCreditSpecification=&Action=&Version=#Action=ModifyInstanceCreditSpecification");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceCreditSpecification=&Action=&Version=#Action=ModifyInstanceCreditSpecification"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceCreditSpecification=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceCreditSpecification=&Action=&Version=#Action=ModifyInstanceCreditSpecification")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceCreditSpecification=&Action=&Version=#Action=ModifyInstanceCreditSpecification"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceCreditSpecification=&Action=&Version=#Action=ModifyInstanceCreditSpecification")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceCreditSpecification=&Action=&Version=#Action=ModifyInstanceCreditSpecification")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceCreditSpecification=&Action=&Version=#Action=ModifyInstanceCreditSpecification');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyInstanceCreditSpecification',
params: {InstanceCreditSpecification: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceCreditSpecification=&Action=&Version=#Action=ModifyInstanceCreditSpecification';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceCreditSpecification=&Action=&Version=#Action=ModifyInstanceCreditSpecification',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceCreditSpecification=&Action=&Version=#Action=ModifyInstanceCreditSpecification")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceCreditSpecification=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyInstanceCreditSpecification',
qs: {InstanceCreditSpecification: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyInstanceCreditSpecification');
req.query({
InstanceCreditSpecification: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyInstanceCreditSpecification',
params: {InstanceCreditSpecification: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceCreditSpecification=&Action=&Version=#Action=ModifyInstanceCreditSpecification';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceCreditSpecification=&Action=&Version=#Action=ModifyInstanceCreditSpecification"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceCreditSpecification=&Action=&Version=#Action=ModifyInstanceCreditSpecification" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceCreditSpecification=&Action=&Version=#Action=ModifyInstanceCreditSpecification",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceCreditSpecification=&Action=&Version=#Action=ModifyInstanceCreditSpecification');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyInstanceCreditSpecification');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceCreditSpecification' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyInstanceCreditSpecification');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceCreditSpecification' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceCreditSpecification=&Action=&Version=#Action=ModifyInstanceCreditSpecification' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceCreditSpecification=&Action=&Version=#Action=ModifyInstanceCreditSpecification' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceCreditSpecification=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyInstanceCreditSpecification"
querystring = {"InstanceCreditSpecification":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyInstanceCreditSpecification"
queryString <- list(
InstanceCreditSpecification = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceCreditSpecification=&Action=&Version=#Action=ModifyInstanceCreditSpecification")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceCreditSpecification'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyInstanceCreditSpecification";
let querystring = [
("InstanceCreditSpecification", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceCreditSpecification=&Action=&Version=#Action=ModifyInstanceCreditSpecification'
http GET '{{baseUrl}}/?InstanceCreditSpecification=&Action=&Version=#Action=ModifyInstanceCreditSpecification'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceCreditSpecification=&Action=&Version=#Action=ModifyInstanceCreditSpecification'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceCreditSpecification=&Action=&Version=#Action=ModifyInstanceCreditSpecification")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyInstanceEventStartTime
{{baseUrl}}/#Action=ModifyInstanceEventStartTime
QUERY PARAMS
InstanceId
InstanceEventId
NotBefore
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceId=&InstanceEventId=&NotBefore=&Action=&Version=#Action=ModifyInstanceEventStartTime");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyInstanceEventStartTime" {:query-params {:InstanceId ""
:InstanceEventId ""
:NotBefore ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceId=&InstanceEventId=&NotBefore=&Action=&Version=#Action=ModifyInstanceEventStartTime"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceId=&InstanceEventId=&NotBefore=&Action=&Version=#Action=ModifyInstanceEventStartTime"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceId=&InstanceEventId=&NotBefore=&Action=&Version=#Action=ModifyInstanceEventStartTime");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceId=&InstanceEventId=&NotBefore=&Action=&Version=#Action=ModifyInstanceEventStartTime"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceId=&InstanceEventId=&NotBefore=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceId=&InstanceEventId=&NotBefore=&Action=&Version=#Action=ModifyInstanceEventStartTime")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceId=&InstanceEventId=&NotBefore=&Action=&Version=#Action=ModifyInstanceEventStartTime"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceId=&InstanceEventId=&NotBefore=&Action=&Version=#Action=ModifyInstanceEventStartTime")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceId=&InstanceEventId=&NotBefore=&Action=&Version=#Action=ModifyInstanceEventStartTime")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceId=&InstanceEventId=&NotBefore=&Action=&Version=#Action=ModifyInstanceEventStartTime');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyInstanceEventStartTime',
params: {InstanceId: '', InstanceEventId: '', NotBefore: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceId=&InstanceEventId=&NotBefore=&Action=&Version=#Action=ModifyInstanceEventStartTime';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceId=&InstanceEventId=&NotBefore=&Action=&Version=#Action=ModifyInstanceEventStartTime',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceId=&InstanceEventId=&NotBefore=&Action=&Version=#Action=ModifyInstanceEventStartTime")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceId=&InstanceEventId=&NotBefore=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyInstanceEventStartTime',
qs: {InstanceId: '', InstanceEventId: '', NotBefore: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyInstanceEventStartTime');
req.query({
InstanceId: '',
InstanceEventId: '',
NotBefore: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyInstanceEventStartTime',
params: {InstanceId: '', InstanceEventId: '', NotBefore: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceId=&InstanceEventId=&NotBefore=&Action=&Version=#Action=ModifyInstanceEventStartTime';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceId=&InstanceEventId=&NotBefore=&Action=&Version=#Action=ModifyInstanceEventStartTime"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceId=&InstanceEventId=&NotBefore=&Action=&Version=#Action=ModifyInstanceEventStartTime" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceId=&InstanceEventId=&NotBefore=&Action=&Version=#Action=ModifyInstanceEventStartTime",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceId=&InstanceEventId=&NotBefore=&Action=&Version=#Action=ModifyInstanceEventStartTime');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyInstanceEventStartTime');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceId' => '',
'InstanceEventId' => '',
'NotBefore' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyInstanceEventStartTime');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceId' => '',
'InstanceEventId' => '',
'NotBefore' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceId=&InstanceEventId=&NotBefore=&Action=&Version=#Action=ModifyInstanceEventStartTime' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceId=&InstanceEventId=&NotBefore=&Action=&Version=#Action=ModifyInstanceEventStartTime' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceId=&InstanceEventId=&NotBefore=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyInstanceEventStartTime"
querystring = {"InstanceId":"","InstanceEventId":"","NotBefore":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyInstanceEventStartTime"
queryString <- list(
InstanceId = "",
InstanceEventId = "",
NotBefore = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceId=&InstanceEventId=&NotBefore=&Action=&Version=#Action=ModifyInstanceEventStartTime")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceId'] = ''
req.params['InstanceEventId'] = ''
req.params['NotBefore'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyInstanceEventStartTime";
let querystring = [
("InstanceId", ""),
("InstanceEventId", ""),
("NotBefore", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceId=&InstanceEventId=&NotBefore=&Action=&Version=#Action=ModifyInstanceEventStartTime'
http GET '{{baseUrl}}/?InstanceId=&InstanceEventId=&NotBefore=&Action=&Version=#Action=ModifyInstanceEventStartTime'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceId=&InstanceEventId=&NotBefore=&Action=&Version=#Action=ModifyInstanceEventStartTime'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceId=&InstanceEventId=&NotBefore=&Action=&Version=#Action=ModifyInstanceEventStartTime")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyInstanceEventWindow
{{baseUrl}}/#Action=ModifyInstanceEventWindow
QUERY PARAMS
InstanceEventWindowId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=ModifyInstanceEventWindow");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyInstanceEventWindow" {:query-params {:InstanceEventWindowId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=ModifyInstanceEventWindow"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=ModifyInstanceEventWindow"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=ModifyInstanceEventWindow");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=ModifyInstanceEventWindow"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceEventWindowId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=ModifyInstanceEventWindow")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=ModifyInstanceEventWindow"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=ModifyInstanceEventWindow")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=ModifyInstanceEventWindow")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=ModifyInstanceEventWindow');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyInstanceEventWindow',
params: {InstanceEventWindowId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=ModifyInstanceEventWindow';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=ModifyInstanceEventWindow',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=ModifyInstanceEventWindow")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceEventWindowId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyInstanceEventWindow',
qs: {InstanceEventWindowId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyInstanceEventWindow');
req.query({
InstanceEventWindowId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyInstanceEventWindow',
params: {InstanceEventWindowId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=ModifyInstanceEventWindow';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=ModifyInstanceEventWindow"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=ModifyInstanceEventWindow" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=ModifyInstanceEventWindow",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=ModifyInstanceEventWindow');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyInstanceEventWindow');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceEventWindowId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyInstanceEventWindow');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceEventWindowId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=ModifyInstanceEventWindow' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=ModifyInstanceEventWindow' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceEventWindowId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyInstanceEventWindow"
querystring = {"InstanceEventWindowId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyInstanceEventWindow"
queryString <- list(
InstanceEventWindowId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=ModifyInstanceEventWindow")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceEventWindowId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyInstanceEventWindow";
let querystring = [
("InstanceEventWindowId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=ModifyInstanceEventWindow'
http GET '{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=ModifyInstanceEventWindow'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=ModifyInstanceEventWindow'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceEventWindowId=&Action=&Version=#Action=ModifyInstanceEventWindow")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyInstanceMaintenanceOptions
{{baseUrl}}/#Action=ModifyInstanceMaintenanceOptions
QUERY PARAMS
InstanceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMaintenanceOptions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyInstanceMaintenanceOptions" {:query-params {:InstanceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMaintenanceOptions"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMaintenanceOptions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMaintenanceOptions");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMaintenanceOptions"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMaintenanceOptions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMaintenanceOptions"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMaintenanceOptions")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMaintenanceOptions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMaintenanceOptions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyInstanceMaintenanceOptions',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMaintenanceOptions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMaintenanceOptions',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMaintenanceOptions")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyInstanceMaintenanceOptions',
qs: {InstanceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyInstanceMaintenanceOptions');
req.query({
InstanceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyInstanceMaintenanceOptions',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMaintenanceOptions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMaintenanceOptions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMaintenanceOptions" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMaintenanceOptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMaintenanceOptions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyInstanceMaintenanceOptions');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyInstanceMaintenanceOptions');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMaintenanceOptions' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMaintenanceOptions' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyInstanceMaintenanceOptions"
querystring = {"InstanceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyInstanceMaintenanceOptions"
queryString <- list(
InstanceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMaintenanceOptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyInstanceMaintenanceOptions";
let querystring = [
("InstanceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMaintenanceOptions'
http GET '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMaintenanceOptions'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMaintenanceOptions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMaintenanceOptions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyInstanceMetadataOptions
{{baseUrl}}/#Action=ModifyInstanceMetadataOptions
QUERY PARAMS
InstanceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMetadataOptions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyInstanceMetadataOptions" {:query-params {:InstanceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMetadataOptions"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMetadataOptions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMetadataOptions");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMetadataOptions"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMetadataOptions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMetadataOptions"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMetadataOptions")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMetadataOptions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMetadataOptions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyInstanceMetadataOptions',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMetadataOptions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMetadataOptions',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMetadataOptions")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyInstanceMetadataOptions',
qs: {InstanceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyInstanceMetadataOptions');
req.query({
InstanceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyInstanceMetadataOptions',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMetadataOptions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMetadataOptions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMetadataOptions" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMetadataOptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMetadataOptions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyInstanceMetadataOptions');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyInstanceMetadataOptions');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMetadataOptions' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMetadataOptions' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyInstanceMetadataOptions"
querystring = {"InstanceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyInstanceMetadataOptions"
queryString <- list(
InstanceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMetadataOptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyInstanceMetadataOptions";
let querystring = [
("InstanceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMetadataOptions'
http GET '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMetadataOptions'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMetadataOptions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstanceMetadataOptions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyInstancePlacement
{{baseUrl}}/#Action=ModifyInstancePlacement
QUERY PARAMS
InstanceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstancePlacement");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyInstancePlacement" {:query-params {:InstanceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstancePlacement"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstancePlacement"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstancePlacement");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstancePlacement"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstancePlacement")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstancePlacement"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstancePlacement")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstancePlacement")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstancePlacement');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyInstancePlacement',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstancePlacement';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstancePlacement',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstancePlacement")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyInstancePlacement',
qs: {InstanceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyInstancePlacement');
req.query({
InstanceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyInstancePlacement',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstancePlacement';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstancePlacement"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstancePlacement" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstancePlacement",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstancePlacement');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyInstancePlacement');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyInstancePlacement');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstancePlacement' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstancePlacement' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyInstancePlacement"
querystring = {"InstanceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyInstancePlacement"
queryString <- list(
InstanceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstancePlacement")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyInstancePlacement";
let querystring = [
("InstanceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstancePlacement'
http GET '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstancePlacement'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstancePlacement'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyInstancePlacement")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyIpam
{{baseUrl}}/#Action=ModifyIpam
QUERY PARAMS
IpamId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?IpamId=&Action=&Version=#Action=ModifyIpam");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyIpam" {:query-params {:IpamId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?IpamId=&Action=&Version=#Action=ModifyIpam"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?IpamId=&Action=&Version=#Action=ModifyIpam"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?IpamId=&Action=&Version=#Action=ModifyIpam");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?IpamId=&Action=&Version=#Action=ModifyIpam"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?IpamId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?IpamId=&Action=&Version=#Action=ModifyIpam")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?IpamId=&Action=&Version=#Action=ModifyIpam"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?IpamId=&Action=&Version=#Action=ModifyIpam")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?IpamId=&Action=&Version=#Action=ModifyIpam")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?IpamId=&Action=&Version=#Action=ModifyIpam');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyIpam',
params: {IpamId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?IpamId=&Action=&Version=#Action=ModifyIpam';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?IpamId=&Action=&Version=#Action=ModifyIpam',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?IpamId=&Action=&Version=#Action=ModifyIpam")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?IpamId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyIpam',
qs: {IpamId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyIpam');
req.query({
IpamId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyIpam',
params: {IpamId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?IpamId=&Action=&Version=#Action=ModifyIpam';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?IpamId=&Action=&Version=#Action=ModifyIpam"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?IpamId=&Action=&Version=#Action=ModifyIpam" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?IpamId=&Action=&Version=#Action=ModifyIpam",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?IpamId=&Action=&Version=#Action=ModifyIpam');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyIpam');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'IpamId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyIpam');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'IpamId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?IpamId=&Action=&Version=#Action=ModifyIpam' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?IpamId=&Action=&Version=#Action=ModifyIpam' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?IpamId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyIpam"
querystring = {"IpamId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyIpam"
queryString <- list(
IpamId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?IpamId=&Action=&Version=#Action=ModifyIpam")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['IpamId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyIpam";
let querystring = [
("IpamId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?IpamId=&Action=&Version=#Action=ModifyIpam'
http GET '{{baseUrl}}/?IpamId=&Action=&Version=#Action=ModifyIpam'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?IpamId=&Action=&Version=#Action=ModifyIpam'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?IpamId=&Action=&Version=#Action=ModifyIpam")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyIpamPool
{{baseUrl}}/#Action=ModifyIpamPool
QUERY PARAMS
IpamPoolId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ModifyIpamPool");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyIpamPool" {:query-params {:IpamPoolId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ModifyIpamPool"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ModifyIpamPool"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ModifyIpamPool");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ModifyIpamPool"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?IpamPoolId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ModifyIpamPool")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ModifyIpamPool"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ModifyIpamPool")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ModifyIpamPool")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ModifyIpamPool');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyIpamPool',
params: {IpamPoolId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ModifyIpamPool';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ModifyIpamPool',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ModifyIpamPool")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?IpamPoolId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyIpamPool',
qs: {IpamPoolId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyIpamPool');
req.query({
IpamPoolId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyIpamPool',
params: {IpamPoolId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ModifyIpamPool';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ModifyIpamPool"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ModifyIpamPool" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ModifyIpamPool",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ModifyIpamPool');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyIpamPool');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'IpamPoolId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyIpamPool');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'IpamPoolId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ModifyIpamPool' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ModifyIpamPool' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?IpamPoolId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyIpamPool"
querystring = {"IpamPoolId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyIpamPool"
queryString <- list(
IpamPoolId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ModifyIpamPool")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['IpamPoolId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyIpamPool";
let querystring = [
("IpamPoolId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ModifyIpamPool'
http GET '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ModifyIpamPool'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ModifyIpamPool'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ModifyIpamPool")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyIpamResourceCidr
{{baseUrl}}/#Action=ModifyIpamResourceCidr
QUERY PARAMS
ResourceId
ResourceCidr
ResourceRegion
CurrentIpamScopeId
Monitored
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ResourceId=&ResourceCidr=&ResourceRegion=&CurrentIpamScopeId=&Monitored=&Action=&Version=#Action=ModifyIpamResourceCidr");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyIpamResourceCidr" {:query-params {:ResourceId ""
:ResourceCidr ""
:ResourceRegion ""
:CurrentIpamScopeId ""
:Monitored ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ResourceId=&ResourceCidr=&ResourceRegion=&CurrentIpamScopeId=&Monitored=&Action=&Version=#Action=ModifyIpamResourceCidr"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ResourceId=&ResourceCidr=&ResourceRegion=&CurrentIpamScopeId=&Monitored=&Action=&Version=#Action=ModifyIpamResourceCidr"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ResourceId=&ResourceCidr=&ResourceRegion=&CurrentIpamScopeId=&Monitored=&Action=&Version=#Action=ModifyIpamResourceCidr");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ResourceId=&ResourceCidr=&ResourceRegion=&CurrentIpamScopeId=&Monitored=&Action=&Version=#Action=ModifyIpamResourceCidr"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ResourceId=&ResourceCidr=&ResourceRegion=&CurrentIpamScopeId=&Monitored=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ResourceId=&ResourceCidr=&ResourceRegion=&CurrentIpamScopeId=&Monitored=&Action=&Version=#Action=ModifyIpamResourceCidr")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ResourceId=&ResourceCidr=&ResourceRegion=&CurrentIpamScopeId=&Monitored=&Action=&Version=#Action=ModifyIpamResourceCidr"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ResourceId=&ResourceCidr=&ResourceRegion=&CurrentIpamScopeId=&Monitored=&Action=&Version=#Action=ModifyIpamResourceCidr")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ResourceId=&ResourceCidr=&ResourceRegion=&CurrentIpamScopeId=&Monitored=&Action=&Version=#Action=ModifyIpamResourceCidr")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ResourceId=&ResourceCidr=&ResourceRegion=&CurrentIpamScopeId=&Monitored=&Action=&Version=#Action=ModifyIpamResourceCidr');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyIpamResourceCidr',
params: {
ResourceId: '',
ResourceCidr: '',
ResourceRegion: '',
CurrentIpamScopeId: '',
Monitored: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ResourceId=&ResourceCidr=&ResourceRegion=&CurrentIpamScopeId=&Monitored=&Action=&Version=#Action=ModifyIpamResourceCidr';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ResourceId=&ResourceCidr=&ResourceRegion=&CurrentIpamScopeId=&Monitored=&Action=&Version=#Action=ModifyIpamResourceCidr',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ResourceId=&ResourceCidr=&ResourceRegion=&CurrentIpamScopeId=&Monitored=&Action=&Version=#Action=ModifyIpamResourceCidr")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ResourceId=&ResourceCidr=&ResourceRegion=&CurrentIpamScopeId=&Monitored=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyIpamResourceCidr',
qs: {
ResourceId: '',
ResourceCidr: '',
ResourceRegion: '',
CurrentIpamScopeId: '',
Monitored: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyIpamResourceCidr');
req.query({
ResourceId: '',
ResourceCidr: '',
ResourceRegion: '',
CurrentIpamScopeId: '',
Monitored: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyIpamResourceCidr',
params: {
ResourceId: '',
ResourceCidr: '',
ResourceRegion: '',
CurrentIpamScopeId: '',
Monitored: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ResourceId=&ResourceCidr=&ResourceRegion=&CurrentIpamScopeId=&Monitored=&Action=&Version=#Action=ModifyIpamResourceCidr';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ResourceId=&ResourceCidr=&ResourceRegion=&CurrentIpamScopeId=&Monitored=&Action=&Version=#Action=ModifyIpamResourceCidr"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ResourceId=&ResourceCidr=&ResourceRegion=&CurrentIpamScopeId=&Monitored=&Action=&Version=#Action=ModifyIpamResourceCidr" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ResourceId=&ResourceCidr=&ResourceRegion=&CurrentIpamScopeId=&Monitored=&Action=&Version=#Action=ModifyIpamResourceCidr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ResourceId=&ResourceCidr=&ResourceRegion=&CurrentIpamScopeId=&Monitored=&Action=&Version=#Action=ModifyIpamResourceCidr');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyIpamResourceCidr');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ResourceId' => '',
'ResourceCidr' => '',
'ResourceRegion' => '',
'CurrentIpamScopeId' => '',
'Monitored' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyIpamResourceCidr');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ResourceId' => '',
'ResourceCidr' => '',
'ResourceRegion' => '',
'CurrentIpamScopeId' => '',
'Monitored' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ResourceId=&ResourceCidr=&ResourceRegion=&CurrentIpamScopeId=&Monitored=&Action=&Version=#Action=ModifyIpamResourceCidr' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ResourceId=&ResourceCidr=&ResourceRegion=&CurrentIpamScopeId=&Monitored=&Action=&Version=#Action=ModifyIpamResourceCidr' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ResourceId=&ResourceCidr=&ResourceRegion=&CurrentIpamScopeId=&Monitored=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyIpamResourceCidr"
querystring = {"ResourceId":"","ResourceCidr":"","ResourceRegion":"","CurrentIpamScopeId":"","Monitored":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyIpamResourceCidr"
queryString <- list(
ResourceId = "",
ResourceCidr = "",
ResourceRegion = "",
CurrentIpamScopeId = "",
Monitored = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ResourceId=&ResourceCidr=&ResourceRegion=&CurrentIpamScopeId=&Monitored=&Action=&Version=#Action=ModifyIpamResourceCidr")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ResourceId'] = ''
req.params['ResourceCidr'] = ''
req.params['ResourceRegion'] = ''
req.params['CurrentIpamScopeId'] = ''
req.params['Monitored'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyIpamResourceCidr";
let querystring = [
("ResourceId", ""),
("ResourceCidr", ""),
("ResourceRegion", ""),
("CurrentIpamScopeId", ""),
("Monitored", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ResourceId=&ResourceCidr=&ResourceRegion=&CurrentIpamScopeId=&Monitored=&Action=&Version=#Action=ModifyIpamResourceCidr'
http GET '{{baseUrl}}/?ResourceId=&ResourceCidr=&ResourceRegion=&CurrentIpamScopeId=&Monitored=&Action=&Version=#Action=ModifyIpamResourceCidr'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ResourceId=&ResourceCidr=&ResourceRegion=&CurrentIpamScopeId=&Monitored=&Action=&Version=#Action=ModifyIpamResourceCidr'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ResourceId=&ResourceCidr=&ResourceRegion=&CurrentIpamScopeId=&Monitored=&Action=&Version=#Action=ModifyIpamResourceCidr")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyIpamResourceDiscovery
{{baseUrl}}/#Action=ModifyIpamResourceDiscovery
QUERY PARAMS
IpamResourceDiscoveryId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=ModifyIpamResourceDiscovery");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyIpamResourceDiscovery" {:query-params {:IpamResourceDiscoveryId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=ModifyIpamResourceDiscovery"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=ModifyIpamResourceDiscovery"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=ModifyIpamResourceDiscovery");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=ModifyIpamResourceDiscovery"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?IpamResourceDiscoveryId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=ModifyIpamResourceDiscovery")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=ModifyIpamResourceDiscovery"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=ModifyIpamResourceDiscovery")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=ModifyIpamResourceDiscovery")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=ModifyIpamResourceDiscovery');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyIpamResourceDiscovery',
params: {IpamResourceDiscoveryId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=ModifyIpamResourceDiscovery';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=ModifyIpamResourceDiscovery',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=ModifyIpamResourceDiscovery")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?IpamResourceDiscoveryId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyIpamResourceDiscovery',
qs: {IpamResourceDiscoveryId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyIpamResourceDiscovery');
req.query({
IpamResourceDiscoveryId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyIpamResourceDiscovery',
params: {IpamResourceDiscoveryId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=ModifyIpamResourceDiscovery';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=ModifyIpamResourceDiscovery"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=ModifyIpamResourceDiscovery" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=ModifyIpamResourceDiscovery",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=ModifyIpamResourceDiscovery');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyIpamResourceDiscovery');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'IpamResourceDiscoveryId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyIpamResourceDiscovery');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'IpamResourceDiscoveryId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=ModifyIpamResourceDiscovery' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=ModifyIpamResourceDiscovery' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?IpamResourceDiscoveryId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyIpamResourceDiscovery"
querystring = {"IpamResourceDiscoveryId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyIpamResourceDiscovery"
queryString <- list(
IpamResourceDiscoveryId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=ModifyIpamResourceDiscovery")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['IpamResourceDiscoveryId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyIpamResourceDiscovery";
let querystring = [
("IpamResourceDiscoveryId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=ModifyIpamResourceDiscovery'
http GET '{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=ModifyIpamResourceDiscovery'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=ModifyIpamResourceDiscovery'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?IpamResourceDiscoveryId=&Action=&Version=#Action=ModifyIpamResourceDiscovery")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyIpamScope
{{baseUrl}}/#Action=ModifyIpamScope
QUERY PARAMS
IpamScopeId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=ModifyIpamScope");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyIpamScope" {:query-params {:IpamScopeId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=ModifyIpamScope"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=ModifyIpamScope"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=ModifyIpamScope");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=ModifyIpamScope"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?IpamScopeId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=ModifyIpamScope")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=ModifyIpamScope"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=ModifyIpamScope")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=ModifyIpamScope")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=ModifyIpamScope');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyIpamScope',
params: {IpamScopeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=ModifyIpamScope';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=ModifyIpamScope',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=ModifyIpamScope")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?IpamScopeId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyIpamScope',
qs: {IpamScopeId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyIpamScope');
req.query({
IpamScopeId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyIpamScope',
params: {IpamScopeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=ModifyIpamScope';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=ModifyIpamScope"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=ModifyIpamScope" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=ModifyIpamScope",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=ModifyIpamScope');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyIpamScope');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'IpamScopeId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyIpamScope');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'IpamScopeId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=ModifyIpamScope' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=ModifyIpamScope' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?IpamScopeId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyIpamScope"
querystring = {"IpamScopeId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyIpamScope"
queryString <- list(
IpamScopeId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=ModifyIpamScope")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['IpamScopeId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyIpamScope";
let querystring = [
("IpamScopeId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=ModifyIpamScope'
http GET '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=ModifyIpamScope'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=ModifyIpamScope'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?IpamScopeId=&Action=&Version=#Action=ModifyIpamScope")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyLaunchTemplate
{{baseUrl}}/#Action=ModifyLaunchTemplate
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyLaunchTemplate" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyLaunchTemplate',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyLaunchTemplate',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyLaunchTemplate');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyLaunchTemplate',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyLaunchTemplate');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyLaunchTemplate');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyLaunchTemplate"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyLaunchTemplate"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyLaunchTemplate";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate'
http GET '{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"LaunchTemplate": {
"CreateTime": "2017-12-01T13:35:46.000Z",
"CreatedBy": "arn:aws:iam::123456789012:root",
"DefaultVersionNumber": 2,
"LatestVersionNumber": 2,
"LaunchTemplateId": "lt-0abcd290751193123",
"LaunchTemplateName": "WebServers"
}
}
GET
GET_ModifyLocalGatewayRoute
{{baseUrl}}/#Action=ModifyLocalGatewayRoute
QUERY PARAMS
LocalGatewayRouteTableId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=ModifyLocalGatewayRoute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyLocalGatewayRoute" {:query-params {:LocalGatewayRouteTableId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=ModifyLocalGatewayRoute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=ModifyLocalGatewayRoute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=ModifyLocalGatewayRoute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=ModifyLocalGatewayRoute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?LocalGatewayRouteTableId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=ModifyLocalGatewayRoute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=ModifyLocalGatewayRoute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=ModifyLocalGatewayRoute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=ModifyLocalGatewayRoute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=ModifyLocalGatewayRoute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyLocalGatewayRoute',
params: {LocalGatewayRouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=ModifyLocalGatewayRoute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=ModifyLocalGatewayRoute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=ModifyLocalGatewayRoute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?LocalGatewayRouteTableId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyLocalGatewayRoute',
qs: {LocalGatewayRouteTableId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyLocalGatewayRoute');
req.query({
LocalGatewayRouteTableId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyLocalGatewayRoute',
params: {LocalGatewayRouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=ModifyLocalGatewayRoute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=ModifyLocalGatewayRoute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=ModifyLocalGatewayRoute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=ModifyLocalGatewayRoute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=ModifyLocalGatewayRoute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyLocalGatewayRoute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'LocalGatewayRouteTableId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyLocalGatewayRoute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'LocalGatewayRouteTableId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=ModifyLocalGatewayRoute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=ModifyLocalGatewayRoute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?LocalGatewayRouteTableId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyLocalGatewayRoute"
querystring = {"LocalGatewayRouteTableId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyLocalGatewayRoute"
queryString <- list(
LocalGatewayRouteTableId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=ModifyLocalGatewayRoute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['LocalGatewayRouteTableId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyLocalGatewayRoute";
let querystring = [
("LocalGatewayRouteTableId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=ModifyLocalGatewayRoute'
http GET '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=ModifyLocalGatewayRoute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=ModifyLocalGatewayRoute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=ModifyLocalGatewayRoute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyManagedPrefixList
{{baseUrl}}/#Action=ModifyManagedPrefixList
QUERY PARAMS
PrefixListId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=ModifyManagedPrefixList");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyManagedPrefixList" {:query-params {:PrefixListId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=ModifyManagedPrefixList"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=ModifyManagedPrefixList"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=ModifyManagedPrefixList");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=ModifyManagedPrefixList"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?PrefixListId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=ModifyManagedPrefixList")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=ModifyManagedPrefixList"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=ModifyManagedPrefixList")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=ModifyManagedPrefixList")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=ModifyManagedPrefixList');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyManagedPrefixList',
params: {PrefixListId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=ModifyManagedPrefixList';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=ModifyManagedPrefixList',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=ModifyManagedPrefixList")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?PrefixListId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyManagedPrefixList',
qs: {PrefixListId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyManagedPrefixList');
req.query({
PrefixListId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyManagedPrefixList',
params: {PrefixListId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=ModifyManagedPrefixList';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=ModifyManagedPrefixList"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=ModifyManagedPrefixList" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=ModifyManagedPrefixList",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=ModifyManagedPrefixList');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyManagedPrefixList');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'PrefixListId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyManagedPrefixList');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'PrefixListId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=ModifyManagedPrefixList' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=ModifyManagedPrefixList' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?PrefixListId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyManagedPrefixList"
querystring = {"PrefixListId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyManagedPrefixList"
queryString <- list(
PrefixListId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=ModifyManagedPrefixList")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['PrefixListId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyManagedPrefixList";
let querystring = [
("PrefixListId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=ModifyManagedPrefixList'
http GET '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=ModifyManagedPrefixList'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=ModifyManagedPrefixList'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?PrefixListId=&Action=&Version=#Action=ModifyManagedPrefixList")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyNetworkInterfaceAttribute
{{baseUrl}}/#Action=ModifyNetworkInterfaceAttribute
QUERY PARAMS
NetworkInterfaceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ModifyNetworkInterfaceAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyNetworkInterfaceAttribute" {:query-params {:NetworkInterfaceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ModifyNetworkInterfaceAttribute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ModifyNetworkInterfaceAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ModifyNetworkInterfaceAttribute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ModifyNetworkInterfaceAttribute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?NetworkInterfaceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ModifyNetworkInterfaceAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ModifyNetworkInterfaceAttribute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ModifyNetworkInterfaceAttribute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ModifyNetworkInterfaceAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ModifyNetworkInterfaceAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyNetworkInterfaceAttribute',
params: {NetworkInterfaceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ModifyNetworkInterfaceAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ModifyNetworkInterfaceAttribute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ModifyNetworkInterfaceAttribute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?NetworkInterfaceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyNetworkInterfaceAttribute',
qs: {NetworkInterfaceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyNetworkInterfaceAttribute');
req.query({
NetworkInterfaceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyNetworkInterfaceAttribute',
params: {NetworkInterfaceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ModifyNetworkInterfaceAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ModifyNetworkInterfaceAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ModifyNetworkInterfaceAttribute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ModifyNetworkInterfaceAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ModifyNetworkInterfaceAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyNetworkInterfaceAttribute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'NetworkInterfaceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyNetworkInterfaceAttribute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'NetworkInterfaceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ModifyNetworkInterfaceAttribute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ModifyNetworkInterfaceAttribute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?NetworkInterfaceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyNetworkInterfaceAttribute"
querystring = {"NetworkInterfaceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyNetworkInterfaceAttribute"
queryString <- list(
NetworkInterfaceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ModifyNetworkInterfaceAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['NetworkInterfaceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyNetworkInterfaceAttribute";
let querystring = [
("NetworkInterfaceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ModifyNetworkInterfaceAttribute'
http GET '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ModifyNetworkInterfaceAttribute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ModifyNetworkInterfaceAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ModifyNetworkInterfaceAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyPrivateDnsNameOptions
{{baseUrl}}/#Action=ModifyPrivateDnsNameOptions
QUERY PARAMS
InstanceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyPrivateDnsNameOptions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyPrivateDnsNameOptions" {:query-params {:InstanceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyPrivateDnsNameOptions"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyPrivateDnsNameOptions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyPrivateDnsNameOptions");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyPrivateDnsNameOptions"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyPrivateDnsNameOptions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyPrivateDnsNameOptions"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyPrivateDnsNameOptions")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyPrivateDnsNameOptions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyPrivateDnsNameOptions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyPrivateDnsNameOptions',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyPrivateDnsNameOptions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyPrivateDnsNameOptions',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyPrivateDnsNameOptions")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyPrivateDnsNameOptions',
qs: {InstanceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyPrivateDnsNameOptions');
req.query({
InstanceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyPrivateDnsNameOptions',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyPrivateDnsNameOptions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyPrivateDnsNameOptions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyPrivateDnsNameOptions" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyPrivateDnsNameOptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyPrivateDnsNameOptions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyPrivateDnsNameOptions');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyPrivateDnsNameOptions');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyPrivateDnsNameOptions' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyPrivateDnsNameOptions' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyPrivateDnsNameOptions"
querystring = {"InstanceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyPrivateDnsNameOptions"
queryString <- list(
InstanceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyPrivateDnsNameOptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyPrivateDnsNameOptions";
let querystring = [
("InstanceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyPrivateDnsNameOptions'
http GET '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyPrivateDnsNameOptions'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyPrivateDnsNameOptions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=ModifyPrivateDnsNameOptions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyReservedInstances
{{baseUrl}}/#Action=ModifyReservedInstances
QUERY PARAMS
ReservedInstancesId
ReservedInstancesConfigurationSetItemType
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ReservedInstancesId=&ReservedInstancesConfigurationSetItemType=&Action=&Version=#Action=ModifyReservedInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyReservedInstances" {:query-params {:ReservedInstancesId ""
:ReservedInstancesConfigurationSetItemType ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ReservedInstancesId=&ReservedInstancesConfigurationSetItemType=&Action=&Version=#Action=ModifyReservedInstances"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ReservedInstancesId=&ReservedInstancesConfigurationSetItemType=&Action=&Version=#Action=ModifyReservedInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ReservedInstancesId=&ReservedInstancesConfigurationSetItemType=&Action=&Version=#Action=ModifyReservedInstances");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ReservedInstancesId=&ReservedInstancesConfigurationSetItemType=&Action=&Version=#Action=ModifyReservedInstances"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ReservedInstancesId=&ReservedInstancesConfigurationSetItemType=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ReservedInstancesId=&ReservedInstancesConfigurationSetItemType=&Action=&Version=#Action=ModifyReservedInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ReservedInstancesId=&ReservedInstancesConfigurationSetItemType=&Action=&Version=#Action=ModifyReservedInstances"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ReservedInstancesId=&ReservedInstancesConfigurationSetItemType=&Action=&Version=#Action=ModifyReservedInstances")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ReservedInstancesId=&ReservedInstancesConfigurationSetItemType=&Action=&Version=#Action=ModifyReservedInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ReservedInstancesId=&ReservedInstancesConfigurationSetItemType=&Action=&Version=#Action=ModifyReservedInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyReservedInstances',
params: {
ReservedInstancesId: '',
ReservedInstancesConfigurationSetItemType: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ReservedInstancesId=&ReservedInstancesConfigurationSetItemType=&Action=&Version=#Action=ModifyReservedInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ReservedInstancesId=&ReservedInstancesConfigurationSetItemType=&Action=&Version=#Action=ModifyReservedInstances',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ReservedInstancesId=&ReservedInstancesConfigurationSetItemType=&Action=&Version=#Action=ModifyReservedInstances")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ReservedInstancesId=&ReservedInstancesConfigurationSetItemType=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyReservedInstances',
qs: {
ReservedInstancesId: '',
ReservedInstancesConfigurationSetItemType: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyReservedInstances');
req.query({
ReservedInstancesId: '',
ReservedInstancesConfigurationSetItemType: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyReservedInstances',
params: {
ReservedInstancesId: '',
ReservedInstancesConfigurationSetItemType: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ReservedInstancesId=&ReservedInstancesConfigurationSetItemType=&Action=&Version=#Action=ModifyReservedInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ReservedInstancesId=&ReservedInstancesConfigurationSetItemType=&Action=&Version=#Action=ModifyReservedInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ReservedInstancesId=&ReservedInstancesConfigurationSetItemType=&Action=&Version=#Action=ModifyReservedInstances" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ReservedInstancesId=&ReservedInstancesConfigurationSetItemType=&Action=&Version=#Action=ModifyReservedInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ReservedInstancesId=&ReservedInstancesConfigurationSetItemType=&Action=&Version=#Action=ModifyReservedInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyReservedInstances');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ReservedInstancesId' => '',
'ReservedInstancesConfigurationSetItemType' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyReservedInstances');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ReservedInstancesId' => '',
'ReservedInstancesConfigurationSetItemType' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ReservedInstancesId=&ReservedInstancesConfigurationSetItemType=&Action=&Version=#Action=ModifyReservedInstances' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ReservedInstancesId=&ReservedInstancesConfigurationSetItemType=&Action=&Version=#Action=ModifyReservedInstances' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ReservedInstancesId=&ReservedInstancesConfigurationSetItemType=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyReservedInstances"
querystring = {"ReservedInstancesId":"","ReservedInstancesConfigurationSetItemType":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyReservedInstances"
queryString <- list(
ReservedInstancesId = "",
ReservedInstancesConfigurationSetItemType = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ReservedInstancesId=&ReservedInstancesConfigurationSetItemType=&Action=&Version=#Action=ModifyReservedInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ReservedInstancesId'] = ''
req.params['ReservedInstancesConfigurationSetItemType'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyReservedInstances";
let querystring = [
("ReservedInstancesId", ""),
("ReservedInstancesConfigurationSetItemType", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ReservedInstancesId=&ReservedInstancesConfigurationSetItemType=&Action=&Version=#Action=ModifyReservedInstances'
http GET '{{baseUrl}}/?ReservedInstancesId=&ReservedInstancesConfigurationSetItemType=&Action=&Version=#Action=ModifyReservedInstances'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ReservedInstancesId=&ReservedInstancesConfigurationSetItemType=&Action=&Version=#Action=ModifyReservedInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ReservedInstancesId=&ReservedInstancesConfigurationSetItemType=&Action=&Version=#Action=ModifyReservedInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifySecurityGroupRules
{{baseUrl}}/#Action=ModifySecurityGroupRules
QUERY PARAMS
GroupId
SecurityGroupRule
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?GroupId=&SecurityGroupRule=&Action=&Version=#Action=ModifySecurityGroupRules");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifySecurityGroupRules" {:query-params {:GroupId ""
:SecurityGroupRule ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?GroupId=&SecurityGroupRule=&Action=&Version=#Action=ModifySecurityGroupRules"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?GroupId=&SecurityGroupRule=&Action=&Version=#Action=ModifySecurityGroupRules"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?GroupId=&SecurityGroupRule=&Action=&Version=#Action=ModifySecurityGroupRules");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?GroupId=&SecurityGroupRule=&Action=&Version=#Action=ModifySecurityGroupRules"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?GroupId=&SecurityGroupRule=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?GroupId=&SecurityGroupRule=&Action=&Version=#Action=ModifySecurityGroupRules")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?GroupId=&SecurityGroupRule=&Action=&Version=#Action=ModifySecurityGroupRules"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?GroupId=&SecurityGroupRule=&Action=&Version=#Action=ModifySecurityGroupRules")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?GroupId=&SecurityGroupRule=&Action=&Version=#Action=ModifySecurityGroupRules")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?GroupId=&SecurityGroupRule=&Action=&Version=#Action=ModifySecurityGroupRules');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifySecurityGroupRules',
params: {GroupId: '', SecurityGroupRule: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?GroupId=&SecurityGroupRule=&Action=&Version=#Action=ModifySecurityGroupRules';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?GroupId=&SecurityGroupRule=&Action=&Version=#Action=ModifySecurityGroupRules',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?GroupId=&SecurityGroupRule=&Action=&Version=#Action=ModifySecurityGroupRules")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?GroupId=&SecurityGroupRule=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifySecurityGroupRules',
qs: {GroupId: '', SecurityGroupRule: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifySecurityGroupRules');
req.query({
GroupId: '',
SecurityGroupRule: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifySecurityGroupRules',
params: {GroupId: '', SecurityGroupRule: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?GroupId=&SecurityGroupRule=&Action=&Version=#Action=ModifySecurityGroupRules';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?GroupId=&SecurityGroupRule=&Action=&Version=#Action=ModifySecurityGroupRules"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?GroupId=&SecurityGroupRule=&Action=&Version=#Action=ModifySecurityGroupRules" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?GroupId=&SecurityGroupRule=&Action=&Version=#Action=ModifySecurityGroupRules",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?GroupId=&SecurityGroupRule=&Action=&Version=#Action=ModifySecurityGroupRules');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifySecurityGroupRules');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'GroupId' => '',
'SecurityGroupRule' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifySecurityGroupRules');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'GroupId' => '',
'SecurityGroupRule' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?GroupId=&SecurityGroupRule=&Action=&Version=#Action=ModifySecurityGroupRules' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?GroupId=&SecurityGroupRule=&Action=&Version=#Action=ModifySecurityGroupRules' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?GroupId=&SecurityGroupRule=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifySecurityGroupRules"
querystring = {"GroupId":"","SecurityGroupRule":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifySecurityGroupRules"
queryString <- list(
GroupId = "",
SecurityGroupRule = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?GroupId=&SecurityGroupRule=&Action=&Version=#Action=ModifySecurityGroupRules")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['GroupId'] = ''
req.params['SecurityGroupRule'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifySecurityGroupRules";
let querystring = [
("GroupId", ""),
("SecurityGroupRule", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?GroupId=&SecurityGroupRule=&Action=&Version=#Action=ModifySecurityGroupRules'
http GET '{{baseUrl}}/?GroupId=&SecurityGroupRule=&Action=&Version=#Action=ModifySecurityGroupRules'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?GroupId=&SecurityGroupRule=&Action=&Version=#Action=ModifySecurityGroupRules'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?GroupId=&SecurityGroupRule=&Action=&Version=#Action=ModifySecurityGroupRules")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifySnapshotAttribute
{{baseUrl}}/#Action=ModifySnapshotAttribute
QUERY PARAMS
SnapshotId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifySnapshotAttribute" {:query-params {:SnapshotId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotAttribute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotAttribute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotAttribute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?SnapshotId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotAttribute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotAttribute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifySnapshotAttribute',
params: {SnapshotId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotAttribute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotAttribute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?SnapshotId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifySnapshotAttribute',
qs: {SnapshotId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifySnapshotAttribute');
req.query({
SnapshotId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifySnapshotAttribute',
params: {SnapshotId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotAttribute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifySnapshotAttribute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'SnapshotId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifySnapshotAttribute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'SnapshotId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotAttribute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotAttribute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?SnapshotId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifySnapshotAttribute"
querystring = {"SnapshotId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifySnapshotAttribute"
queryString <- list(
SnapshotId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['SnapshotId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifySnapshotAttribute";
let querystring = [
("SnapshotId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotAttribute'
http GET '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotAttribute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifySnapshotTier
{{baseUrl}}/#Action=ModifySnapshotTier
QUERY PARAMS
SnapshotId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotTier");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifySnapshotTier" {:query-params {:SnapshotId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotTier"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotTier"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotTier");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotTier"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?SnapshotId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotTier")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotTier"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotTier")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotTier")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotTier');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifySnapshotTier',
params: {SnapshotId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotTier';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotTier',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotTier")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?SnapshotId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifySnapshotTier',
qs: {SnapshotId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifySnapshotTier');
req.query({
SnapshotId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifySnapshotTier',
params: {SnapshotId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotTier';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotTier"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotTier" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotTier",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotTier');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifySnapshotTier');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'SnapshotId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifySnapshotTier');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'SnapshotId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotTier' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotTier' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?SnapshotId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifySnapshotTier"
querystring = {"SnapshotId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifySnapshotTier"
queryString <- list(
SnapshotId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotTier")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['SnapshotId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifySnapshotTier";
let querystring = [
("SnapshotId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotTier'
http GET '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotTier'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotTier'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=ModifySnapshotTier")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifySpotFleetRequest
{{baseUrl}}/#Action=ModifySpotFleetRequest
QUERY PARAMS
SpotFleetRequestId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=ModifySpotFleetRequest");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifySpotFleetRequest" {:query-params {:SpotFleetRequestId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=ModifySpotFleetRequest"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=ModifySpotFleetRequest"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=ModifySpotFleetRequest");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=ModifySpotFleetRequest"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?SpotFleetRequestId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=ModifySpotFleetRequest")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=ModifySpotFleetRequest"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=ModifySpotFleetRequest")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=ModifySpotFleetRequest")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=ModifySpotFleetRequest');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifySpotFleetRequest',
params: {SpotFleetRequestId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=ModifySpotFleetRequest';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=ModifySpotFleetRequest',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=ModifySpotFleetRequest")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?SpotFleetRequestId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifySpotFleetRequest',
qs: {SpotFleetRequestId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifySpotFleetRequest');
req.query({
SpotFleetRequestId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifySpotFleetRequest',
params: {SpotFleetRequestId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=ModifySpotFleetRequest';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=ModifySpotFleetRequest"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=ModifySpotFleetRequest" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=ModifySpotFleetRequest",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=ModifySpotFleetRequest');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifySpotFleetRequest');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'SpotFleetRequestId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifySpotFleetRequest');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'SpotFleetRequestId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=ModifySpotFleetRequest' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=ModifySpotFleetRequest' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?SpotFleetRequestId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifySpotFleetRequest"
querystring = {"SpotFleetRequestId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifySpotFleetRequest"
queryString <- list(
SpotFleetRequestId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=ModifySpotFleetRequest")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['SpotFleetRequestId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifySpotFleetRequest";
let querystring = [
("SpotFleetRequestId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=ModifySpotFleetRequest'
http GET '{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=ModifySpotFleetRequest'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=ModifySpotFleetRequest'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?SpotFleetRequestId=&Action=&Version=#Action=ModifySpotFleetRequest")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"Return": true
}
GET
GET_ModifySubnetAttribute
{{baseUrl}}/#Action=ModifySubnetAttribute
QUERY PARAMS
SubnetId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=ModifySubnetAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifySubnetAttribute" {:query-params {:SubnetId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=ModifySubnetAttribute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=ModifySubnetAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=ModifySubnetAttribute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=ModifySubnetAttribute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?SubnetId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=ModifySubnetAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=ModifySubnetAttribute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=ModifySubnetAttribute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=ModifySubnetAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=ModifySubnetAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifySubnetAttribute',
params: {SubnetId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=ModifySubnetAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=ModifySubnetAttribute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=ModifySubnetAttribute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?SubnetId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifySubnetAttribute',
qs: {SubnetId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifySubnetAttribute');
req.query({
SubnetId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifySubnetAttribute',
params: {SubnetId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=ModifySubnetAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?SubnetId=&Action=&Version=#Action=ModifySubnetAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=ModifySubnetAttribute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?SubnetId=&Action=&Version=#Action=ModifySubnetAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=ModifySubnetAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifySubnetAttribute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'SubnetId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifySubnetAttribute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'SubnetId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=ModifySubnetAttribute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=ModifySubnetAttribute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?SubnetId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifySubnetAttribute"
querystring = {"SubnetId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifySubnetAttribute"
queryString <- list(
SubnetId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?SubnetId=&Action=&Version=#Action=ModifySubnetAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['SubnetId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifySubnetAttribute";
let querystring = [
("SubnetId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=ModifySubnetAttribute'
http GET '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=ModifySubnetAttribute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?SubnetId=&Action=&Version=#Action=ModifySubnetAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?SubnetId=&Action=&Version=#Action=ModifySubnetAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyTrafficMirrorFilterNetworkServices
{{baseUrl}}/#Action=ModifyTrafficMirrorFilterNetworkServices
QUERY PARAMS
TrafficMirrorFilterId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyTrafficMirrorFilterNetworkServices" {:query-params {:TrafficMirrorFilterId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TrafficMirrorFilterId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyTrafficMirrorFilterNetworkServices',
params: {TrafficMirrorFilterId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TrafficMirrorFilterId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyTrafficMirrorFilterNetworkServices',
qs: {TrafficMirrorFilterId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyTrafficMirrorFilterNetworkServices');
req.query({
TrafficMirrorFilterId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyTrafficMirrorFilterNetworkServices',
params: {TrafficMirrorFilterId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyTrafficMirrorFilterNetworkServices');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TrafficMirrorFilterId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyTrafficMirrorFilterNetworkServices');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TrafficMirrorFilterId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TrafficMirrorFilterId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyTrafficMirrorFilterNetworkServices"
querystring = {"TrafficMirrorFilterId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyTrafficMirrorFilterNetworkServices"
queryString <- list(
TrafficMirrorFilterId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TrafficMirrorFilterId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyTrafficMirrorFilterNetworkServices";
let querystring = [
("TrafficMirrorFilterId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices'
http GET '{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TrafficMirrorFilterId=&Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyTrafficMirrorFilterRule
{{baseUrl}}/#Action=ModifyTrafficMirrorFilterRule
QUERY PARAMS
TrafficMirrorFilterRuleId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=ModifyTrafficMirrorFilterRule");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyTrafficMirrorFilterRule" {:query-params {:TrafficMirrorFilterRuleId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=ModifyTrafficMirrorFilterRule"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=ModifyTrafficMirrorFilterRule"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=ModifyTrafficMirrorFilterRule");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=ModifyTrafficMirrorFilterRule"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TrafficMirrorFilterRuleId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=ModifyTrafficMirrorFilterRule")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=ModifyTrafficMirrorFilterRule"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=ModifyTrafficMirrorFilterRule")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=ModifyTrafficMirrorFilterRule")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=ModifyTrafficMirrorFilterRule');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyTrafficMirrorFilterRule',
params: {TrafficMirrorFilterRuleId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=ModifyTrafficMirrorFilterRule';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=ModifyTrafficMirrorFilterRule',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=ModifyTrafficMirrorFilterRule")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TrafficMirrorFilterRuleId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyTrafficMirrorFilterRule',
qs: {TrafficMirrorFilterRuleId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyTrafficMirrorFilterRule');
req.query({
TrafficMirrorFilterRuleId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyTrafficMirrorFilterRule',
params: {TrafficMirrorFilterRuleId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=ModifyTrafficMirrorFilterRule';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=ModifyTrafficMirrorFilterRule"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=ModifyTrafficMirrorFilterRule" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=ModifyTrafficMirrorFilterRule",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=ModifyTrafficMirrorFilterRule');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyTrafficMirrorFilterRule');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TrafficMirrorFilterRuleId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyTrafficMirrorFilterRule');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TrafficMirrorFilterRuleId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=ModifyTrafficMirrorFilterRule' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=ModifyTrafficMirrorFilterRule' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TrafficMirrorFilterRuleId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyTrafficMirrorFilterRule"
querystring = {"TrafficMirrorFilterRuleId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyTrafficMirrorFilterRule"
queryString <- list(
TrafficMirrorFilterRuleId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=ModifyTrafficMirrorFilterRule")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TrafficMirrorFilterRuleId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyTrafficMirrorFilterRule";
let querystring = [
("TrafficMirrorFilterRuleId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=ModifyTrafficMirrorFilterRule'
http GET '{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=ModifyTrafficMirrorFilterRule'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=ModifyTrafficMirrorFilterRule'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TrafficMirrorFilterRuleId=&Action=&Version=#Action=ModifyTrafficMirrorFilterRule")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyTrafficMirrorSession
{{baseUrl}}/#Action=ModifyTrafficMirrorSession
QUERY PARAMS
TrafficMirrorSessionId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=ModifyTrafficMirrorSession");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyTrafficMirrorSession" {:query-params {:TrafficMirrorSessionId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=ModifyTrafficMirrorSession"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=ModifyTrafficMirrorSession"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=ModifyTrafficMirrorSession");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=ModifyTrafficMirrorSession"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TrafficMirrorSessionId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=ModifyTrafficMirrorSession")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=ModifyTrafficMirrorSession"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=ModifyTrafficMirrorSession")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=ModifyTrafficMirrorSession")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=ModifyTrafficMirrorSession');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyTrafficMirrorSession',
params: {TrafficMirrorSessionId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=ModifyTrafficMirrorSession';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=ModifyTrafficMirrorSession',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=ModifyTrafficMirrorSession")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TrafficMirrorSessionId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyTrafficMirrorSession',
qs: {TrafficMirrorSessionId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyTrafficMirrorSession');
req.query({
TrafficMirrorSessionId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyTrafficMirrorSession',
params: {TrafficMirrorSessionId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=ModifyTrafficMirrorSession';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=ModifyTrafficMirrorSession"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=ModifyTrafficMirrorSession" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=ModifyTrafficMirrorSession",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=ModifyTrafficMirrorSession');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyTrafficMirrorSession');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TrafficMirrorSessionId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyTrafficMirrorSession');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TrafficMirrorSessionId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=ModifyTrafficMirrorSession' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=ModifyTrafficMirrorSession' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TrafficMirrorSessionId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyTrafficMirrorSession"
querystring = {"TrafficMirrorSessionId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyTrafficMirrorSession"
queryString <- list(
TrafficMirrorSessionId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=ModifyTrafficMirrorSession")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TrafficMirrorSessionId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyTrafficMirrorSession";
let querystring = [
("TrafficMirrorSessionId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=ModifyTrafficMirrorSession'
http GET '{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=ModifyTrafficMirrorSession'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=ModifyTrafficMirrorSession'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TrafficMirrorSessionId=&Action=&Version=#Action=ModifyTrafficMirrorSession")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyTransitGateway
{{baseUrl}}/#Action=ModifyTransitGateway
QUERY PARAMS
TransitGatewayId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=ModifyTransitGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyTransitGateway" {:query-params {:TransitGatewayId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=ModifyTransitGateway"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=ModifyTransitGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=ModifyTransitGateway");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=ModifyTransitGateway"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=ModifyTransitGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=ModifyTransitGateway"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=ModifyTransitGateway")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=ModifyTransitGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=ModifyTransitGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyTransitGateway',
params: {TransitGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=ModifyTransitGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=ModifyTransitGateway',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=ModifyTransitGateway")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyTransitGateway',
qs: {TransitGatewayId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyTransitGateway');
req.query({
TransitGatewayId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyTransitGateway',
params: {TransitGatewayId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=ModifyTransitGateway';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=ModifyTransitGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=ModifyTransitGateway" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=ModifyTransitGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=ModifyTransitGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyTransitGateway');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyTransitGateway');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=ModifyTransitGateway' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=ModifyTransitGateway' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyTransitGateway"
querystring = {"TransitGatewayId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyTransitGateway"
queryString <- list(
TransitGatewayId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=ModifyTransitGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyTransitGateway";
let querystring = [
("TransitGatewayId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=ModifyTransitGateway'
http GET '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=ModifyTransitGateway'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=ModifyTransitGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayId=&Action=&Version=#Action=ModifyTransitGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyTransitGatewayPrefixListReference
{{baseUrl}}/#Action=ModifyTransitGatewayPrefixListReference
QUERY PARAMS
TransitGatewayRouteTableId
PrefixListId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=ModifyTransitGatewayPrefixListReference");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyTransitGatewayPrefixListReference" {:query-params {:TransitGatewayRouteTableId ""
:PrefixListId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=ModifyTransitGatewayPrefixListReference"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=ModifyTransitGatewayPrefixListReference"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=ModifyTransitGatewayPrefixListReference");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=ModifyTransitGatewayPrefixListReference"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=ModifyTransitGatewayPrefixListReference")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=ModifyTransitGatewayPrefixListReference"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=ModifyTransitGatewayPrefixListReference")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=ModifyTransitGatewayPrefixListReference")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=ModifyTransitGatewayPrefixListReference');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyTransitGatewayPrefixListReference',
params: {TransitGatewayRouteTableId: '', PrefixListId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=ModifyTransitGatewayPrefixListReference';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=ModifyTransitGatewayPrefixListReference',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=ModifyTransitGatewayPrefixListReference")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyTransitGatewayPrefixListReference',
qs: {TransitGatewayRouteTableId: '', PrefixListId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyTransitGatewayPrefixListReference');
req.query({
TransitGatewayRouteTableId: '',
PrefixListId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyTransitGatewayPrefixListReference',
params: {TransitGatewayRouteTableId: '', PrefixListId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=ModifyTransitGatewayPrefixListReference';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=ModifyTransitGatewayPrefixListReference"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=ModifyTransitGatewayPrefixListReference" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=ModifyTransitGatewayPrefixListReference",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=ModifyTransitGatewayPrefixListReference');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyTransitGatewayPrefixListReference');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayRouteTableId' => '',
'PrefixListId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyTransitGatewayPrefixListReference');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayRouteTableId' => '',
'PrefixListId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=ModifyTransitGatewayPrefixListReference' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=ModifyTransitGatewayPrefixListReference' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyTransitGatewayPrefixListReference"
querystring = {"TransitGatewayRouteTableId":"","PrefixListId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyTransitGatewayPrefixListReference"
queryString <- list(
TransitGatewayRouteTableId = "",
PrefixListId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=ModifyTransitGatewayPrefixListReference")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayRouteTableId'] = ''
req.params['PrefixListId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyTransitGatewayPrefixListReference";
let querystring = [
("TransitGatewayRouteTableId", ""),
("PrefixListId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=ModifyTransitGatewayPrefixListReference'
http GET '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=ModifyTransitGatewayPrefixListReference'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=ModifyTransitGatewayPrefixListReference'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayRouteTableId=&PrefixListId=&Action=&Version=#Action=ModifyTransitGatewayPrefixListReference")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyTransitGatewayVpcAttachment
{{baseUrl}}/#Action=ModifyTransitGatewayVpcAttachment
QUERY PARAMS
TransitGatewayAttachmentId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=ModifyTransitGatewayVpcAttachment");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyTransitGatewayVpcAttachment" {:query-params {:TransitGatewayAttachmentId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=ModifyTransitGatewayVpcAttachment"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=ModifyTransitGatewayVpcAttachment"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=ModifyTransitGatewayVpcAttachment");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=ModifyTransitGatewayVpcAttachment"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayAttachmentId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=ModifyTransitGatewayVpcAttachment")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=ModifyTransitGatewayVpcAttachment"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=ModifyTransitGatewayVpcAttachment")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=ModifyTransitGatewayVpcAttachment")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=ModifyTransitGatewayVpcAttachment');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyTransitGatewayVpcAttachment',
params: {TransitGatewayAttachmentId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=ModifyTransitGatewayVpcAttachment';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=ModifyTransitGatewayVpcAttachment',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=ModifyTransitGatewayVpcAttachment")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayAttachmentId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyTransitGatewayVpcAttachment',
qs: {TransitGatewayAttachmentId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyTransitGatewayVpcAttachment');
req.query({
TransitGatewayAttachmentId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyTransitGatewayVpcAttachment',
params: {TransitGatewayAttachmentId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=ModifyTransitGatewayVpcAttachment';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=ModifyTransitGatewayVpcAttachment"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=ModifyTransitGatewayVpcAttachment" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=ModifyTransitGatewayVpcAttachment",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=ModifyTransitGatewayVpcAttachment');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyTransitGatewayVpcAttachment');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayAttachmentId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyTransitGatewayVpcAttachment');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayAttachmentId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=ModifyTransitGatewayVpcAttachment' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=ModifyTransitGatewayVpcAttachment' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayAttachmentId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyTransitGatewayVpcAttachment"
querystring = {"TransitGatewayAttachmentId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyTransitGatewayVpcAttachment"
queryString <- list(
TransitGatewayAttachmentId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=ModifyTransitGatewayVpcAttachment")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayAttachmentId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyTransitGatewayVpcAttachment";
let querystring = [
("TransitGatewayAttachmentId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=ModifyTransitGatewayVpcAttachment'
http GET '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=ModifyTransitGatewayVpcAttachment'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=ModifyTransitGatewayVpcAttachment'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=ModifyTransitGatewayVpcAttachment")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyVerifiedAccessEndpoint
{{baseUrl}}/#Action=ModifyVerifiedAccessEndpoint
QUERY PARAMS
VerifiedAccessEndpointId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=ModifyVerifiedAccessEndpoint");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyVerifiedAccessEndpoint" {:query-params {:VerifiedAccessEndpointId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=ModifyVerifiedAccessEndpoint"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=ModifyVerifiedAccessEndpoint"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=ModifyVerifiedAccessEndpoint");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=ModifyVerifiedAccessEndpoint"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VerifiedAccessEndpointId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=ModifyVerifiedAccessEndpoint")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=ModifyVerifiedAccessEndpoint"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=ModifyVerifiedAccessEndpoint")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=ModifyVerifiedAccessEndpoint")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=ModifyVerifiedAccessEndpoint');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessEndpoint',
params: {VerifiedAccessEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=ModifyVerifiedAccessEndpoint';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=ModifyVerifiedAccessEndpoint',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=ModifyVerifiedAccessEndpoint")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VerifiedAccessEndpointId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessEndpoint',
qs: {VerifiedAccessEndpointId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyVerifiedAccessEndpoint');
req.query({
VerifiedAccessEndpointId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessEndpoint',
params: {VerifiedAccessEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=ModifyVerifiedAccessEndpoint';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=ModifyVerifiedAccessEndpoint"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=ModifyVerifiedAccessEndpoint" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=ModifyVerifiedAccessEndpoint",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=ModifyVerifiedAccessEndpoint');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVerifiedAccessEndpoint');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VerifiedAccessEndpointId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVerifiedAccessEndpoint');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VerifiedAccessEndpointId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=ModifyVerifiedAccessEndpoint' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=ModifyVerifiedAccessEndpoint' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VerifiedAccessEndpointId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVerifiedAccessEndpoint"
querystring = {"VerifiedAccessEndpointId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVerifiedAccessEndpoint"
queryString <- list(
VerifiedAccessEndpointId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=ModifyVerifiedAccessEndpoint")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VerifiedAccessEndpointId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVerifiedAccessEndpoint";
let querystring = [
("VerifiedAccessEndpointId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=ModifyVerifiedAccessEndpoint'
http GET '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=ModifyVerifiedAccessEndpoint'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=ModifyVerifiedAccessEndpoint'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VerifiedAccessEndpointId=&Action=&Version=#Action=ModifyVerifiedAccessEndpoint")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyVerifiedAccessEndpointPolicy
{{baseUrl}}/#Action=ModifyVerifiedAccessEndpointPolicy
QUERY PARAMS
VerifiedAccessEndpointId
PolicyEnabled
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VerifiedAccessEndpointId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyVerifiedAccessEndpointPolicy" {:query-params {:VerifiedAccessEndpointId ""
:PolicyEnabled ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VerifiedAccessEndpointId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VerifiedAccessEndpointId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VerifiedAccessEndpointId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VerifiedAccessEndpointId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VerifiedAccessEndpointId=&PolicyEnabled=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VerifiedAccessEndpointId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VerifiedAccessEndpointId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessEndpointId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VerifiedAccessEndpointId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VerifiedAccessEndpointId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessEndpointPolicy',
params: {VerifiedAccessEndpointId: '', PolicyEnabled: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VerifiedAccessEndpointId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VerifiedAccessEndpointId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessEndpointId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VerifiedAccessEndpointId=&PolicyEnabled=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessEndpointPolicy',
qs: {VerifiedAccessEndpointId: '', PolicyEnabled: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyVerifiedAccessEndpointPolicy');
req.query({
VerifiedAccessEndpointId: '',
PolicyEnabled: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessEndpointPolicy',
params: {VerifiedAccessEndpointId: '', PolicyEnabled: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VerifiedAccessEndpointId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VerifiedAccessEndpointId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VerifiedAccessEndpointId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VerifiedAccessEndpointId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VerifiedAccessEndpointId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVerifiedAccessEndpointPolicy');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VerifiedAccessEndpointId' => '',
'PolicyEnabled' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVerifiedAccessEndpointPolicy');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VerifiedAccessEndpointId' => '',
'PolicyEnabled' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VerifiedAccessEndpointId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VerifiedAccessEndpointId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VerifiedAccessEndpointId=&PolicyEnabled=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVerifiedAccessEndpointPolicy"
querystring = {"VerifiedAccessEndpointId":"","PolicyEnabled":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVerifiedAccessEndpointPolicy"
queryString <- list(
VerifiedAccessEndpointId = "",
PolicyEnabled = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VerifiedAccessEndpointId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VerifiedAccessEndpointId'] = ''
req.params['PolicyEnabled'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVerifiedAccessEndpointPolicy";
let querystring = [
("VerifiedAccessEndpointId", ""),
("PolicyEnabled", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VerifiedAccessEndpointId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy'
http GET '{{baseUrl}}/?VerifiedAccessEndpointId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VerifiedAccessEndpointId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VerifiedAccessEndpointId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyVerifiedAccessGroup
{{baseUrl}}/#Action=ModifyVerifiedAccessGroup
QUERY PARAMS
VerifiedAccessGroupId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=ModifyVerifiedAccessGroup");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyVerifiedAccessGroup" {:query-params {:VerifiedAccessGroupId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=ModifyVerifiedAccessGroup"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=ModifyVerifiedAccessGroup"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=ModifyVerifiedAccessGroup");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=ModifyVerifiedAccessGroup"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VerifiedAccessGroupId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=ModifyVerifiedAccessGroup")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=ModifyVerifiedAccessGroup"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=ModifyVerifiedAccessGroup")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=ModifyVerifiedAccessGroup")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=ModifyVerifiedAccessGroup');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessGroup',
params: {VerifiedAccessGroupId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=ModifyVerifiedAccessGroup';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=ModifyVerifiedAccessGroup',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=ModifyVerifiedAccessGroup")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VerifiedAccessGroupId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessGroup',
qs: {VerifiedAccessGroupId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyVerifiedAccessGroup');
req.query({
VerifiedAccessGroupId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessGroup',
params: {VerifiedAccessGroupId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=ModifyVerifiedAccessGroup';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=ModifyVerifiedAccessGroup"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=ModifyVerifiedAccessGroup" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=ModifyVerifiedAccessGroup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=ModifyVerifiedAccessGroup');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVerifiedAccessGroup');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VerifiedAccessGroupId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVerifiedAccessGroup');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VerifiedAccessGroupId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=ModifyVerifiedAccessGroup' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=ModifyVerifiedAccessGroup' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VerifiedAccessGroupId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVerifiedAccessGroup"
querystring = {"VerifiedAccessGroupId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVerifiedAccessGroup"
queryString <- list(
VerifiedAccessGroupId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=ModifyVerifiedAccessGroup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VerifiedAccessGroupId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVerifiedAccessGroup";
let querystring = [
("VerifiedAccessGroupId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=ModifyVerifiedAccessGroup'
http GET '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=ModifyVerifiedAccessGroup'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=ModifyVerifiedAccessGroup'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VerifiedAccessGroupId=&Action=&Version=#Action=ModifyVerifiedAccessGroup")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyVerifiedAccessGroupPolicy
{{baseUrl}}/#Action=ModifyVerifiedAccessGroupPolicy
QUERY PARAMS
VerifiedAccessGroupId
PolicyEnabled
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VerifiedAccessGroupId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyVerifiedAccessGroupPolicy" {:query-params {:VerifiedAccessGroupId ""
:PolicyEnabled ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VerifiedAccessGroupId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VerifiedAccessGroupId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VerifiedAccessGroupId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VerifiedAccessGroupId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VerifiedAccessGroupId=&PolicyEnabled=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VerifiedAccessGroupId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VerifiedAccessGroupId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessGroupId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VerifiedAccessGroupId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VerifiedAccessGroupId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessGroupPolicy',
params: {VerifiedAccessGroupId: '', PolicyEnabled: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VerifiedAccessGroupId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VerifiedAccessGroupId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessGroupId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VerifiedAccessGroupId=&PolicyEnabled=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessGroupPolicy',
qs: {VerifiedAccessGroupId: '', PolicyEnabled: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyVerifiedAccessGroupPolicy');
req.query({
VerifiedAccessGroupId: '',
PolicyEnabled: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessGroupPolicy',
params: {VerifiedAccessGroupId: '', PolicyEnabled: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VerifiedAccessGroupId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VerifiedAccessGroupId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VerifiedAccessGroupId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VerifiedAccessGroupId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VerifiedAccessGroupId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVerifiedAccessGroupPolicy');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VerifiedAccessGroupId' => '',
'PolicyEnabled' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVerifiedAccessGroupPolicy');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VerifiedAccessGroupId' => '',
'PolicyEnabled' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VerifiedAccessGroupId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VerifiedAccessGroupId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VerifiedAccessGroupId=&PolicyEnabled=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVerifiedAccessGroupPolicy"
querystring = {"VerifiedAccessGroupId":"","PolicyEnabled":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVerifiedAccessGroupPolicy"
queryString <- list(
VerifiedAccessGroupId = "",
PolicyEnabled = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VerifiedAccessGroupId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VerifiedAccessGroupId'] = ''
req.params['PolicyEnabled'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVerifiedAccessGroupPolicy";
let querystring = [
("VerifiedAccessGroupId", ""),
("PolicyEnabled", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VerifiedAccessGroupId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy'
http GET '{{baseUrl}}/?VerifiedAccessGroupId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VerifiedAccessGroupId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VerifiedAccessGroupId=&PolicyEnabled=&Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyVerifiedAccessInstance
{{baseUrl}}/#Action=ModifyVerifiedAccessInstance
QUERY PARAMS
VerifiedAccessInstanceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=ModifyVerifiedAccessInstance");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyVerifiedAccessInstance" {:query-params {:VerifiedAccessInstanceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=ModifyVerifiedAccessInstance"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=ModifyVerifiedAccessInstance"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=ModifyVerifiedAccessInstance");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=ModifyVerifiedAccessInstance"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VerifiedAccessInstanceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=ModifyVerifiedAccessInstance")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=ModifyVerifiedAccessInstance"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=ModifyVerifiedAccessInstance")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=ModifyVerifiedAccessInstance")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=ModifyVerifiedAccessInstance');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessInstance',
params: {VerifiedAccessInstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=ModifyVerifiedAccessInstance';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=ModifyVerifiedAccessInstance',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=ModifyVerifiedAccessInstance")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VerifiedAccessInstanceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessInstance',
qs: {VerifiedAccessInstanceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyVerifiedAccessInstance');
req.query({
VerifiedAccessInstanceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessInstance',
params: {VerifiedAccessInstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=ModifyVerifiedAccessInstance';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=ModifyVerifiedAccessInstance"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=ModifyVerifiedAccessInstance" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=ModifyVerifiedAccessInstance",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=ModifyVerifiedAccessInstance');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVerifiedAccessInstance');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VerifiedAccessInstanceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVerifiedAccessInstance');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VerifiedAccessInstanceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=ModifyVerifiedAccessInstance' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=ModifyVerifiedAccessInstance' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VerifiedAccessInstanceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVerifiedAccessInstance"
querystring = {"VerifiedAccessInstanceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVerifiedAccessInstance"
queryString <- list(
VerifiedAccessInstanceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=ModifyVerifiedAccessInstance")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VerifiedAccessInstanceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVerifiedAccessInstance";
let querystring = [
("VerifiedAccessInstanceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=ModifyVerifiedAccessInstance'
http GET '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=ModifyVerifiedAccessInstance'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=ModifyVerifiedAccessInstance'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VerifiedAccessInstanceId=&Action=&Version=#Action=ModifyVerifiedAccessInstance")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyVerifiedAccessInstanceLoggingConfiguration
{{baseUrl}}/#Action=ModifyVerifiedAccessInstanceLoggingConfiguration
QUERY PARAMS
VerifiedAccessInstanceId
AccessLogs
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VerifiedAccessInstanceId=&AccessLogs=&Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyVerifiedAccessInstanceLoggingConfiguration" {:query-params {:VerifiedAccessInstanceId ""
:AccessLogs ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VerifiedAccessInstanceId=&AccessLogs=&Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VerifiedAccessInstanceId=&AccessLogs=&Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VerifiedAccessInstanceId=&AccessLogs=&Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VerifiedAccessInstanceId=&AccessLogs=&Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VerifiedAccessInstanceId=&AccessLogs=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VerifiedAccessInstanceId=&AccessLogs=&Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VerifiedAccessInstanceId=&AccessLogs=&Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessInstanceId=&AccessLogs=&Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VerifiedAccessInstanceId=&AccessLogs=&Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VerifiedAccessInstanceId=&AccessLogs=&Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessInstanceLoggingConfiguration',
params: {VerifiedAccessInstanceId: '', AccessLogs: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VerifiedAccessInstanceId=&AccessLogs=&Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VerifiedAccessInstanceId=&AccessLogs=&Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessInstanceId=&AccessLogs=&Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VerifiedAccessInstanceId=&AccessLogs=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessInstanceLoggingConfiguration',
qs: {VerifiedAccessInstanceId: '', AccessLogs: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyVerifiedAccessInstanceLoggingConfiguration');
req.query({
VerifiedAccessInstanceId: '',
AccessLogs: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessInstanceLoggingConfiguration',
params: {VerifiedAccessInstanceId: '', AccessLogs: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VerifiedAccessInstanceId=&AccessLogs=&Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VerifiedAccessInstanceId=&AccessLogs=&Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VerifiedAccessInstanceId=&AccessLogs=&Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VerifiedAccessInstanceId=&AccessLogs=&Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VerifiedAccessInstanceId=&AccessLogs=&Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVerifiedAccessInstanceLoggingConfiguration');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VerifiedAccessInstanceId' => '',
'AccessLogs' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVerifiedAccessInstanceLoggingConfiguration');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VerifiedAccessInstanceId' => '',
'AccessLogs' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VerifiedAccessInstanceId=&AccessLogs=&Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VerifiedAccessInstanceId=&AccessLogs=&Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VerifiedAccessInstanceId=&AccessLogs=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVerifiedAccessInstanceLoggingConfiguration"
querystring = {"VerifiedAccessInstanceId":"","AccessLogs":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVerifiedAccessInstanceLoggingConfiguration"
queryString <- list(
VerifiedAccessInstanceId = "",
AccessLogs = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VerifiedAccessInstanceId=&AccessLogs=&Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VerifiedAccessInstanceId'] = ''
req.params['AccessLogs'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVerifiedAccessInstanceLoggingConfiguration";
let querystring = [
("VerifiedAccessInstanceId", ""),
("AccessLogs", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VerifiedAccessInstanceId=&AccessLogs=&Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration'
http GET '{{baseUrl}}/?VerifiedAccessInstanceId=&AccessLogs=&Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VerifiedAccessInstanceId=&AccessLogs=&Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VerifiedAccessInstanceId=&AccessLogs=&Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyVerifiedAccessTrustProvider
{{baseUrl}}/#Action=ModifyVerifiedAccessTrustProvider
QUERY PARAMS
VerifiedAccessTrustProviderId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=ModifyVerifiedAccessTrustProvider");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyVerifiedAccessTrustProvider" {:query-params {:VerifiedAccessTrustProviderId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=ModifyVerifiedAccessTrustProvider"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=ModifyVerifiedAccessTrustProvider"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=ModifyVerifiedAccessTrustProvider");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=ModifyVerifiedAccessTrustProvider"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VerifiedAccessTrustProviderId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=ModifyVerifiedAccessTrustProvider")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=ModifyVerifiedAccessTrustProvider"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=ModifyVerifiedAccessTrustProvider")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=ModifyVerifiedAccessTrustProvider")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=ModifyVerifiedAccessTrustProvider');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessTrustProvider',
params: {VerifiedAccessTrustProviderId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=ModifyVerifiedAccessTrustProvider';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=ModifyVerifiedAccessTrustProvider',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=ModifyVerifiedAccessTrustProvider")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VerifiedAccessTrustProviderId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessTrustProvider',
qs: {VerifiedAccessTrustProviderId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyVerifiedAccessTrustProvider');
req.query({
VerifiedAccessTrustProviderId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessTrustProvider',
params: {VerifiedAccessTrustProviderId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=ModifyVerifiedAccessTrustProvider';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=ModifyVerifiedAccessTrustProvider"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=ModifyVerifiedAccessTrustProvider" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=ModifyVerifiedAccessTrustProvider",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=ModifyVerifiedAccessTrustProvider');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVerifiedAccessTrustProvider');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VerifiedAccessTrustProviderId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVerifiedAccessTrustProvider');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VerifiedAccessTrustProviderId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=ModifyVerifiedAccessTrustProvider' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=ModifyVerifiedAccessTrustProvider' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VerifiedAccessTrustProviderId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVerifiedAccessTrustProvider"
querystring = {"VerifiedAccessTrustProviderId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVerifiedAccessTrustProvider"
queryString <- list(
VerifiedAccessTrustProviderId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=ModifyVerifiedAccessTrustProvider")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VerifiedAccessTrustProviderId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVerifiedAccessTrustProvider";
let querystring = [
("VerifiedAccessTrustProviderId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=ModifyVerifiedAccessTrustProvider'
http GET '{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=ModifyVerifiedAccessTrustProvider'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=ModifyVerifiedAccessTrustProvider'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VerifiedAccessTrustProviderId=&Action=&Version=#Action=ModifyVerifiedAccessTrustProvider")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyVolume
{{baseUrl}}/#Action=ModifyVolume
QUERY PARAMS
VolumeId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolume");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyVolume" {:query-params {:VolumeId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolume"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolume"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolume");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolume"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VolumeId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolume")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolume"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolume")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolume")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolume');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVolume',
params: {VolumeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolume';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolume',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolume")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VolumeId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVolume',
qs: {VolumeId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyVolume');
req.query({
VolumeId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVolume',
params: {VolumeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolume';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolume"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolume" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolume",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolume');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVolume');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VolumeId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVolume');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VolumeId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolume' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolume' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VolumeId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVolume"
querystring = {"VolumeId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVolume"
queryString <- list(
VolumeId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolume")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VolumeId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVolume";
let querystring = [
("VolumeId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolume'
http GET '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolume'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolume'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolume")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyVolumeAttribute
{{baseUrl}}/#Action=ModifyVolumeAttribute
QUERY PARAMS
VolumeId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolumeAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyVolumeAttribute" {:query-params {:VolumeId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolumeAttribute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolumeAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolumeAttribute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolumeAttribute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VolumeId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolumeAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolumeAttribute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolumeAttribute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolumeAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolumeAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVolumeAttribute',
params: {VolumeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolumeAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolumeAttribute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolumeAttribute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VolumeId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVolumeAttribute',
qs: {VolumeId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyVolumeAttribute');
req.query({
VolumeId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVolumeAttribute',
params: {VolumeId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolumeAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolumeAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolumeAttribute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolumeAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolumeAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVolumeAttribute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VolumeId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVolumeAttribute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VolumeId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolumeAttribute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolumeAttribute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VolumeId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVolumeAttribute"
querystring = {"VolumeId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVolumeAttribute"
queryString <- list(
VolumeId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolumeAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VolumeId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVolumeAttribute";
let querystring = [
("VolumeId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolumeAttribute'
http GET '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolumeAttribute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolumeAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VolumeId=&Action=&Version=#Action=ModifyVolumeAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyVpcAttribute
{{baseUrl}}/#Action=ModifyVpcAttribute
QUERY PARAMS
VpcId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpcId=&Action=&Version=#Action=ModifyVpcAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyVpcAttribute" {:query-params {:VpcId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpcId=&Action=&Version=#Action=ModifyVpcAttribute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpcId=&Action=&Version=#Action=ModifyVpcAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpcId=&Action=&Version=#Action=ModifyVpcAttribute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpcId=&Action=&Version=#Action=ModifyVpcAttribute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpcId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpcId=&Action=&Version=#Action=ModifyVpcAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpcId=&Action=&Version=#Action=ModifyVpcAttribute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpcId=&Action=&Version=#Action=ModifyVpcAttribute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpcId=&Action=&Version=#Action=ModifyVpcAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpcId=&Action=&Version=#Action=ModifyVpcAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpcAttribute',
params: {VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpcId=&Action=&Version=#Action=ModifyVpcAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpcId=&Action=&Version=#Action=ModifyVpcAttribute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpcId=&Action=&Version=#Action=ModifyVpcAttribute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpcId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpcAttribute',
qs: {VpcId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyVpcAttribute');
req.query({
VpcId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpcAttribute',
params: {VpcId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpcId=&Action=&Version=#Action=ModifyVpcAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpcId=&Action=&Version=#Action=ModifyVpcAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpcId=&Action=&Version=#Action=ModifyVpcAttribute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpcId=&Action=&Version=#Action=ModifyVpcAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpcId=&Action=&Version=#Action=ModifyVpcAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVpcAttribute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpcId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVpcAttribute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpcId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpcId=&Action=&Version=#Action=ModifyVpcAttribute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpcId=&Action=&Version=#Action=ModifyVpcAttribute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpcId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVpcAttribute"
querystring = {"VpcId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVpcAttribute"
queryString <- list(
VpcId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpcId=&Action=&Version=#Action=ModifyVpcAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpcId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVpcAttribute";
let querystring = [
("VpcId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpcId=&Action=&Version=#Action=ModifyVpcAttribute'
http GET '{{baseUrl}}/?VpcId=&Action=&Version=#Action=ModifyVpcAttribute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpcId=&Action=&Version=#Action=ModifyVpcAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpcId=&Action=&Version=#Action=ModifyVpcAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyVpcEndpoint
{{baseUrl}}/#Action=ModifyVpcEndpoint
QUERY PARAMS
VpcEndpointId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=ModifyVpcEndpoint");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyVpcEndpoint" {:query-params {:VpcEndpointId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=ModifyVpcEndpoint"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=ModifyVpcEndpoint"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=ModifyVpcEndpoint");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=ModifyVpcEndpoint"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpcEndpointId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=ModifyVpcEndpoint")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=ModifyVpcEndpoint"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=ModifyVpcEndpoint")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=ModifyVpcEndpoint")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=ModifyVpcEndpoint');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpcEndpoint',
params: {VpcEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=ModifyVpcEndpoint';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=ModifyVpcEndpoint',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=ModifyVpcEndpoint")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpcEndpointId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpcEndpoint',
qs: {VpcEndpointId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyVpcEndpoint');
req.query({
VpcEndpointId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpcEndpoint',
params: {VpcEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=ModifyVpcEndpoint';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=ModifyVpcEndpoint"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=ModifyVpcEndpoint" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=ModifyVpcEndpoint",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=ModifyVpcEndpoint');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVpcEndpoint');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpcEndpointId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVpcEndpoint');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpcEndpointId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=ModifyVpcEndpoint' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=ModifyVpcEndpoint' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpcEndpointId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVpcEndpoint"
querystring = {"VpcEndpointId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVpcEndpoint"
queryString <- list(
VpcEndpointId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=ModifyVpcEndpoint")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpcEndpointId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVpcEndpoint";
let querystring = [
("VpcEndpointId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=ModifyVpcEndpoint'
http GET '{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=ModifyVpcEndpoint'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=ModifyVpcEndpoint'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpcEndpointId=&Action=&Version=#Action=ModifyVpcEndpoint")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyVpcEndpointConnectionNotification
{{baseUrl}}/#Action=ModifyVpcEndpointConnectionNotification
QUERY PARAMS
ConnectionNotificationId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=ModifyVpcEndpointConnectionNotification");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyVpcEndpointConnectionNotification" {:query-params {:ConnectionNotificationId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=ModifyVpcEndpointConnectionNotification"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=ModifyVpcEndpointConnectionNotification"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=ModifyVpcEndpointConnectionNotification");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=ModifyVpcEndpointConnectionNotification"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ConnectionNotificationId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=ModifyVpcEndpointConnectionNotification")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=ModifyVpcEndpointConnectionNotification"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=ModifyVpcEndpointConnectionNotification")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=ModifyVpcEndpointConnectionNotification")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=ModifyVpcEndpointConnectionNotification');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpcEndpointConnectionNotification',
params: {ConnectionNotificationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=ModifyVpcEndpointConnectionNotification';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=ModifyVpcEndpointConnectionNotification',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=ModifyVpcEndpointConnectionNotification")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ConnectionNotificationId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpcEndpointConnectionNotification',
qs: {ConnectionNotificationId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyVpcEndpointConnectionNotification');
req.query({
ConnectionNotificationId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpcEndpointConnectionNotification',
params: {ConnectionNotificationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=ModifyVpcEndpointConnectionNotification';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=ModifyVpcEndpointConnectionNotification"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=ModifyVpcEndpointConnectionNotification" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=ModifyVpcEndpointConnectionNotification",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=ModifyVpcEndpointConnectionNotification');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVpcEndpointConnectionNotification');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ConnectionNotificationId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVpcEndpointConnectionNotification');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ConnectionNotificationId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=ModifyVpcEndpointConnectionNotification' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=ModifyVpcEndpointConnectionNotification' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ConnectionNotificationId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVpcEndpointConnectionNotification"
querystring = {"ConnectionNotificationId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVpcEndpointConnectionNotification"
queryString <- list(
ConnectionNotificationId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=ModifyVpcEndpointConnectionNotification")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ConnectionNotificationId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVpcEndpointConnectionNotification";
let querystring = [
("ConnectionNotificationId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=ModifyVpcEndpointConnectionNotification'
http GET '{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=ModifyVpcEndpointConnectionNotification'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=ModifyVpcEndpointConnectionNotification'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ConnectionNotificationId=&Action=&Version=#Action=ModifyVpcEndpointConnectionNotification")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyVpcEndpointServiceConfiguration
{{baseUrl}}/#Action=ModifyVpcEndpointServiceConfiguration
QUERY PARAMS
ServiceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyVpcEndpointServiceConfiguration" {:query-params {:ServiceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ServiceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpcEndpointServiceConfiguration',
params: {ServiceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ServiceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpcEndpointServiceConfiguration',
qs: {ServiceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyVpcEndpointServiceConfiguration');
req.query({
ServiceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpcEndpointServiceConfiguration',
params: {ServiceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVpcEndpointServiceConfiguration');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ServiceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVpcEndpointServiceConfiguration');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ServiceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ServiceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVpcEndpointServiceConfiguration"
querystring = {"ServiceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVpcEndpointServiceConfiguration"
queryString <- list(
ServiceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ServiceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVpcEndpointServiceConfiguration";
let querystring = [
("ServiceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration'
http GET '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyVpcEndpointServicePayerResponsibility
{{baseUrl}}/#Action=ModifyVpcEndpointServicePayerResponsibility
QUERY PARAMS
ServiceId
PayerResponsibility
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ServiceId=&PayerResponsibility=&Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyVpcEndpointServicePayerResponsibility" {:query-params {:ServiceId ""
:PayerResponsibility ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ServiceId=&PayerResponsibility=&Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ServiceId=&PayerResponsibility=&Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ServiceId=&PayerResponsibility=&Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ServiceId=&PayerResponsibility=&Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ServiceId=&PayerResponsibility=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ServiceId=&PayerResponsibility=&Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ServiceId=&PayerResponsibility=&Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ServiceId=&PayerResponsibility=&Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ServiceId=&PayerResponsibility=&Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ServiceId=&PayerResponsibility=&Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpcEndpointServicePayerResponsibility',
params: {ServiceId: '', PayerResponsibility: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ServiceId=&PayerResponsibility=&Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ServiceId=&PayerResponsibility=&Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ServiceId=&PayerResponsibility=&Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ServiceId=&PayerResponsibility=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpcEndpointServicePayerResponsibility',
qs: {ServiceId: '', PayerResponsibility: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyVpcEndpointServicePayerResponsibility');
req.query({
ServiceId: '',
PayerResponsibility: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpcEndpointServicePayerResponsibility',
params: {ServiceId: '', PayerResponsibility: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ServiceId=&PayerResponsibility=&Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ServiceId=&PayerResponsibility=&Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ServiceId=&PayerResponsibility=&Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ServiceId=&PayerResponsibility=&Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ServiceId=&PayerResponsibility=&Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVpcEndpointServicePayerResponsibility');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ServiceId' => '',
'PayerResponsibility' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVpcEndpointServicePayerResponsibility');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ServiceId' => '',
'PayerResponsibility' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ServiceId=&PayerResponsibility=&Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ServiceId=&PayerResponsibility=&Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ServiceId=&PayerResponsibility=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVpcEndpointServicePayerResponsibility"
querystring = {"ServiceId":"","PayerResponsibility":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVpcEndpointServicePayerResponsibility"
queryString <- list(
ServiceId = "",
PayerResponsibility = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ServiceId=&PayerResponsibility=&Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ServiceId'] = ''
req.params['PayerResponsibility'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVpcEndpointServicePayerResponsibility";
let querystring = [
("ServiceId", ""),
("PayerResponsibility", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ServiceId=&PayerResponsibility=&Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility'
http GET '{{baseUrl}}/?ServiceId=&PayerResponsibility=&Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ServiceId=&PayerResponsibility=&Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ServiceId=&PayerResponsibility=&Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyVpcEndpointServicePermissions
{{baseUrl}}/#Action=ModifyVpcEndpointServicePermissions
QUERY PARAMS
ServiceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServicePermissions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyVpcEndpointServicePermissions" {:query-params {:ServiceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServicePermissions"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServicePermissions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServicePermissions");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServicePermissions"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ServiceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServicePermissions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServicePermissions"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServicePermissions")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServicePermissions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServicePermissions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpcEndpointServicePermissions',
params: {ServiceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServicePermissions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServicePermissions',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServicePermissions")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ServiceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpcEndpointServicePermissions',
qs: {ServiceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyVpcEndpointServicePermissions');
req.query({
ServiceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpcEndpointServicePermissions',
params: {ServiceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServicePermissions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServicePermissions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServicePermissions" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServicePermissions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServicePermissions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVpcEndpointServicePermissions');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ServiceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVpcEndpointServicePermissions');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ServiceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServicePermissions' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServicePermissions' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ServiceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVpcEndpointServicePermissions"
querystring = {"ServiceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVpcEndpointServicePermissions"
queryString <- list(
ServiceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServicePermissions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ServiceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVpcEndpointServicePermissions";
let querystring = [
("ServiceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServicePermissions'
http GET '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServicePermissions'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServicePermissions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=ModifyVpcEndpointServicePermissions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyVpcPeeringConnectionOptions
{{baseUrl}}/#Action=ModifyVpcPeeringConnectionOptions
QUERY PARAMS
VpcPeeringConnectionId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=ModifyVpcPeeringConnectionOptions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyVpcPeeringConnectionOptions" {:query-params {:VpcPeeringConnectionId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=ModifyVpcPeeringConnectionOptions"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=ModifyVpcPeeringConnectionOptions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=ModifyVpcPeeringConnectionOptions");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=ModifyVpcPeeringConnectionOptions"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpcPeeringConnectionId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=ModifyVpcPeeringConnectionOptions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=ModifyVpcPeeringConnectionOptions"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=ModifyVpcPeeringConnectionOptions")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=ModifyVpcPeeringConnectionOptions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=ModifyVpcPeeringConnectionOptions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpcPeeringConnectionOptions',
params: {VpcPeeringConnectionId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=ModifyVpcPeeringConnectionOptions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=ModifyVpcPeeringConnectionOptions',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=ModifyVpcPeeringConnectionOptions")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpcPeeringConnectionId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpcPeeringConnectionOptions',
qs: {VpcPeeringConnectionId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyVpcPeeringConnectionOptions');
req.query({
VpcPeeringConnectionId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpcPeeringConnectionOptions',
params: {VpcPeeringConnectionId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=ModifyVpcPeeringConnectionOptions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=ModifyVpcPeeringConnectionOptions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=ModifyVpcPeeringConnectionOptions" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=ModifyVpcPeeringConnectionOptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=ModifyVpcPeeringConnectionOptions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVpcPeeringConnectionOptions');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpcPeeringConnectionId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVpcPeeringConnectionOptions');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpcPeeringConnectionId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=ModifyVpcPeeringConnectionOptions' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=ModifyVpcPeeringConnectionOptions' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpcPeeringConnectionId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVpcPeeringConnectionOptions"
querystring = {"VpcPeeringConnectionId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVpcPeeringConnectionOptions"
queryString <- list(
VpcPeeringConnectionId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=ModifyVpcPeeringConnectionOptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpcPeeringConnectionId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVpcPeeringConnectionOptions";
let querystring = [
("VpcPeeringConnectionId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=ModifyVpcPeeringConnectionOptions'
http GET '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=ModifyVpcPeeringConnectionOptions'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=ModifyVpcPeeringConnectionOptions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=ModifyVpcPeeringConnectionOptions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyVpcTenancy
{{baseUrl}}/#Action=ModifyVpcTenancy
QUERY PARAMS
VpcId
InstanceTenancy
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpcId=&InstanceTenancy=&Action=&Version=#Action=ModifyVpcTenancy");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyVpcTenancy" {:query-params {:VpcId ""
:InstanceTenancy ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpcId=&InstanceTenancy=&Action=&Version=#Action=ModifyVpcTenancy"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpcId=&InstanceTenancy=&Action=&Version=#Action=ModifyVpcTenancy"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpcId=&InstanceTenancy=&Action=&Version=#Action=ModifyVpcTenancy");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpcId=&InstanceTenancy=&Action=&Version=#Action=ModifyVpcTenancy"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpcId=&InstanceTenancy=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpcId=&InstanceTenancy=&Action=&Version=#Action=ModifyVpcTenancy")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpcId=&InstanceTenancy=&Action=&Version=#Action=ModifyVpcTenancy"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpcId=&InstanceTenancy=&Action=&Version=#Action=ModifyVpcTenancy")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpcId=&InstanceTenancy=&Action=&Version=#Action=ModifyVpcTenancy")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpcId=&InstanceTenancy=&Action=&Version=#Action=ModifyVpcTenancy');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpcTenancy',
params: {VpcId: '', InstanceTenancy: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpcId=&InstanceTenancy=&Action=&Version=#Action=ModifyVpcTenancy';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpcId=&InstanceTenancy=&Action=&Version=#Action=ModifyVpcTenancy',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpcId=&InstanceTenancy=&Action=&Version=#Action=ModifyVpcTenancy")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpcId=&InstanceTenancy=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpcTenancy',
qs: {VpcId: '', InstanceTenancy: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyVpcTenancy');
req.query({
VpcId: '',
InstanceTenancy: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpcTenancy',
params: {VpcId: '', InstanceTenancy: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpcId=&InstanceTenancy=&Action=&Version=#Action=ModifyVpcTenancy';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpcId=&InstanceTenancy=&Action=&Version=#Action=ModifyVpcTenancy"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpcId=&InstanceTenancy=&Action=&Version=#Action=ModifyVpcTenancy" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpcId=&InstanceTenancy=&Action=&Version=#Action=ModifyVpcTenancy",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpcId=&InstanceTenancy=&Action=&Version=#Action=ModifyVpcTenancy');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVpcTenancy');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpcId' => '',
'InstanceTenancy' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVpcTenancy');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpcId' => '',
'InstanceTenancy' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpcId=&InstanceTenancy=&Action=&Version=#Action=ModifyVpcTenancy' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpcId=&InstanceTenancy=&Action=&Version=#Action=ModifyVpcTenancy' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpcId=&InstanceTenancy=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVpcTenancy"
querystring = {"VpcId":"","InstanceTenancy":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVpcTenancy"
queryString <- list(
VpcId = "",
InstanceTenancy = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpcId=&InstanceTenancy=&Action=&Version=#Action=ModifyVpcTenancy")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpcId'] = ''
req.params['InstanceTenancy'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVpcTenancy";
let querystring = [
("VpcId", ""),
("InstanceTenancy", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpcId=&InstanceTenancy=&Action=&Version=#Action=ModifyVpcTenancy'
http GET '{{baseUrl}}/?VpcId=&InstanceTenancy=&Action=&Version=#Action=ModifyVpcTenancy'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpcId=&InstanceTenancy=&Action=&Version=#Action=ModifyVpcTenancy'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpcId=&InstanceTenancy=&Action=&Version=#Action=ModifyVpcTenancy")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyVpnConnection
{{baseUrl}}/#Action=ModifyVpnConnection
QUERY PARAMS
VpnConnectionId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnection");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyVpnConnection" {:query-params {:VpnConnectionId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnection"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnection"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnection");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnection"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpnConnectionId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnection")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnection"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnection")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnection")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnection');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpnConnection',
params: {VpnConnectionId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnection';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnection',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnection")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpnConnectionId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpnConnection',
qs: {VpnConnectionId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyVpnConnection');
req.query({
VpnConnectionId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpnConnection',
params: {VpnConnectionId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnection';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnection"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnection" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnection",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnection');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVpnConnection');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpnConnectionId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVpnConnection');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpnConnectionId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnection' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnection' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpnConnectionId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVpnConnection"
querystring = {"VpnConnectionId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVpnConnection"
queryString <- list(
VpnConnectionId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnection")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpnConnectionId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVpnConnection";
let querystring = [
("VpnConnectionId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnection'
http GET '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnection'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnection'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnection")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyVpnConnectionOptions
{{baseUrl}}/#Action=ModifyVpnConnectionOptions
QUERY PARAMS
VpnConnectionId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnectionOptions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyVpnConnectionOptions" {:query-params {:VpnConnectionId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnectionOptions"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnectionOptions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnectionOptions");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnectionOptions"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpnConnectionId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnectionOptions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnectionOptions"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnectionOptions")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnectionOptions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnectionOptions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpnConnectionOptions',
params: {VpnConnectionId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnectionOptions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnectionOptions',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnectionOptions")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpnConnectionId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpnConnectionOptions',
qs: {VpnConnectionId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyVpnConnectionOptions');
req.query({
VpnConnectionId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpnConnectionOptions',
params: {VpnConnectionId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnectionOptions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnectionOptions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnectionOptions" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnectionOptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnectionOptions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVpnConnectionOptions');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpnConnectionId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVpnConnectionOptions');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpnConnectionId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnectionOptions' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnectionOptions' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpnConnectionId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVpnConnectionOptions"
querystring = {"VpnConnectionId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVpnConnectionOptions"
queryString <- list(
VpnConnectionId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnectionOptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpnConnectionId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVpnConnectionOptions";
let querystring = [
("VpnConnectionId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnectionOptions'
http GET '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnectionOptions'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnectionOptions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpnConnectionId=&Action=&Version=#Action=ModifyVpnConnectionOptions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyVpnTunnelCertificate
{{baseUrl}}/#Action=ModifyVpnTunnelCertificate
QUERY PARAMS
VpnConnectionId
VpnTunnelOutsideIpAddress
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ModifyVpnTunnelCertificate");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyVpnTunnelCertificate" {:query-params {:VpnConnectionId ""
:VpnTunnelOutsideIpAddress ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ModifyVpnTunnelCertificate"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ModifyVpnTunnelCertificate"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ModifyVpnTunnelCertificate");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ModifyVpnTunnelCertificate"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ModifyVpnTunnelCertificate")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ModifyVpnTunnelCertificate"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ModifyVpnTunnelCertificate")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ModifyVpnTunnelCertificate")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ModifyVpnTunnelCertificate');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpnTunnelCertificate',
params: {VpnConnectionId: '', VpnTunnelOutsideIpAddress: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ModifyVpnTunnelCertificate';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ModifyVpnTunnelCertificate',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ModifyVpnTunnelCertificate")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpnTunnelCertificate',
qs: {VpnConnectionId: '', VpnTunnelOutsideIpAddress: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyVpnTunnelCertificate');
req.query({
VpnConnectionId: '',
VpnTunnelOutsideIpAddress: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpnTunnelCertificate',
params: {VpnConnectionId: '', VpnTunnelOutsideIpAddress: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ModifyVpnTunnelCertificate';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ModifyVpnTunnelCertificate"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ModifyVpnTunnelCertificate" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ModifyVpnTunnelCertificate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ModifyVpnTunnelCertificate');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVpnTunnelCertificate');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpnConnectionId' => '',
'VpnTunnelOutsideIpAddress' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVpnTunnelCertificate');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpnConnectionId' => '',
'VpnTunnelOutsideIpAddress' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ModifyVpnTunnelCertificate' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ModifyVpnTunnelCertificate' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVpnTunnelCertificate"
querystring = {"VpnConnectionId":"","VpnTunnelOutsideIpAddress":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVpnTunnelCertificate"
queryString <- list(
VpnConnectionId = "",
VpnTunnelOutsideIpAddress = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ModifyVpnTunnelCertificate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpnConnectionId'] = ''
req.params['VpnTunnelOutsideIpAddress'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVpnTunnelCertificate";
let querystring = [
("VpnConnectionId", ""),
("VpnTunnelOutsideIpAddress", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ModifyVpnTunnelCertificate'
http GET '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ModifyVpnTunnelCertificate'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ModifyVpnTunnelCertificate'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ModifyVpnTunnelCertificate")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ModifyVpnTunnelOptions
{{baseUrl}}/#Action=ModifyVpnTunnelOptions
QUERY PARAMS
VpnConnectionId
VpnTunnelOutsideIpAddress
TunnelOptions
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&TunnelOptions=&Action=&Version=#Action=ModifyVpnTunnelOptions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ModifyVpnTunnelOptions" {:query-params {:VpnConnectionId ""
:VpnTunnelOutsideIpAddress ""
:TunnelOptions ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&TunnelOptions=&Action=&Version=#Action=ModifyVpnTunnelOptions"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&TunnelOptions=&Action=&Version=#Action=ModifyVpnTunnelOptions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&TunnelOptions=&Action=&Version=#Action=ModifyVpnTunnelOptions");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&TunnelOptions=&Action=&Version=#Action=ModifyVpnTunnelOptions"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&TunnelOptions=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&TunnelOptions=&Action=&Version=#Action=ModifyVpnTunnelOptions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&TunnelOptions=&Action=&Version=#Action=ModifyVpnTunnelOptions"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&TunnelOptions=&Action=&Version=#Action=ModifyVpnTunnelOptions")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&TunnelOptions=&Action=&Version=#Action=ModifyVpnTunnelOptions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&TunnelOptions=&Action=&Version=#Action=ModifyVpnTunnelOptions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpnTunnelOptions',
params: {
VpnConnectionId: '',
VpnTunnelOutsideIpAddress: '',
TunnelOptions: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&TunnelOptions=&Action=&Version=#Action=ModifyVpnTunnelOptions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&TunnelOptions=&Action=&Version=#Action=ModifyVpnTunnelOptions',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&TunnelOptions=&Action=&Version=#Action=ModifyVpnTunnelOptions")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&TunnelOptions=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpnTunnelOptions',
qs: {
VpnConnectionId: '',
VpnTunnelOutsideIpAddress: '',
TunnelOptions: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ModifyVpnTunnelOptions');
req.query({
VpnConnectionId: '',
VpnTunnelOutsideIpAddress: '',
TunnelOptions: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ModifyVpnTunnelOptions',
params: {
VpnConnectionId: '',
VpnTunnelOutsideIpAddress: '',
TunnelOptions: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&TunnelOptions=&Action=&Version=#Action=ModifyVpnTunnelOptions';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&TunnelOptions=&Action=&Version=#Action=ModifyVpnTunnelOptions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&TunnelOptions=&Action=&Version=#Action=ModifyVpnTunnelOptions" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&TunnelOptions=&Action=&Version=#Action=ModifyVpnTunnelOptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&TunnelOptions=&Action=&Version=#Action=ModifyVpnTunnelOptions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVpnTunnelOptions');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpnConnectionId' => '',
'VpnTunnelOutsideIpAddress' => '',
'TunnelOptions' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVpnTunnelOptions');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpnConnectionId' => '',
'VpnTunnelOutsideIpAddress' => '',
'TunnelOptions' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&TunnelOptions=&Action=&Version=#Action=ModifyVpnTunnelOptions' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&TunnelOptions=&Action=&Version=#Action=ModifyVpnTunnelOptions' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&TunnelOptions=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVpnTunnelOptions"
querystring = {"VpnConnectionId":"","VpnTunnelOutsideIpAddress":"","TunnelOptions":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVpnTunnelOptions"
queryString <- list(
VpnConnectionId = "",
VpnTunnelOutsideIpAddress = "",
TunnelOptions = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&TunnelOptions=&Action=&Version=#Action=ModifyVpnTunnelOptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpnConnectionId'] = ''
req.params['VpnTunnelOutsideIpAddress'] = ''
req.params['TunnelOptions'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVpnTunnelOptions";
let querystring = [
("VpnConnectionId", ""),
("VpnTunnelOutsideIpAddress", ""),
("TunnelOptions", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&TunnelOptions=&Action=&Version=#Action=ModifyVpnTunnelOptions'
http GET '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&TunnelOptions=&Action=&Version=#Action=ModifyVpnTunnelOptions'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&TunnelOptions=&Action=&Version=#Action=ModifyVpnTunnelOptions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&TunnelOptions=&Action=&Version=#Action=ModifyVpnTunnelOptions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_MonitorInstances
{{baseUrl}}/#Action=MonitorInstances
QUERY PARAMS
InstanceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=MonitorInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=MonitorInstances" {:query-params {:InstanceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=MonitorInstances"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=MonitorInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=MonitorInstances");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=MonitorInstances"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=MonitorInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=MonitorInstances"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=MonitorInstances")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=MonitorInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=MonitorInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=MonitorInstances',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=MonitorInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=MonitorInstances',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=MonitorInstances")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=MonitorInstances',
qs: {InstanceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=MonitorInstances');
req.query({
InstanceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=MonitorInstances',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=MonitorInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=MonitorInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=MonitorInstances" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=MonitorInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=MonitorInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=MonitorInstances');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=MonitorInstances');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=MonitorInstances' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=MonitorInstances' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=MonitorInstances"
querystring = {"InstanceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=MonitorInstances"
queryString <- list(
InstanceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=MonitorInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=MonitorInstances";
let querystring = [
("InstanceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=MonitorInstances'
http GET '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=MonitorInstances'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=MonitorInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=MonitorInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_MoveAddressToVpc
{{baseUrl}}/#Action=MoveAddressToVpc
QUERY PARAMS
PublicIp
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?PublicIp=&Action=&Version=#Action=MoveAddressToVpc");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=MoveAddressToVpc" {:query-params {:PublicIp ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?PublicIp=&Action=&Version=#Action=MoveAddressToVpc"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?PublicIp=&Action=&Version=#Action=MoveAddressToVpc"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?PublicIp=&Action=&Version=#Action=MoveAddressToVpc");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?PublicIp=&Action=&Version=#Action=MoveAddressToVpc"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?PublicIp=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?PublicIp=&Action=&Version=#Action=MoveAddressToVpc")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?PublicIp=&Action=&Version=#Action=MoveAddressToVpc"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?PublicIp=&Action=&Version=#Action=MoveAddressToVpc")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?PublicIp=&Action=&Version=#Action=MoveAddressToVpc")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?PublicIp=&Action=&Version=#Action=MoveAddressToVpc');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=MoveAddressToVpc',
params: {PublicIp: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?PublicIp=&Action=&Version=#Action=MoveAddressToVpc';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?PublicIp=&Action=&Version=#Action=MoveAddressToVpc',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?PublicIp=&Action=&Version=#Action=MoveAddressToVpc")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?PublicIp=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=MoveAddressToVpc',
qs: {PublicIp: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=MoveAddressToVpc');
req.query({
PublicIp: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=MoveAddressToVpc',
params: {PublicIp: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?PublicIp=&Action=&Version=#Action=MoveAddressToVpc';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?PublicIp=&Action=&Version=#Action=MoveAddressToVpc"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?PublicIp=&Action=&Version=#Action=MoveAddressToVpc" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?PublicIp=&Action=&Version=#Action=MoveAddressToVpc",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?PublicIp=&Action=&Version=#Action=MoveAddressToVpc');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=MoveAddressToVpc');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'PublicIp' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=MoveAddressToVpc');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'PublicIp' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?PublicIp=&Action=&Version=#Action=MoveAddressToVpc' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?PublicIp=&Action=&Version=#Action=MoveAddressToVpc' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?PublicIp=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=MoveAddressToVpc"
querystring = {"PublicIp":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=MoveAddressToVpc"
queryString <- list(
PublicIp = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?PublicIp=&Action=&Version=#Action=MoveAddressToVpc")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['PublicIp'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=MoveAddressToVpc";
let querystring = [
("PublicIp", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?PublicIp=&Action=&Version=#Action=MoveAddressToVpc'
http GET '{{baseUrl}}/?PublicIp=&Action=&Version=#Action=MoveAddressToVpc'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?PublicIp=&Action=&Version=#Action=MoveAddressToVpc'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?PublicIp=&Action=&Version=#Action=MoveAddressToVpc")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"Status": "MoveInProgress"
}
GET
GET_MoveByoipCidrToIpam
{{baseUrl}}/#Action=MoveByoipCidrToIpam
QUERY PARAMS
Cidr
IpamPoolId
IpamPoolOwner
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Cidr=&IpamPoolId=&IpamPoolOwner=&Action=&Version=#Action=MoveByoipCidrToIpam");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=MoveByoipCidrToIpam" {:query-params {:Cidr ""
:IpamPoolId ""
:IpamPoolOwner ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Cidr=&IpamPoolId=&IpamPoolOwner=&Action=&Version=#Action=MoveByoipCidrToIpam"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Cidr=&IpamPoolId=&IpamPoolOwner=&Action=&Version=#Action=MoveByoipCidrToIpam"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Cidr=&IpamPoolId=&IpamPoolOwner=&Action=&Version=#Action=MoveByoipCidrToIpam");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Cidr=&IpamPoolId=&IpamPoolOwner=&Action=&Version=#Action=MoveByoipCidrToIpam"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Cidr=&IpamPoolId=&IpamPoolOwner=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Cidr=&IpamPoolId=&IpamPoolOwner=&Action=&Version=#Action=MoveByoipCidrToIpam")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Cidr=&IpamPoolId=&IpamPoolOwner=&Action=&Version=#Action=MoveByoipCidrToIpam"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Cidr=&IpamPoolId=&IpamPoolOwner=&Action=&Version=#Action=MoveByoipCidrToIpam")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Cidr=&IpamPoolId=&IpamPoolOwner=&Action=&Version=#Action=MoveByoipCidrToIpam")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Cidr=&IpamPoolId=&IpamPoolOwner=&Action=&Version=#Action=MoveByoipCidrToIpam');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=MoveByoipCidrToIpam',
params: {Cidr: '', IpamPoolId: '', IpamPoolOwner: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Cidr=&IpamPoolId=&IpamPoolOwner=&Action=&Version=#Action=MoveByoipCidrToIpam';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Cidr=&IpamPoolId=&IpamPoolOwner=&Action=&Version=#Action=MoveByoipCidrToIpam',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Cidr=&IpamPoolId=&IpamPoolOwner=&Action=&Version=#Action=MoveByoipCidrToIpam")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Cidr=&IpamPoolId=&IpamPoolOwner=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=MoveByoipCidrToIpam',
qs: {Cidr: '', IpamPoolId: '', IpamPoolOwner: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=MoveByoipCidrToIpam');
req.query({
Cidr: '',
IpamPoolId: '',
IpamPoolOwner: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=MoveByoipCidrToIpam',
params: {Cidr: '', IpamPoolId: '', IpamPoolOwner: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Cidr=&IpamPoolId=&IpamPoolOwner=&Action=&Version=#Action=MoveByoipCidrToIpam';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Cidr=&IpamPoolId=&IpamPoolOwner=&Action=&Version=#Action=MoveByoipCidrToIpam"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Cidr=&IpamPoolId=&IpamPoolOwner=&Action=&Version=#Action=MoveByoipCidrToIpam" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Cidr=&IpamPoolId=&IpamPoolOwner=&Action=&Version=#Action=MoveByoipCidrToIpam",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Cidr=&IpamPoolId=&IpamPoolOwner=&Action=&Version=#Action=MoveByoipCidrToIpam');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=MoveByoipCidrToIpam');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Cidr' => '',
'IpamPoolId' => '',
'IpamPoolOwner' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=MoveByoipCidrToIpam');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Cidr' => '',
'IpamPoolId' => '',
'IpamPoolOwner' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Cidr=&IpamPoolId=&IpamPoolOwner=&Action=&Version=#Action=MoveByoipCidrToIpam' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Cidr=&IpamPoolId=&IpamPoolOwner=&Action=&Version=#Action=MoveByoipCidrToIpam' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Cidr=&IpamPoolId=&IpamPoolOwner=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=MoveByoipCidrToIpam"
querystring = {"Cidr":"","IpamPoolId":"","IpamPoolOwner":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=MoveByoipCidrToIpam"
queryString <- list(
Cidr = "",
IpamPoolId = "",
IpamPoolOwner = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Cidr=&IpamPoolId=&IpamPoolOwner=&Action=&Version=#Action=MoveByoipCidrToIpam")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Cidr'] = ''
req.params['IpamPoolId'] = ''
req.params['IpamPoolOwner'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=MoveByoipCidrToIpam";
let querystring = [
("Cidr", ""),
("IpamPoolId", ""),
("IpamPoolOwner", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Cidr=&IpamPoolId=&IpamPoolOwner=&Action=&Version=#Action=MoveByoipCidrToIpam'
http GET '{{baseUrl}}/?Cidr=&IpamPoolId=&IpamPoolOwner=&Action=&Version=#Action=MoveByoipCidrToIpam'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Cidr=&IpamPoolId=&IpamPoolOwner=&Action=&Version=#Action=MoveByoipCidrToIpam'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Cidr=&IpamPoolId=&IpamPoolOwner=&Action=&Version=#Action=MoveByoipCidrToIpam")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ProvisionByoipCidr
{{baseUrl}}/#Action=ProvisionByoipCidr
QUERY PARAMS
Cidr
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Cidr=&Action=&Version=#Action=ProvisionByoipCidr");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ProvisionByoipCidr" {:query-params {:Cidr ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Cidr=&Action=&Version=#Action=ProvisionByoipCidr"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Cidr=&Action=&Version=#Action=ProvisionByoipCidr"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Cidr=&Action=&Version=#Action=ProvisionByoipCidr");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Cidr=&Action=&Version=#Action=ProvisionByoipCidr"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Cidr=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Cidr=&Action=&Version=#Action=ProvisionByoipCidr")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Cidr=&Action=&Version=#Action=ProvisionByoipCidr"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Cidr=&Action=&Version=#Action=ProvisionByoipCidr")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Cidr=&Action=&Version=#Action=ProvisionByoipCidr")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Cidr=&Action=&Version=#Action=ProvisionByoipCidr');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ProvisionByoipCidr',
params: {Cidr: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Cidr=&Action=&Version=#Action=ProvisionByoipCidr';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Cidr=&Action=&Version=#Action=ProvisionByoipCidr',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Cidr=&Action=&Version=#Action=ProvisionByoipCidr")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Cidr=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ProvisionByoipCidr',
qs: {Cidr: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ProvisionByoipCidr');
req.query({
Cidr: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ProvisionByoipCidr',
params: {Cidr: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Cidr=&Action=&Version=#Action=ProvisionByoipCidr';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Cidr=&Action=&Version=#Action=ProvisionByoipCidr"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Cidr=&Action=&Version=#Action=ProvisionByoipCidr" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Cidr=&Action=&Version=#Action=ProvisionByoipCidr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Cidr=&Action=&Version=#Action=ProvisionByoipCidr');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ProvisionByoipCidr');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Cidr' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ProvisionByoipCidr');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Cidr' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Cidr=&Action=&Version=#Action=ProvisionByoipCidr' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Cidr=&Action=&Version=#Action=ProvisionByoipCidr' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Cidr=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ProvisionByoipCidr"
querystring = {"Cidr":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ProvisionByoipCidr"
queryString <- list(
Cidr = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Cidr=&Action=&Version=#Action=ProvisionByoipCidr")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Cidr'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ProvisionByoipCidr";
let querystring = [
("Cidr", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Cidr=&Action=&Version=#Action=ProvisionByoipCidr'
http GET '{{baseUrl}}/?Cidr=&Action=&Version=#Action=ProvisionByoipCidr'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Cidr=&Action=&Version=#Action=ProvisionByoipCidr'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Cidr=&Action=&Version=#Action=ProvisionByoipCidr")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ProvisionIpamPoolCidr
{{baseUrl}}/#Action=ProvisionIpamPoolCidr
QUERY PARAMS
IpamPoolId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ProvisionIpamPoolCidr");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ProvisionIpamPoolCidr" {:query-params {:IpamPoolId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ProvisionIpamPoolCidr"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ProvisionIpamPoolCidr"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ProvisionIpamPoolCidr");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ProvisionIpamPoolCidr"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?IpamPoolId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ProvisionIpamPoolCidr")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ProvisionIpamPoolCidr"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ProvisionIpamPoolCidr")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ProvisionIpamPoolCidr")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ProvisionIpamPoolCidr');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ProvisionIpamPoolCidr',
params: {IpamPoolId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ProvisionIpamPoolCidr';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ProvisionIpamPoolCidr',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ProvisionIpamPoolCidr")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?IpamPoolId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ProvisionIpamPoolCidr',
qs: {IpamPoolId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ProvisionIpamPoolCidr');
req.query({
IpamPoolId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ProvisionIpamPoolCidr',
params: {IpamPoolId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ProvisionIpamPoolCidr';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ProvisionIpamPoolCidr"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ProvisionIpamPoolCidr" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ProvisionIpamPoolCidr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ProvisionIpamPoolCidr');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ProvisionIpamPoolCidr');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'IpamPoolId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ProvisionIpamPoolCidr');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'IpamPoolId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ProvisionIpamPoolCidr' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ProvisionIpamPoolCidr' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?IpamPoolId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ProvisionIpamPoolCidr"
querystring = {"IpamPoolId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ProvisionIpamPoolCidr"
queryString <- list(
IpamPoolId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ProvisionIpamPoolCidr")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['IpamPoolId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ProvisionIpamPoolCidr";
let querystring = [
("IpamPoolId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ProvisionIpamPoolCidr'
http GET '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ProvisionIpamPoolCidr'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ProvisionIpamPoolCidr'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?IpamPoolId=&Action=&Version=#Action=ProvisionIpamPoolCidr")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ProvisionPublicIpv4PoolCidr
{{baseUrl}}/#Action=ProvisionPublicIpv4PoolCidr
QUERY PARAMS
IpamPoolId
PoolId
NetmaskLength
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?IpamPoolId=&PoolId=&NetmaskLength=&Action=&Version=#Action=ProvisionPublicIpv4PoolCidr");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ProvisionPublicIpv4PoolCidr" {:query-params {:IpamPoolId ""
:PoolId ""
:NetmaskLength ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?IpamPoolId=&PoolId=&NetmaskLength=&Action=&Version=#Action=ProvisionPublicIpv4PoolCidr"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?IpamPoolId=&PoolId=&NetmaskLength=&Action=&Version=#Action=ProvisionPublicIpv4PoolCidr"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?IpamPoolId=&PoolId=&NetmaskLength=&Action=&Version=#Action=ProvisionPublicIpv4PoolCidr");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?IpamPoolId=&PoolId=&NetmaskLength=&Action=&Version=#Action=ProvisionPublicIpv4PoolCidr"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?IpamPoolId=&PoolId=&NetmaskLength=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?IpamPoolId=&PoolId=&NetmaskLength=&Action=&Version=#Action=ProvisionPublicIpv4PoolCidr")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?IpamPoolId=&PoolId=&NetmaskLength=&Action=&Version=#Action=ProvisionPublicIpv4PoolCidr"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?IpamPoolId=&PoolId=&NetmaskLength=&Action=&Version=#Action=ProvisionPublicIpv4PoolCidr")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?IpamPoolId=&PoolId=&NetmaskLength=&Action=&Version=#Action=ProvisionPublicIpv4PoolCidr")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?IpamPoolId=&PoolId=&NetmaskLength=&Action=&Version=#Action=ProvisionPublicIpv4PoolCidr');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ProvisionPublicIpv4PoolCidr',
params: {IpamPoolId: '', PoolId: '', NetmaskLength: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?IpamPoolId=&PoolId=&NetmaskLength=&Action=&Version=#Action=ProvisionPublicIpv4PoolCidr';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?IpamPoolId=&PoolId=&NetmaskLength=&Action=&Version=#Action=ProvisionPublicIpv4PoolCidr',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?IpamPoolId=&PoolId=&NetmaskLength=&Action=&Version=#Action=ProvisionPublicIpv4PoolCidr")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?IpamPoolId=&PoolId=&NetmaskLength=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ProvisionPublicIpv4PoolCidr',
qs: {IpamPoolId: '', PoolId: '', NetmaskLength: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ProvisionPublicIpv4PoolCidr');
req.query({
IpamPoolId: '',
PoolId: '',
NetmaskLength: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ProvisionPublicIpv4PoolCidr',
params: {IpamPoolId: '', PoolId: '', NetmaskLength: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?IpamPoolId=&PoolId=&NetmaskLength=&Action=&Version=#Action=ProvisionPublicIpv4PoolCidr';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?IpamPoolId=&PoolId=&NetmaskLength=&Action=&Version=#Action=ProvisionPublicIpv4PoolCidr"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?IpamPoolId=&PoolId=&NetmaskLength=&Action=&Version=#Action=ProvisionPublicIpv4PoolCidr" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?IpamPoolId=&PoolId=&NetmaskLength=&Action=&Version=#Action=ProvisionPublicIpv4PoolCidr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?IpamPoolId=&PoolId=&NetmaskLength=&Action=&Version=#Action=ProvisionPublicIpv4PoolCidr');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ProvisionPublicIpv4PoolCidr');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'IpamPoolId' => '',
'PoolId' => '',
'NetmaskLength' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ProvisionPublicIpv4PoolCidr');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'IpamPoolId' => '',
'PoolId' => '',
'NetmaskLength' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?IpamPoolId=&PoolId=&NetmaskLength=&Action=&Version=#Action=ProvisionPublicIpv4PoolCidr' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?IpamPoolId=&PoolId=&NetmaskLength=&Action=&Version=#Action=ProvisionPublicIpv4PoolCidr' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?IpamPoolId=&PoolId=&NetmaskLength=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ProvisionPublicIpv4PoolCidr"
querystring = {"IpamPoolId":"","PoolId":"","NetmaskLength":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ProvisionPublicIpv4PoolCidr"
queryString <- list(
IpamPoolId = "",
PoolId = "",
NetmaskLength = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?IpamPoolId=&PoolId=&NetmaskLength=&Action=&Version=#Action=ProvisionPublicIpv4PoolCidr")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['IpamPoolId'] = ''
req.params['PoolId'] = ''
req.params['NetmaskLength'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ProvisionPublicIpv4PoolCidr";
let querystring = [
("IpamPoolId", ""),
("PoolId", ""),
("NetmaskLength", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?IpamPoolId=&PoolId=&NetmaskLength=&Action=&Version=#Action=ProvisionPublicIpv4PoolCidr'
http GET '{{baseUrl}}/?IpamPoolId=&PoolId=&NetmaskLength=&Action=&Version=#Action=ProvisionPublicIpv4PoolCidr'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?IpamPoolId=&PoolId=&NetmaskLength=&Action=&Version=#Action=ProvisionPublicIpv4PoolCidr'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?IpamPoolId=&PoolId=&NetmaskLength=&Action=&Version=#Action=ProvisionPublicIpv4PoolCidr")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_PurchaseHostReservation
{{baseUrl}}/#Action=PurchaseHostReservation
QUERY PARAMS
HostIdSet
OfferingId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=PurchaseHostReservation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=PurchaseHostReservation" {:query-params {:HostIdSet ""
:OfferingId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=PurchaseHostReservation"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=PurchaseHostReservation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=PurchaseHostReservation");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=PurchaseHostReservation"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?HostIdSet=&OfferingId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=PurchaseHostReservation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=PurchaseHostReservation"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=PurchaseHostReservation")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=PurchaseHostReservation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=PurchaseHostReservation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=PurchaseHostReservation',
params: {HostIdSet: '', OfferingId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=PurchaseHostReservation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=PurchaseHostReservation',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=PurchaseHostReservation")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?HostIdSet=&OfferingId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=PurchaseHostReservation',
qs: {HostIdSet: '', OfferingId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=PurchaseHostReservation');
req.query({
HostIdSet: '',
OfferingId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=PurchaseHostReservation',
params: {HostIdSet: '', OfferingId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=PurchaseHostReservation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=PurchaseHostReservation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=PurchaseHostReservation" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=PurchaseHostReservation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=PurchaseHostReservation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=PurchaseHostReservation');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'HostIdSet' => '',
'OfferingId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=PurchaseHostReservation');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'HostIdSet' => '',
'OfferingId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=PurchaseHostReservation' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=PurchaseHostReservation' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?HostIdSet=&OfferingId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=PurchaseHostReservation"
querystring = {"HostIdSet":"","OfferingId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=PurchaseHostReservation"
queryString <- list(
HostIdSet = "",
OfferingId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=PurchaseHostReservation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['HostIdSet'] = ''
req.params['OfferingId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=PurchaseHostReservation";
let querystring = [
("HostIdSet", ""),
("OfferingId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=PurchaseHostReservation'
http GET '{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=PurchaseHostReservation'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=PurchaseHostReservation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?HostIdSet=&OfferingId=&Action=&Version=#Action=PurchaseHostReservation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_PurchaseReservedInstancesOffering
{{baseUrl}}/#Action=PurchaseReservedInstancesOffering
QUERY PARAMS
InstanceCount
ReservedInstancesOfferingId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceCount=&ReservedInstancesOfferingId=&Action=&Version=#Action=PurchaseReservedInstancesOffering");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=PurchaseReservedInstancesOffering" {:query-params {:InstanceCount ""
:ReservedInstancesOfferingId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceCount=&ReservedInstancesOfferingId=&Action=&Version=#Action=PurchaseReservedInstancesOffering"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceCount=&ReservedInstancesOfferingId=&Action=&Version=#Action=PurchaseReservedInstancesOffering"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceCount=&ReservedInstancesOfferingId=&Action=&Version=#Action=PurchaseReservedInstancesOffering");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceCount=&ReservedInstancesOfferingId=&Action=&Version=#Action=PurchaseReservedInstancesOffering"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceCount=&ReservedInstancesOfferingId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceCount=&ReservedInstancesOfferingId=&Action=&Version=#Action=PurchaseReservedInstancesOffering")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceCount=&ReservedInstancesOfferingId=&Action=&Version=#Action=PurchaseReservedInstancesOffering"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceCount=&ReservedInstancesOfferingId=&Action=&Version=#Action=PurchaseReservedInstancesOffering")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceCount=&ReservedInstancesOfferingId=&Action=&Version=#Action=PurchaseReservedInstancesOffering")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceCount=&ReservedInstancesOfferingId=&Action=&Version=#Action=PurchaseReservedInstancesOffering');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=PurchaseReservedInstancesOffering',
params: {InstanceCount: '', ReservedInstancesOfferingId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceCount=&ReservedInstancesOfferingId=&Action=&Version=#Action=PurchaseReservedInstancesOffering';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceCount=&ReservedInstancesOfferingId=&Action=&Version=#Action=PurchaseReservedInstancesOffering',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceCount=&ReservedInstancesOfferingId=&Action=&Version=#Action=PurchaseReservedInstancesOffering")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceCount=&ReservedInstancesOfferingId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=PurchaseReservedInstancesOffering',
qs: {InstanceCount: '', ReservedInstancesOfferingId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=PurchaseReservedInstancesOffering');
req.query({
InstanceCount: '',
ReservedInstancesOfferingId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=PurchaseReservedInstancesOffering',
params: {InstanceCount: '', ReservedInstancesOfferingId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceCount=&ReservedInstancesOfferingId=&Action=&Version=#Action=PurchaseReservedInstancesOffering';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceCount=&ReservedInstancesOfferingId=&Action=&Version=#Action=PurchaseReservedInstancesOffering"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceCount=&ReservedInstancesOfferingId=&Action=&Version=#Action=PurchaseReservedInstancesOffering" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceCount=&ReservedInstancesOfferingId=&Action=&Version=#Action=PurchaseReservedInstancesOffering",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceCount=&ReservedInstancesOfferingId=&Action=&Version=#Action=PurchaseReservedInstancesOffering');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=PurchaseReservedInstancesOffering');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceCount' => '',
'ReservedInstancesOfferingId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=PurchaseReservedInstancesOffering');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceCount' => '',
'ReservedInstancesOfferingId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceCount=&ReservedInstancesOfferingId=&Action=&Version=#Action=PurchaseReservedInstancesOffering' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceCount=&ReservedInstancesOfferingId=&Action=&Version=#Action=PurchaseReservedInstancesOffering' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceCount=&ReservedInstancesOfferingId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=PurchaseReservedInstancesOffering"
querystring = {"InstanceCount":"","ReservedInstancesOfferingId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=PurchaseReservedInstancesOffering"
queryString <- list(
InstanceCount = "",
ReservedInstancesOfferingId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceCount=&ReservedInstancesOfferingId=&Action=&Version=#Action=PurchaseReservedInstancesOffering")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceCount'] = ''
req.params['ReservedInstancesOfferingId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=PurchaseReservedInstancesOffering";
let querystring = [
("InstanceCount", ""),
("ReservedInstancesOfferingId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceCount=&ReservedInstancesOfferingId=&Action=&Version=#Action=PurchaseReservedInstancesOffering'
http GET '{{baseUrl}}/?InstanceCount=&ReservedInstancesOfferingId=&Action=&Version=#Action=PurchaseReservedInstancesOffering'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceCount=&ReservedInstancesOfferingId=&Action=&Version=#Action=PurchaseReservedInstancesOffering'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceCount=&ReservedInstancesOfferingId=&Action=&Version=#Action=PurchaseReservedInstancesOffering")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_PurchaseScheduledInstances
{{baseUrl}}/#Action=PurchaseScheduledInstances
QUERY PARAMS
PurchaseRequest
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?PurchaseRequest=&Action=&Version=#Action=PurchaseScheduledInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=PurchaseScheduledInstances" {:query-params {:PurchaseRequest ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?PurchaseRequest=&Action=&Version=#Action=PurchaseScheduledInstances"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?PurchaseRequest=&Action=&Version=#Action=PurchaseScheduledInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?PurchaseRequest=&Action=&Version=#Action=PurchaseScheduledInstances");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?PurchaseRequest=&Action=&Version=#Action=PurchaseScheduledInstances"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?PurchaseRequest=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?PurchaseRequest=&Action=&Version=#Action=PurchaseScheduledInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?PurchaseRequest=&Action=&Version=#Action=PurchaseScheduledInstances"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?PurchaseRequest=&Action=&Version=#Action=PurchaseScheduledInstances")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?PurchaseRequest=&Action=&Version=#Action=PurchaseScheduledInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?PurchaseRequest=&Action=&Version=#Action=PurchaseScheduledInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=PurchaseScheduledInstances',
params: {PurchaseRequest: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?PurchaseRequest=&Action=&Version=#Action=PurchaseScheduledInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?PurchaseRequest=&Action=&Version=#Action=PurchaseScheduledInstances',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?PurchaseRequest=&Action=&Version=#Action=PurchaseScheduledInstances")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?PurchaseRequest=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=PurchaseScheduledInstances',
qs: {PurchaseRequest: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=PurchaseScheduledInstances');
req.query({
PurchaseRequest: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=PurchaseScheduledInstances',
params: {PurchaseRequest: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?PurchaseRequest=&Action=&Version=#Action=PurchaseScheduledInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?PurchaseRequest=&Action=&Version=#Action=PurchaseScheduledInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?PurchaseRequest=&Action=&Version=#Action=PurchaseScheduledInstances" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?PurchaseRequest=&Action=&Version=#Action=PurchaseScheduledInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?PurchaseRequest=&Action=&Version=#Action=PurchaseScheduledInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=PurchaseScheduledInstances');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'PurchaseRequest' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=PurchaseScheduledInstances');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'PurchaseRequest' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?PurchaseRequest=&Action=&Version=#Action=PurchaseScheduledInstances' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?PurchaseRequest=&Action=&Version=#Action=PurchaseScheduledInstances' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?PurchaseRequest=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=PurchaseScheduledInstances"
querystring = {"PurchaseRequest":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=PurchaseScheduledInstances"
queryString <- list(
PurchaseRequest = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?PurchaseRequest=&Action=&Version=#Action=PurchaseScheduledInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['PurchaseRequest'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=PurchaseScheduledInstances";
let querystring = [
("PurchaseRequest", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?PurchaseRequest=&Action=&Version=#Action=PurchaseScheduledInstances'
http GET '{{baseUrl}}/?PurchaseRequest=&Action=&Version=#Action=PurchaseScheduledInstances'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?PurchaseRequest=&Action=&Version=#Action=PurchaseScheduledInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?PurchaseRequest=&Action=&Version=#Action=PurchaseScheduledInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"ScheduledInstanceSet": [
{
"AvailabilityZone": "us-west-2b",
"CreateDate": "2016-01-25T21:43:38.612Z",
"HourlyPrice": "0.095",
"InstanceCount": 1,
"InstanceType": "c4.large",
"NetworkPlatform": "EC2-VPC",
"NextSlotStartTime": "2016-01-31T09:00:00Z",
"Platform": "Linux/UNIX",
"Recurrence": {
"Frequency": "Weekly",
"Interval": 1,
"OccurrenceDaySet": [
1
],
"OccurrenceRelativeToEnd": false,
"OccurrenceUnit": ""
},
"ScheduledInstanceId": "sci-1234-1234-1234-1234-123456789012",
"SlotDurationInHours": 32,
"TermEndDate": "2017-01-31T09:00:00Z",
"TermStartDate": "2016-01-31T09:00:00Z",
"TotalScheduledInstanceHours": 1696
}
]
}
GET
GET_RebootInstances
{{baseUrl}}/#Action=RebootInstances
QUERY PARAMS
InstanceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=RebootInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=RebootInstances" {:query-params {:InstanceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=RebootInstances"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=RebootInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=RebootInstances");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=RebootInstances"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=RebootInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=RebootInstances"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=RebootInstances")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=RebootInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=RebootInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RebootInstances',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=RebootInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=RebootInstances',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=RebootInstances")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RebootInstances',
qs: {InstanceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=RebootInstances');
req.query({
InstanceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RebootInstances',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=RebootInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=RebootInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=RebootInstances" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=RebootInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=RebootInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RebootInstances');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RebootInstances');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=RebootInstances' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=RebootInstances' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RebootInstances"
querystring = {"InstanceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RebootInstances"
queryString <- list(
InstanceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=RebootInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RebootInstances";
let querystring = [
("InstanceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=RebootInstances'
http GET '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=RebootInstances'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=RebootInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=RebootInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_RegisterImage
{{baseUrl}}/#Action=RegisterImage
QUERY PARAMS
Name
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Name=&Action=&Version=#Action=RegisterImage");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=RegisterImage" {:query-params {:Name ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Name=&Action=&Version=#Action=RegisterImage"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Name=&Action=&Version=#Action=RegisterImage"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Name=&Action=&Version=#Action=RegisterImage");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Name=&Action=&Version=#Action=RegisterImage"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Name=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Name=&Action=&Version=#Action=RegisterImage")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Name=&Action=&Version=#Action=RegisterImage"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Name=&Action=&Version=#Action=RegisterImage")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Name=&Action=&Version=#Action=RegisterImage")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Name=&Action=&Version=#Action=RegisterImage');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RegisterImage',
params: {Name: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Name=&Action=&Version=#Action=RegisterImage';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Name=&Action=&Version=#Action=RegisterImage',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Name=&Action=&Version=#Action=RegisterImage")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Name=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RegisterImage',
qs: {Name: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=RegisterImage');
req.query({
Name: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RegisterImage',
params: {Name: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Name=&Action=&Version=#Action=RegisterImage';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Name=&Action=&Version=#Action=RegisterImage"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Name=&Action=&Version=#Action=RegisterImage" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Name=&Action=&Version=#Action=RegisterImage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Name=&Action=&Version=#Action=RegisterImage');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RegisterImage');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Name' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RegisterImage');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Name' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Name=&Action=&Version=#Action=RegisterImage' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Name=&Action=&Version=#Action=RegisterImage' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Name=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RegisterImage"
querystring = {"Name":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RegisterImage"
queryString <- list(
Name = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Name=&Action=&Version=#Action=RegisterImage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Name'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RegisterImage";
let querystring = [
("Name", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Name=&Action=&Version=#Action=RegisterImage'
http GET '{{baseUrl}}/?Name=&Action=&Version=#Action=RegisterImage'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Name=&Action=&Version=#Action=RegisterImage'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Name=&Action=&Version=#Action=RegisterImage")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_RegisterInstanceEventNotificationAttributes
{{baseUrl}}/#Action=RegisterInstanceEventNotificationAttributes
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=RegisterInstanceEventNotificationAttributes" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RegisterInstanceEventNotificationAttributes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RegisterInstanceEventNotificationAttributes',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=RegisterInstanceEventNotificationAttributes');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RegisterInstanceEventNotificationAttributes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RegisterInstanceEventNotificationAttributes');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RegisterInstanceEventNotificationAttributes');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RegisterInstanceEventNotificationAttributes"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RegisterInstanceEventNotificationAttributes"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RegisterInstanceEventNotificationAttributes";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes'
http GET '{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_RegisterTransitGatewayMulticastGroupMembers
{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupMembers
QUERY PARAMS
TransitGatewayMulticastDomainId
NetworkInterfaceIds
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupMembers" {:query-params {:TransitGatewayMulticastDomainId ""
:NetworkInterfaceIds ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupMembers',
params: {
TransitGatewayMulticastDomainId: '',
NetworkInterfaceIds: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupMembers',
qs: {
TransitGatewayMulticastDomainId: '',
NetworkInterfaceIds: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupMembers');
req.query({
TransitGatewayMulticastDomainId: '',
NetworkInterfaceIds: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupMembers',
params: {
TransitGatewayMulticastDomainId: '',
NetworkInterfaceIds: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupMembers');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayMulticastDomainId' => '',
'NetworkInterfaceIds' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupMembers');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayMulticastDomainId' => '',
'NetworkInterfaceIds' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupMembers"
querystring = {"TransitGatewayMulticastDomainId":"","NetworkInterfaceIds":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupMembers"
queryString <- list(
TransitGatewayMulticastDomainId = "",
NetworkInterfaceIds = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayMulticastDomainId'] = ''
req.params['NetworkInterfaceIds'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupMembers";
let querystring = [
("TransitGatewayMulticastDomainId", ""),
("NetworkInterfaceIds", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers'
http GET '{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_RegisterTransitGatewayMulticastGroupSources
{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupSources
QUERY PARAMS
TransitGatewayMulticastDomainId
NetworkInterfaceIds
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupSources" {:query-params {:TransitGatewayMulticastDomainId ""
:NetworkInterfaceIds ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupSources',
params: {
TransitGatewayMulticastDomainId: '',
NetworkInterfaceIds: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupSources',
qs: {
TransitGatewayMulticastDomainId: '',
NetworkInterfaceIds: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupSources');
req.query({
TransitGatewayMulticastDomainId: '',
NetworkInterfaceIds: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupSources',
params: {
TransitGatewayMulticastDomainId: '',
NetworkInterfaceIds: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupSources');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayMulticastDomainId' => '',
'NetworkInterfaceIds' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupSources');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayMulticastDomainId' => '',
'NetworkInterfaceIds' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupSources"
querystring = {"TransitGatewayMulticastDomainId":"","NetworkInterfaceIds":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupSources"
queryString <- list(
TransitGatewayMulticastDomainId = "",
NetworkInterfaceIds = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayMulticastDomainId'] = ''
req.params['NetworkInterfaceIds'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupSources";
let querystring = [
("TransitGatewayMulticastDomainId", ""),
("NetworkInterfaceIds", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources'
http GET '{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayMulticastDomainId=&NetworkInterfaceIds=&Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_RejectTransitGatewayMulticastDomainAssociations
{{baseUrl}}/#Action=RejectTransitGatewayMulticastDomainAssociations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=RejectTransitGatewayMulticastDomainAssociations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RejectTransitGatewayMulticastDomainAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RejectTransitGatewayMulticastDomainAssociations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=RejectTransitGatewayMulticastDomainAssociations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RejectTransitGatewayMulticastDomainAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RejectTransitGatewayMulticastDomainAssociations');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RejectTransitGatewayMulticastDomainAssociations');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RejectTransitGatewayMulticastDomainAssociations"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RejectTransitGatewayMulticastDomainAssociations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RejectTransitGatewayMulticastDomainAssociations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations'
http GET '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_RejectTransitGatewayPeeringAttachment
{{baseUrl}}/#Action=RejectTransitGatewayPeeringAttachment
QUERY PARAMS
TransitGatewayAttachmentId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayPeeringAttachment");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=RejectTransitGatewayPeeringAttachment" {:query-params {:TransitGatewayAttachmentId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayPeeringAttachment"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayPeeringAttachment"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayPeeringAttachment");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayPeeringAttachment"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayAttachmentId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayPeeringAttachment")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayPeeringAttachment"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayPeeringAttachment")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayPeeringAttachment")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayPeeringAttachment');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RejectTransitGatewayPeeringAttachment',
params: {TransitGatewayAttachmentId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayPeeringAttachment';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayPeeringAttachment',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayPeeringAttachment")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayAttachmentId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RejectTransitGatewayPeeringAttachment',
qs: {TransitGatewayAttachmentId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=RejectTransitGatewayPeeringAttachment');
req.query({
TransitGatewayAttachmentId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RejectTransitGatewayPeeringAttachment',
params: {TransitGatewayAttachmentId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayPeeringAttachment';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayPeeringAttachment"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayPeeringAttachment" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayPeeringAttachment",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayPeeringAttachment');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RejectTransitGatewayPeeringAttachment');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayAttachmentId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RejectTransitGatewayPeeringAttachment');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayAttachmentId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayPeeringAttachment' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayPeeringAttachment' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayAttachmentId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RejectTransitGatewayPeeringAttachment"
querystring = {"TransitGatewayAttachmentId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RejectTransitGatewayPeeringAttachment"
queryString <- list(
TransitGatewayAttachmentId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayPeeringAttachment")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayAttachmentId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RejectTransitGatewayPeeringAttachment";
let querystring = [
("TransitGatewayAttachmentId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayPeeringAttachment'
http GET '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayPeeringAttachment'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayPeeringAttachment'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayPeeringAttachment")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_RejectTransitGatewayVpcAttachment
{{baseUrl}}/#Action=RejectTransitGatewayVpcAttachment
QUERY PARAMS
TransitGatewayAttachmentId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayVpcAttachment");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=RejectTransitGatewayVpcAttachment" {:query-params {:TransitGatewayAttachmentId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayVpcAttachment"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayVpcAttachment"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayVpcAttachment");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayVpcAttachment"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayAttachmentId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayVpcAttachment")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayVpcAttachment"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayVpcAttachment")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayVpcAttachment")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayVpcAttachment');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RejectTransitGatewayVpcAttachment',
params: {TransitGatewayAttachmentId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayVpcAttachment';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayVpcAttachment',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayVpcAttachment")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayAttachmentId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RejectTransitGatewayVpcAttachment',
qs: {TransitGatewayAttachmentId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=RejectTransitGatewayVpcAttachment');
req.query({
TransitGatewayAttachmentId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RejectTransitGatewayVpcAttachment',
params: {TransitGatewayAttachmentId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayVpcAttachment';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayVpcAttachment"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayVpcAttachment" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayVpcAttachment",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayVpcAttachment');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RejectTransitGatewayVpcAttachment');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayAttachmentId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RejectTransitGatewayVpcAttachment');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayAttachmentId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayVpcAttachment' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayVpcAttachment' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayAttachmentId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RejectTransitGatewayVpcAttachment"
querystring = {"TransitGatewayAttachmentId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RejectTransitGatewayVpcAttachment"
queryString <- list(
TransitGatewayAttachmentId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayVpcAttachment")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayAttachmentId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RejectTransitGatewayVpcAttachment";
let querystring = [
("TransitGatewayAttachmentId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayVpcAttachment'
http GET '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayVpcAttachment'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayVpcAttachment'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayAttachmentId=&Action=&Version=#Action=RejectTransitGatewayVpcAttachment")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_RejectVpcEndpointConnections
{{baseUrl}}/#Action=RejectVpcEndpointConnections
QUERY PARAMS
ServiceId
VpcEndpointId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=RejectVpcEndpointConnections");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=RejectVpcEndpointConnections" {:query-params {:ServiceId ""
:VpcEndpointId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=RejectVpcEndpointConnections"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=RejectVpcEndpointConnections"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=RejectVpcEndpointConnections");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=RejectVpcEndpointConnections"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ServiceId=&VpcEndpointId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=RejectVpcEndpointConnections")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=RejectVpcEndpointConnections"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=RejectVpcEndpointConnections")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=RejectVpcEndpointConnections")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=RejectVpcEndpointConnections');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RejectVpcEndpointConnections',
params: {ServiceId: '', VpcEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=RejectVpcEndpointConnections';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=RejectVpcEndpointConnections',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=RejectVpcEndpointConnections")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ServiceId=&VpcEndpointId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RejectVpcEndpointConnections',
qs: {ServiceId: '', VpcEndpointId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=RejectVpcEndpointConnections');
req.query({
ServiceId: '',
VpcEndpointId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RejectVpcEndpointConnections',
params: {ServiceId: '', VpcEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=RejectVpcEndpointConnections';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=RejectVpcEndpointConnections"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=RejectVpcEndpointConnections" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=RejectVpcEndpointConnections",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=RejectVpcEndpointConnections');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RejectVpcEndpointConnections');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ServiceId' => '',
'VpcEndpointId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RejectVpcEndpointConnections');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ServiceId' => '',
'VpcEndpointId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=RejectVpcEndpointConnections' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=RejectVpcEndpointConnections' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ServiceId=&VpcEndpointId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RejectVpcEndpointConnections"
querystring = {"ServiceId":"","VpcEndpointId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RejectVpcEndpointConnections"
queryString <- list(
ServiceId = "",
VpcEndpointId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=RejectVpcEndpointConnections")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ServiceId'] = ''
req.params['VpcEndpointId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RejectVpcEndpointConnections";
let querystring = [
("ServiceId", ""),
("VpcEndpointId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=RejectVpcEndpointConnections'
http GET '{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=RejectVpcEndpointConnections'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=RejectVpcEndpointConnections'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ServiceId=&VpcEndpointId=&Action=&Version=#Action=RejectVpcEndpointConnections")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_RejectVpcPeeringConnection
{{baseUrl}}/#Action=RejectVpcPeeringConnection
QUERY PARAMS
VpcPeeringConnectionId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=RejectVpcPeeringConnection");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=RejectVpcPeeringConnection" {:query-params {:VpcPeeringConnectionId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=RejectVpcPeeringConnection"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=RejectVpcPeeringConnection"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=RejectVpcPeeringConnection");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=RejectVpcPeeringConnection"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpcPeeringConnectionId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=RejectVpcPeeringConnection")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=RejectVpcPeeringConnection"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=RejectVpcPeeringConnection")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=RejectVpcPeeringConnection")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=RejectVpcPeeringConnection');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RejectVpcPeeringConnection',
params: {VpcPeeringConnectionId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=RejectVpcPeeringConnection';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=RejectVpcPeeringConnection',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=RejectVpcPeeringConnection")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpcPeeringConnectionId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RejectVpcPeeringConnection',
qs: {VpcPeeringConnectionId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=RejectVpcPeeringConnection');
req.query({
VpcPeeringConnectionId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RejectVpcPeeringConnection',
params: {VpcPeeringConnectionId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=RejectVpcPeeringConnection';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=RejectVpcPeeringConnection"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=RejectVpcPeeringConnection" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=RejectVpcPeeringConnection",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=RejectVpcPeeringConnection');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RejectVpcPeeringConnection');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpcPeeringConnectionId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RejectVpcPeeringConnection');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpcPeeringConnectionId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=RejectVpcPeeringConnection' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=RejectVpcPeeringConnection' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpcPeeringConnectionId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RejectVpcPeeringConnection"
querystring = {"VpcPeeringConnectionId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RejectVpcPeeringConnection"
queryString <- list(
VpcPeeringConnectionId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=RejectVpcPeeringConnection")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpcPeeringConnectionId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RejectVpcPeeringConnection";
let querystring = [
("VpcPeeringConnectionId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=RejectVpcPeeringConnection'
http GET '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=RejectVpcPeeringConnection'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=RejectVpcPeeringConnection'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpcPeeringConnectionId=&Action=&Version=#Action=RejectVpcPeeringConnection")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ReleaseAddress
{{baseUrl}}/#Action=ReleaseAddress
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ReleaseAddress" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReleaseAddress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReleaseAddress',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ReleaseAddress');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReleaseAddress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ReleaseAddress');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ReleaseAddress');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ReleaseAddress"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ReleaseAddress"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ReleaseAddress";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress'
http GET '{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ReleaseHosts
{{baseUrl}}/#Action=ReleaseHosts
QUERY PARAMS
HostId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?HostId=&Action=&Version=#Action=ReleaseHosts");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ReleaseHosts" {:query-params {:HostId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?HostId=&Action=&Version=#Action=ReleaseHosts"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?HostId=&Action=&Version=#Action=ReleaseHosts"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?HostId=&Action=&Version=#Action=ReleaseHosts");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?HostId=&Action=&Version=#Action=ReleaseHosts"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?HostId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?HostId=&Action=&Version=#Action=ReleaseHosts")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?HostId=&Action=&Version=#Action=ReleaseHosts"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?HostId=&Action=&Version=#Action=ReleaseHosts")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?HostId=&Action=&Version=#Action=ReleaseHosts")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?HostId=&Action=&Version=#Action=ReleaseHosts');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReleaseHosts',
params: {HostId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?HostId=&Action=&Version=#Action=ReleaseHosts';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?HostId=&Action=&Version=#Action=ReleaseHosts',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?HostId=&Action=&Version=#Action=ReleaseHosts")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?HostId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReleaseHosts',
qs: {HostId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ReleaseHosts');
req.query({
HostId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReleaseHosts',
params: {HostId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?HostId=&Action=&Version=#Action=ReleaseHosts';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?HostId=&Action=&Version=#Action=ReleaseHosts"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?HostId=&Action=&Version=#Action=ReleaseHosts" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?HostId=&Action=&Version=#Action=ReleaseHosts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?HostId=&Action=&Version=#Action=ReleaseHosts');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ReleaseHosts');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'HostId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ReleaseHosts');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'HostId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?HostId=&Action=&Version=#Action=ReleaseHosts' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?HostId=&Action=&Version=#Action=ReleaseHosts' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?HostId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ReleaseHosts"
querystring = {"HostId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ReleaseHosts"
queryString <- list(
HostId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?HostId=&Action=&Version=#Action=ReleaseHosts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['HostId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ReleaseHosts";
let querystring = [
("HostId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?HostId=&Action=&Version=#Action=ReleaseHosts'
http GET '{{baseUrl}}/?HostId=&Action=&Version=#Action=ReleaseHosts'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?HostId=&Action=&Version=#Action=ReleaseHosts'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?HostId=&Action=&Version=#Action=ReleaseHosts")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ReleaseIpamPoolAllocation
{{baseUrl}}/#Action=ReleaseIpamPoolAllocation
QUERY PARAMS
IpamPoolId
Cidr
IpamPoolAllocationId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?IpamPoolId=&Cidr=&IpamPoolAllocationId=&Action=&Version=#Action=ReleaseIpamPoolAllocation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ReleaseIpamPoolAllocation" {:query-params {:IpamPoolId ""
:Cidr ""
:IpamPoolAllocationId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?IpamPoolId=&Cidr=&IpamPoolAllocationId=&Action=&Version=#Action=ReleaseIpamPoolAllocation"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?IpamPoolId=&Cidr=&IpamPoolAllocationId=&Action=&Version=#Action=ReleaseIpamPoolAllocation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?IpamPoolId=&Cidr=&IpamPoolAllocationId=&Action=&Version=#Action=ReleaseIpamPoolAllocation");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?IpamPoolId=&Cidr=&IpamPoolAllocationId=&Action=&Version=#Action=ReleaseIpamPoolAllocation"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?IpamPoolId=&Cidr=&IpamPoolAllocationId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?IpamPoolId=&Cidr=&IpamPoolAllocationId=&Action=&Version=#Action=ReleaseIpamPoolAllocation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?IpamPoolId=&Cidr=&IpamPoolAllocationId=&Action=&Version=#Action=ReleaseIpamPoolAllocation"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?IpamPoolId=&Cidr=&IpamPoolAllocationId=&Action=&Version=#Action=ReleaseIpamPoolAllocation")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?IpamPoolId=&Cidr=&IpamPoolAllocationId=&Action=&Version=#Action=ReleaseIpamPoolAllocation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?IpamPoolId=&Cidr=&IpamPoolAllocationId=&Action=&Version=#Action=ReleaseIpamPoolAllocation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReleaseIpamPoolAllocation',
params: {IpamPoolId: '', Cidr: '', IpamPoolAllocationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?IpamPoolId=&Cidr=&IpamPoolAllocationId=&Action=&Version=#Action=ReleaseIpamPoolAllocation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?IpamPoolId=&Cidr=&IpamPoolAllocationId=&Action=&Version=#Action=ReleaseIpamPoolAllocation',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?IpamPoolId=&Cidr=&IpamPoolAllocationId=&Action=&Version=#Action=ReleaseIpamPoolAllocation")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?IpamPoolId=&Cidr=&IpamPoolAllocationId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReleaseIpamPoolAllocation',
qs: {IpamPoolId: '', Cidr: '', IpamPoolAllocationId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ReleaseIpamPoolAllocation');
req.query({
IpamPoolId: '',
Cidr: '',
IpamPoolAllocationId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReleaseIpamPoolAllocation',
params: {IpamPoolId: '', Cidr: '', IpamPoolAllocationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?IpamPoolId=&Cidr=&IpamPoolAllocationId=&Action=&Version=#Action=ReleaseIpamPoolAllocation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?IpamPoolId=&Cidr=&IpamPoolAllocationId=&Action=&Version=#Action=ReleaseIpamPoolAllocation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?IpamPoolId=&Cidr=&IpamPoolAllocationId=&Action=&Version=#Action=ReleaseIpamPoolAllocation" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?IpamPoolId=&Cidr=&IpamPoolAllocationId=&Action=&Version=#Action=ReleaseIpamPoolAllocation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?IpamPoolId=&Cidr=&IpamPoolAllocationId=&Action=&Version=#Action=ReleaseIpamPoolAllocation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ReleaseIpamPoolAllocation');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'IpamPoolId' => '',
'Cidr' => '',
'IpamPoolAllocationId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ReleaseIpamPoolAllocation');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'IpamPoolId' => '',
'Cidr' => '',
'IpamPoolAllocationId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?IpamPoolId=&Cidr=&IpamPoolAllocationId=&Action=&Version=#Action=ReleaseIpamPoolAllocation' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?IpamPoolId=&Cidr=&IpamPoolAllocationId=&Action=&Version=#Action=ReleaseIpamPoolAllocation' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?IpamPoolId=&Cidr=&IpamPoolAllocationId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ReleaseIpamPoolAllocation"
querystring = {"IpamPoolId":"","Cidr":"","IpamPoolAllocationId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ReleaseIpamPoolAllocation"
queryString <- list(
IpamPoolId = "",
Cidr = "",
IpamPoolAllocationId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?IpamPoolId=&Cidr=&IpamPoolAllocationId=&Action=&Version=#Action=ReleaseIpamPoolAllocation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['IpamPoolId'] = ''
req.params['Cidr'] = ''
req.params['IpamPoolAllocationId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ReleaseIpamPoolAllocation";
let querystring = [
("IpamPoolId", ""),
("Cidr", ""),
("IpamPoolAllocationId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?IpamPoolId=&Cidr=&IpamPoolAllocationId=&Action=&Version=#Action=ReleaseIpamPoolAllocation'
http GET '{{baseUrl}}/?IpamPoolId=&Cidr=&IpamPoolAllocationId=&Action=&Version=#Action=ReleaseIpamPoolAllocation'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?IpamPoolId=&Cidr=&IpamPoolAllocationId=&Action=&Version=#Action=ReleaseIpamPoolAllocation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?IpamPoolId=&Cidr=&IpamPoolAllocationId=&Action=&Version=#Action=ReleaseIpamPoolAllocation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ReplaceIamInstanceProfileAssociation
{{baseUrl}}/#Action=ReplaceIamInstanceProfileAssociation
QUERY PARAMS
IamInstanceProfile
AssociationId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?IamInstanceProfile=&AssociationId=&Action=&Version=#Action=ReplaceIamInstanceProfileAssociation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ReplaceIamInstanceProfileAssociation" {:query-params {:IamInstanceProfile ""
:AssociationId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?IamInstanceProfile=&AssociationId=&Action=&Version=#Action=ReplaceIamInstanceProfileAssociation"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?IamInstanceProfile=&AssociationId=&Action=&Version=#Action=ReplaceIamInstanceProfileAssociation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?IamInstanceProfile=&AssociationId=&Action=&Version=#Action=ReplaceIamInstanceProfileAssociation");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?IamInstanceProfile=&AssociationId=&Action=&Version=#Action=ReplaceIamInstanceProfileAssociation"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?IamInstanceProfile=&AssociationId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?IamInstanceProfile=&AssociationId=&Action=&Version=#Action=ReplaceIamInstanceProfileAssociation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?IamInstanceProfile=&AssociationId=&Action=&Version=#Action=ReplaceIamInstanceProfileAssociation"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?IamInstanceProfile=&AssociationId=&Action=&Version=#Action=ReplaceIamInstanceProfileAssociation")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?IamInstanceProfile=&AssociationId=&Action=&Version=#Action=ReplaceIamInstanceProfileAssociation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?IamInstanceProfile=&AssociationId=&Action=&Version=#Action=ReplaceIamInstanceProfileAssociation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReplaceIamInstanceProfileAssociation',
params: {IamInstanceProfile: '', AssociationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?IamInstanceProfile=&AssociationId=&Action=&Version=#Action=ReplaceIamInstanceProfileAssociation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?IamInstanceProfile=&AssociationId=&Action=&Version=#Action=ReplaceIamInstanceProfileAssociation',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?IamInstanceProfile=&AssociationId=&Action=&Version=#Action=ReplaceIamInstanceProfileAssociation")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?IamInstanceProfile=&AssociationId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReplaceIamInstanceProfileAssociation',
qs: {IamInstanceProfile: '', AssociationId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ReplaceIamInstanceProfileAssociation');
req.query({
IamInstanceProfile: '',
AssociationId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReplaceIamInstanceProfileAssociation',
params: {IamInstanceProfile: '', AssociationId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?IamInstanceProfile=&AssociationId=&Action=&Version=#Action=ReplaceIamInstanceProfileAssociation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?IamInstanceProfile=&AssociationId=&Action=&Version=#Action=ReplaceIamInstanceProfileAssociation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?IamInstanceProfile=&AssociationId=&Action=&Version=#Action=ReplaceIamInstanceProfileAssociation" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?IamInstanceProfile=&AssociationId=&Action=&Version=#Action=ReplaceIamInstanceProfileAssociation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?IamInstanceProfile=&AssociationId=&Action=&Version=#Action=ReplaceIamInstanceProfileAssociation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ReplaceIamInstanceProfileAssociation');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'IamInstanceProfile' => '',
'AssociationId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ReplaceIamInstanceProfileAssociation');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'IamInstanceProfile' => '',
'AssociationId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?IamInstanceProfile=&AssociationId=&Action=&Version=#Action=ReplaceIamInstanceProfileAssociation' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?IamInstanceProfile=&AssociationId=&Action=&Version=#Action=ReplaceIamInstanceProfileAssociation' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?IamInstanceProfile=&AssociationId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ReplaceIamInstanceProfileAssociation"
querystring = {"IamInstanceProfile":"","AssociationId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ReplaceIamInstanceProfileAssociation"
queryString <- list(
IamInstanceProfile = "",
AssociationId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?IamInstanceProfile=&AssociationId=&Action=&Version=#Action=ReplaceIamInstanceProfileAssociation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['IamInstanceProfile'] = ''
req.params['AssociationId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ReplaceIamInstanceProfileAssociation";
let querystring = [
("IamInstanceProfile", ""),
("AssociationId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?IamInstanceProfile=&AssociationId=&Action=&Version=#Action=ReplaceIamInstanceProfileAssociation'
http GET '{{baseUrl}}/?IamInstanceProfile=&AssociationId=&Action=&Version=#Action=ReplaceIamInstanceProfileAssociation'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?IamInstanceProfile=&AssociationId=&Action=&Version=#Action=ReplaceIamInstanceProfileAssociation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?IamInstanceProfile=&AssociationId=&Action=&Version=#Action=ReplaceIamInstanceProfileAssociation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ReplaceNetworkAclAssociation
{{baseUrl}}/#Action=ReplaceNetworkAclAssociation
QUERY PARAMS
AssociationId
NetworkAclId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?AssociationId=&NetworkAclId=&Action=&Version=#Action=ReplaceNetworkAclAssociation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ReplaceNetworkAclAssociation" {:query-params {:AssociationId ""
:NetworkAclId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?AssociationId=&NetworkAclId=&Action=&Version=#Action=ReplaceNetworkAclAssociation"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?AssociationId=&NetworkAclId=&Action=&Version=#Action=ReplaceNetworkAclAssociation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?AssociationId=&NetworkAclId=&Action=&Version=#Action=ReplaceNetworkAclAssociation");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?AssociationId=&NetworkAclId=&Action=&Version=#Action=ReplaceNetworkAclAssociation"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?AssociationId=&NetworkAclId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?AssociationId=&NetworkAclId=&Action=&Version=#Action=ReplaceNetworkAclAssociation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?AssociationId=&NetworkAclId=&Action=&Version=#Action=ReplaceNetworkAclAssociation"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?AssociationId=&NetworkAclId=&Action=&Version=#Action=ReplaceNetworkAclAssociation")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?AssociationId=&NetworkAclId=&Action=&Version=#Action=ReplaceNetworkAclAssociation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?AssociationId=&NetworkAclId=&Action=&Version=#Action=ReplaceNetworkAclAssociation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReplaceNetworkAclAssociation',
params: {AssociationId: '', NetworkAclId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?AssociationId=&NetworkAclId=&Action=&Version=#Action=ReplaceNetworkAclAssociation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?AssociationId=&NetworkAclId=&Action=&Version=#Action=ReplaceNetworkAclAssociation',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?AssociationId=&NetworkAclId=&Action=&Version=#Action=ReplaceNetworkAclAssociation")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?AssociationId=&NetworkAclId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReplaceNetworkAclAssociation',
qs: {AssociationId: '', NetworkAclId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ReplaceNetworkAclAssociation');
req.query({
AssociationId: '',
NetworkAclId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReplaceNetworkAclAssociation',
params: {AssociationId: '', NetworkAclId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?AssociationId=&NetworkAclId=&Action=&Version=#Action=ReplaceNetworkAclAssociation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?AssociationId=&NetworkAclId=&Action=&Version=#Action=ReplaceNetworkAclAssociation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?AssociationId=&NetworkAclId=&Action=&Version=#Action=ReplaceNetworkAclAssociation" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?AssociationId=&NetworkAclId=&Action=&Version=#Action=ReplaceNetworkAclAssociation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?AssociationId=&NetworkAclId=&Action=&Version=#Action=ReplaceNetworkAclAssociation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ReplaceNetworkAclAssociation');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'AssociationId' => '',
'NetworkAclId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ReplaceNetworkAclAssociation');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'AssociationId' => '',
'NetworkAclId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?AssociationId=&NetworkAclId=&Action=&Version=#Action=ReplaceNetworkAclAssociation' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?AssociationId=&NetworkAclId=&Action=&Version=#Action=ReplaceNetworkAclAssociation' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?AssociationId=&NetworkAclId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ReplaceNetworkAclAssociation"
querystring = {"AssociationId":"","NetworkAclId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ReplaceNetworkAclAssociation"
queryString <- list(
AssociationId = "",
NetworkAclId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?AssociationId=&NetworkAclId=&Action=&Version=#Action=ReplaceNetworkAclAssociation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['AssociationId'] = ''
req.params['NetworkAclId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ReplaceNetworkAclAssociation";
let querystring = [
("AssociationId", ""),
("NetworkAclId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?AssociationId=&NetworkAclId=&Action=&Version=#Action=ReplaceNetworkAclAssociation'
http GET '{{baseUrl}}/?AssociationId=&NetworkAclId=&Action=&Version=#Action=ReplaceNetworkAclAssociation'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?AssociationId=&NetworkAclId=&Action=&Version=#Action=ReplaceNetworkAclAssociation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?AssociationId=&NetworkAclId=&Action=&Version=#Action=ReplaceNetworkAclAssociation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"NewAssociationId": "aclassoc-3999875b"
}
GET
GET_ReplaceNetworkAclEntry
{{baseUrl}}/#Action=ReplaceNetworkAclEntry
QUERY PARAMS
Egress
NetworkAclId
Protocol
RuleAction
RuleNumber
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=ReplaceNetworkAclEntry");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ReplaceNetworkAclEntry" {:query-params {:Egress ""
:NetworkAclId ""
:Protocol ""
:RuleAction ""
:RuleNumber ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=ReplaceNetworkAclEntry"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=ReplaceNetworkAclEntry"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=ReplaceNetworkAclEntry");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=ReplaceNetworkAclEntry"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=ReplaceNetworkAclEntry")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=ReplaceNetworkAclEntry"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=ReplaceNetworkAclEntry")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=ReplaceNetworkAclEntry")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=ReplaceNetworkAclEntry');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReplaceNetworkAclEntry',
params: {
Egress: '',
NetworkAclId: '',
Protocol: '',
RuleAction: '',
RuleNumber: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=ReplaceNetworkAclEntry';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=ReplaceNetworkAclEntry',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=ReplaceNetworkAclEntry")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReplaceNetworkAclEntry',
qs: {
Egress: '',
NetworkAclId: '',
Protocol: '',
RuleAction: '',
RuleNumber: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ReplaceNetworkAclEntry');
req.query({
Egress: '',
NetworkAclId: '',
Protocol: '',
RuleAction: '',
RuleNumber: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReplaceNetworkAclEntry',
params: {
Egress: '',
NetworkAclId: '',
Protocol: '',
RuleAction: '',
RuleNumber: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=ReplaceNetworkAclEntry';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=ReplaceNetworkAclEntry"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=ReplaceNetworkAclEntry" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=ReplaceNetworkAclEntry",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=ReplaceNetworkAclEntry');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ReplaceNetworkAclEntry');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Egress' => '',
'NetworkAclId' => '',
'Protocol' => '',
'RuleAction' => '',
'RuleNumber' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ReplaceNetworkAclEntry');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Egress' => '',
'NetworkAclId' => '',
'Protocol' => '',
'RuleAction' => '',
'RuleNumber' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=ReplaceNetworkAclEntry' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=ReplaceNetworkAclEntry' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ReplaceNetworkAclEntry"
querystring = {"Egress":"","NetworkAclId":"","Protocol":"","RuleAction":"","RuleNumber":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ReplaceNetworkAclEntry"
queryString <- list(
Egress = "",
NetworkAclId = "",
Protocol = "",
RuleAction = "",
RuleNumber = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=ReplaceNetworkAclEntry")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Egress'] = ''
req.params['NetworkAclId'] = ''
req.params['Protocol'] = ''
req.params['RuleAction'] = ''
req.params['RuleNumber'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ReplaceNetworkAclEntry";
let querystring = [
("Egress", ""),
("NetworkAclId", ""),
("Protocol", ""),
("RuleAction", ""),
("RuleNumber", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=ReplaceNetworkAclEntry'
http GET '{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=ReplaceNetworkAclEntry'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=ReplaceNetworkAclEntry'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Egress=&NetworkAclId=&Protocol=&RuleAction=&RuleNumber=&Action=&Version=#Action=ReplaceNetworkAclEntry")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ReplaceRoute
{{baseUrl}}/#Action=ReplaceRoute
QUERY PARAMS
RouteTableId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=ReplaceRoute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ReplaceRoute" {:query-params {:RouteTableId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=ReplaceRoute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=ReplaceRoute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=ReplaceRoute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=ReplaceRoute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?RouteTableId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=ReplaceRoute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=ReplaceRoute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=ReplaceRoute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=ReplaceRoute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=ReplaceRoute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReplaceRoute',
params: {RouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=ReplaceRoute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=ReplaceRoute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=ReplaceRoute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?RouteTableId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReplaceRoute',
qs: {RouteTableId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ReplaceRoute');
req.query({
RouteTableId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReplaceRoute',
params: {RouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=ReplaceRoute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=ReplaceRoute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=ReplaceRoute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=ReplaceRoute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=ReplaceRoute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ReplaceRoute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'RouteTableId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ReplaceRoute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'RouteTableId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=ReplaceRoute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=ReplaceRoute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?RouteTableId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ReplaceRoute"
querystring = {"RouteTableId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ReplaceRoute"
queryString <- list(
RouteTableId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=ReplaceRoute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['RouteTableId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ReplaceRoute";
let querystring = [
("RouteTableId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=ReplaceRoute'
http GET '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=ReplaceRoute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=ReplaceRoute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?RouteTableId=&Action=&Version=#Action=ReplaceRoute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ReplaceRouteTableAssociation
{{baseUrl}}/#Action=ReplaceRouteTableAssociation
QUERY PARAMS
AssociationId
RouteTableId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?AssociationId=&RouteTableId=&Action=&Version=#Action=ReplaceRouteTableAssociation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ReplaceRouteTableAssociation" {:query-params {:AssociationId ""
:RouteTableId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?AssociationId=&RouteTableId=&Action=&Version=#Action=ReplaceRouteTableAssociation"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?AssociationId=&RouteTableId=&Action=&Version=#Action=ReplaceRouteTableAssociation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?AssociationId=&RouteTableId=&Action=&Version=#Action=ReplaceRouteTableAssociation");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?AssociationId=&RouteTableId=&Action=&Version=#Action=ReplaceRouteTableAssociation"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?AssociationId=&RouteTableId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?AssociationId=&RouteTableId=&Action=&Version=#Action=ReplaceRouteTableAssociation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?AssociationId=&RouteTableId=&Action=&Version=#Action=ReplaceRouteTableAssociation"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?AssociationId=&RouteTableId=&Action=&Version=#Action=ReplaceRouteTableAssociation")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?AssociationId=&RouteTableId=&Action=&Version=#Action=ReplaceRouteTableAssociation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?AssociationId=&RouteTableId=&Action=&Version=#Action=ReplaceRouteTableAssociation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReplaceRouteTableAssociation',
params: {AssociationId: '', RouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?AssociationId=&RouteTableId=&Action=&Version=#Action=ReplaceRouteTableAssociation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?AssociationId=&RouteTableId=&Action=&Version=#Action=ReplaceRouteTableAssociation',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?AssociationId=&RouteTableId=&Action=&Version=#Action=ReplaceRouteTableAssociation")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?AssociationId=&RouteTableId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReplaceRouteTableAssociation',
qs: {AssociationId: '', RouteTableId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ReplaceRouteTableAssociation');
req.query({
AssociationId: '',
RouteTableId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReplaceRouteTableAssociation',
params: {AssociationId: '', RouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?AssociationId=&RouteTableId=&Action=&Version=#Action=ReplaceRouteTableAssociation';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?AssociationId=&RouteTableId=&Action=&Version=#Action=ReplaceRouteTableAssociation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?AssociationId=&RouteTableId=&Action=&Version=#Action=ReplaceRouteTableAssociation" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?AssociationId=&RouteTableId=&Action=&Version=#Action=ReplaceRouteTableAssociation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?AssociationId=&RouteTableId=&Action=&Version=#Action=ReplaceRouteTableAssociation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ReplaceRouteTableAssociation');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'AssociationId' => '',
'RouteTableId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ReplaceRouteTableAssociation');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'AssociationId' => '',
'RouteTableId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?AssociationId=&RouteTableId=&Action=&Version=#Action=ReplaceRouteTableAssociation' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?AssociationId=&RouteTableId=&Action=&Version=#Action=ReplaceRouteTableAssociation' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?AssociationId=&RouteTableId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ReplaceRouteTableAssociation"
querystring = {"AssociationId":"","RouteTableId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ReplaceRouteTableAssociation"
queryString <- list(
AssociationId = "",
RouteTableId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?AssociationId=&RouteTableId=&Action=&Version=#Action=ReplaceRouteTableAssociation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['AssociationId'] = ''
req.params['RouteTableId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ReplaceRouteTableAssociation";
let querystring = [
("AssociationId", ""),
("RouteTableId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?AssociationId=&RouteTableId=&Action=&Version=#Action=ReplaceRouteTableAssociation'
http GET '{{baseUrl}}/?AssociationId=&RouteTableId=&Action=&Version=#Action=ReplaceRouteTableAssociation'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?AssociationId=&RouteTableId=&Action=&Version=#Action=ReplaceRouteTableAssociation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?AssociationId=&RouteTableId=&Action=&Version=#Action=ReplaceRouteTableAssociation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"NewAssociationId": "rtbassoc-3a1f0f58"
}
GET
GET_ReplaceTransitGatewayRoute
{{baseUrl}}/#Action=ReplaceTransitGatewayRoute
QUERY PARAMS
DestinationCidrBlock
TransitGatewayRouteTableId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=ReplaceTransitGatewayRoute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ReplaceTransitGatewayRoute" {:query-params {:DestinationCidrBlock ""
:TransitGatewayRouteTableId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=ReplaceTransitGatewayRoute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=ReplaceTransitGatewayRoute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=ReplaceTransitGatewayRoute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=ReplaceTransitGatewayRoute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=ReplaceTransitGatewayRoute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=ReplaceTransitGatewayRoute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=ReplaceTransitGatewayRoute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=ReplaceTransitGatewayRoute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=ReplaceTransitGatewayRoute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReplaceTransitGatewayRoute',
params: {
DestinationCidrBlock: '',
TransitGatewayRouteTableId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=ReplaceTransitGatewayRoute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=ReplaceTransitGatewayRoute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=ReplaceTransitGatewayRoute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReplaceTransitGatewayRoute',
qs: {
DestinationCidrBlock: '',
TransitGatewayRouteTableId: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ReplaceTransitGatewayRoute');
req.query({
DestinationCidrBlock: '',
TransitGatewayRouteTableId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReplaceTransitGatewayRoute',
params: {
DestinationCidrBlock: '',
TransitGatewayRouteTableId: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=ReplaceTransitGatewayRoute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=ReplaceTransitGatewayRoute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=ReplaceTransitGatewayRoute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=ReplaceTransitGatewayRoute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=ReplaceTransitGatewayRoute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ReplaceTransitGatewayRoute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'DestinationCidrBlock' => '',
'TransitGatewayRouteTableId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ReplaceTransitGatewayRoute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'DestinationCidrBlock' => '',
'TransitGatewayRouteTableId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=ReplaceTransitGatewayRoute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=ReplaceTransitGatewayRoute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ReplaceTransitGatewayRoute"
querystring = {"DestinationCidrBlock":"","TransitGatewayRouteTableId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ReplaceTransitGatewayRoute"
queryString <- list(
DestinationCidrBlock = "",
TransitGatewayRouteTableId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=ReplaceTransitGatewayRoute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['DestinationCidrBlock'] = ''
req.params['TransitGatewayRouteTableId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ReplaceTransitGatewayRoute";
let querystring = [
("DestinationCidrBlock", ""),
("TransitGatewayRouteTableId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=ReplaceTransitGatewayRoute'
http GET '{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=ReplaceTransitGatewayRoute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=ReplaceTransitGatewayRoute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?DestinationCidrBlock=&TransitGatewayRouteTableId=&Action=&Version=#Action=ReplaceTransitGatewayRoute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ReplaceVpnTunnel
{{baseUrl}}/#Action=ReplaceVpnTunnel
QUERY PARAMS
VpnConnectionId
VpnTunnelOutsideIpAddress
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ReplaceVpnTunnel");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ReplaceVpnTunnel" {:query-params {:VpnConnectionId ""
:VpnTunnelOutsideIpAddress ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ReplaceVpnTunnel"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ReplaceVpnTunnel"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ReplaceVpnTunnel");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ReplaceVpnTunnel"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ReplaceVpnTunnel")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ReplaceVpnTunnel"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ReplaceVpnTunnel")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ReplaceVpnTunnel")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ReplaceVpnTunnel');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReplaceVpnTunnel',
params: {VpnConnectionId: '', VpnTunnelOutsideIpAddress: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ReplaceVpnTunnel';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ReplaceVpnTunnel',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ReplaceVpnTunnel")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReplaceVpnTunnel',
qs: {VpnConnectionId: '', VpnTunnelOutsideIpAddress: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ReplaceVpnTunnel');
req.query({
VpnConnectionId: '',
VpnTunnelOutsideIpAddress: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReplaceVpnTunnel',
params: {VpnConnectionId: '', VpnTunnelOutsideIpAddress: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ReplaceVpnTunnel';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ReplaceVpnTunnel"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ReplaceVpnTunnel" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ReplaceVpnTunnel",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ReplaceVpnTunnel');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ReplaceVpnTunnel');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'VpnConnectionId' => '',
'VpnTunnelOutsideIpAddress' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ReplaceVpnTunnel');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'VpnConnectionId' => '',
'VpnTunnelOutsideIpAddress' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ReplaceVpnTunnel' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ReplaceVpnTunnel' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ReplaceVpnTunnel"
querystring = {"VpnConnectionId":"","VpnTunnelOutsideIpAddress":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ReplaceVpnTunnel"
queryString <- list(
VpnConnectionId = "",
VpnTunnelOutsideIpAddress = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ReplaceVpnTunnel")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['VpnConnectionId'] = ''
req.params['VpnTunnelOutsideIpAddress'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ReplaceVpnTunnel";
let querystring = [
("VpnConnectionId", ""),
("VpnTunnelOutsideIpAddress", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ReplaceVpnTunnel'
http GET '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ReplaceVpnTunnel'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ReplaceVpnTunnel'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?VpnConnectionId=&VpnTunnelOutsideIpAddress=&Action=&Version=#Action=ReplaceVpnTunnel")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ReportInstanceStatus
{{baseUrl}}/#Action=ReportInstanceStatus
QUERY PARAMS
InstanceId
ReasonCode
Status
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceId=&ReasonCode=&Status=&Action=&Version=#Action=ReportInstanceStatus");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ReportInstanceStatus" {:query-params {:InstanceId ""
:ReasonCode ""
:Status ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceId=&ReasonCode=&Status=&Action=&Version=#Action=ReportInstanceStatus"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceId=&ReasonCode=&Status=&Action=&Version=#Action=ReportInstanceStatus"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceId=&ReasonCode=&Status=&Action=&Version=#Action=ReportInstanceStatus");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceId=&ReasonCode=&Status=&Action=&Version=#Action=ReportInstanceStatus"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceId=&ReasonCode=&Status=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceId=&ReasonCode=&Status=&Action=&Version=#Action=ReportInstanceStatus")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceId=&ReasonCode=&Status=&Action=&Version=#Action=ReportInstanceStatus"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceId=&ReasonCode=&Status=&Action=&Version=#Action=ReportInstanceStatus")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceId=&ReasonCode=&Status=&Action=&Version=#Action=ReportInstanceStatus")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceId=&ReasonCode=&Status=&Action=&Version=#Action=ReportInstanceStatus');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReportInstanceStatus',
params: {InstanceId: '', ReasonCode: '', Status: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceId=&ReasonCode=&Status=&Action=&Version=#Action=ReportInstanceStatus';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceId=&ReasonCode=&Status=&Action=&Version=#Action=ReportInstanceStatus',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceId=&ReasonCode=&Status=&Action=&Version=#Action=ReportInstanceStatus")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceId=&ReasonCode=&Status=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReportInstanceStatus',
qs: {InstanceId: '', ReasonCode: '', Status: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ReportInstanceStatus');
req.query({
InstanceId: '',
ReasonCode: '',
Status: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ReportInstanceStatus',
params: {InstanceId: '', ReasonCode: '', Status: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceId=&ReasonCode=&Status=&Action=&Version=#Action=ReportInstanceStatus';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceId=&ReasonCode=&Status=&Action=&Version=#Action=ReportInstanceStatus"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceId=&ReasonCode=&Status=&Action=&Version=#Action=ReportInstanceStatus" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceId=&ReasonCode=&Status=&Action=&Version=#Action=ReportInstanceStatus",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceId=&ReasonCode=&Status=&Action=&Version=#Action=ReportInstanceStatus');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ReportInstanceStatus');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceId' => '',
'ReasonCode' => '',
'Status' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ReportInstanceStatus');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceId' => '',
'ReasonCode' => '',
'Status' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceId=&ReasonCode=&Status=&Action=&Version=#Action=ReportInstanceStatus' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceId=&ReasonCode=&Status=&Action=&Version=#Action=ReportInstanceStatus' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceId=&ReasonCode=&Status=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ReportInstanceStatus"
querystring = {"InstanceId":"","ReasonCode":"","Status":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ReportInstanceStatus"
queryString <- list(
InstanceId = "",
ReasonCode = "",
Status = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceId=&ReasonCode=&Status=&Action=&Version=#Action=ReportInstanceStatus")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceId'] = ''
req.params['ReasonCode'] = ''
req.params['Status'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ReportInstanceStatus";
let querystring = [
("InstanceId", ""),
("ReasonCode", ""),
("Status", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceId=&ReasonCode=&Status=&Action=&Version=#Action=ReportInstanceStatus'
http GET '{{baseUrl}}/?InstanceId=&ReasonCode=&Status=&Action=&Version=#Action=ReportInstanceStatus'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceId=&ReasonCode=&Status=&Action=&Version=#Action=ReportInstanceStatus'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceId=&ReasonCode=&Status=&Action=&Version=#Action=ReportInstanceStatus")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_RequestSpotFleet
{{baseUrl}}/#Action=RequestSpotFleet
QUERY PARAMS
SpotFleetRequestConfig
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?SpotFleetRequestConfig=&Action=&Version=#Action=RequestSpotFleet");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=RequestSpotFleet" {:query-params {:SpotFleetRequestConfig ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?SpotFleetRequestConfig=&Action=&Version=#Action=RequestSpotFleet"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?SpotFleetRequestConfig=&Action=&Version=#Action=RequestSpotFleet"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?SpotFleetRequestConfig=&Action=&Version=#Action=RequestSpotFleet");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?SpotFleetRequestConfig=&Action=&Version=#Action=RequestSpotFleet"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?SpotFleetRequestConfig=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?SpotFleetRequestConfig=&Action=&Version=#Action=RequestSpotFleet")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?SpotFleetRequestConfig=&Action=&Version=#Action=RequestSpotFleet"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?SpotFleetRequestConfig=&Action=&Version=#Action=RequestSpotFleet")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?SpotFleetRequestConfig=&Action=&Version=#Action=RequestSpotFleet")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?SpotFleetRequestConfig=&Action=&Version=#Action=RequestSpotFleet');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RequestSpotFleet',
params: {SpotFleetRequestConfig: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?SpotFleetRequestConfig=&Action=&Version=#Action=RequestSpotFleet';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?SpotFleetRequestConfig=&Action=&Version=#Action=RequestSpotFleet',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?SpotFleetRequestConfig=&Action=&Version=#Action=RequestSpotFleet")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?SpotFleetRequestConfig=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RequestSpotFleet',
qs: {SpotFleetRequestConfig: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=RequestSpotFleet');
req.query({
SpotFleetRequestConfig: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RequestSpotFleet',
params: {SpotFleetRequestConfig: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?SpotFleetRequestConfig=&Action=&Version=#Action=RequestSpotFleet';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?SpotFleetRequestConfig=&Action=&Version=#Action=RequestSpotFleet"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?SpotFleetRequestConfig=&Action=&Version=#Action=RequestSpotFleet" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?SpotFleetRequestConfig=&Action=&Version=#Action=RequestSpotFleet",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?SpotFleetRequestConfig=&Action=&Version=#Action=RequestSpotFleet');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RequestSpotFleet');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'SpotFleetRequestConfig' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RequestSpotFleet');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'SpotFleetRequestConfig' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?SpotFleetRequestConfig=&Action=&Version=#Action=RequestSpotFleet' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?SpotFleetRequestConfig=&Action=&Version=#Action=RequestSpotFleet' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?SpotFleetRequestConfig=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RequestSpotFleet"
querystring = {"SpotFleetRequestConfig":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RequestSpotFleet"
queryString <- list(
SpotFleetRequestConfig = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?SpotFleetRequestConfig=&Action=&Version=#Action=RequestSpotFleet")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['SpotFleetRequestConfig'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RequestSpotFleet";
let querystring = [
("SpotFleetRequestConfig", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?SpotFleetRequestConfig=&Action=&Version=#Action=RequestSpotFleet'
http GET '{{baseUrl}}/?SpotFleetRequestConfig=&Action=&Version=#Action=RequestSpotFleet'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?SpotFleetRequestConfig=&Action=&Version=#Action=RequestSpotFleet'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?SpotFleetRequestConfig=&Action=&Version=#Action=RequestSpotFleet")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE"
}
GET
GET_RequestSpotInstances
{{baseUrl}}/#Action=RequestSpotInstances
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=RequestSpotInstances" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RequestSpotInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RequestSpotInstances',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=RequestSpotInstances');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RequestSpotInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RequestSpotInstances');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RequestSpotInstances');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RequestSpotInstances"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RequestSpotInstances"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RequestSpotInstances";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances'
http GET '{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ResetAddressAttribute
{{baseUrl}}/#Action=ResetAddressAttribute
QUERY PARAMS
AllocationId
Attribute
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?AllocationId=&Attribute=&Action=&Version=#Action=ResetAddressAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ResetAddressAttribute" {:query-params {:AllocationId ""
:Attribute ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?AllocationId=&Attribute=&Action=&Version=#Action=ResetAddressAttribute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?AllocationId=&Attribute=&Action=&Version=#Action=ResetAddressAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?AllocationId=&Attribute=&Action=&Version=#Action=ResetAddressAttribute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?AllocationId=&Attribute=&Action=&Version=#Action=ResetAddressAttribute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?AllocationId=&Attribute=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?AllocationId=&Attribute=&Action=&Version=#Action=ResetAddressAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?AllocationId=&Attribute=&Action=&Version=#Action=ResetAddressAttribute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?AllocationId=&Attribute=&Action=&Version=#Action=ResetAddressAttribute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?AllocationId=&Attribute=&Action=&Version=#Action=ResetAddressAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?AllocationId=&Attribute=&Action=&Version=#Action=ResetAddressAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ResetAddressAttribute',
params: {AllocationId: '', Attribute: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?AllocationId=&Attribute=&Action=&Version=#Action=ResetAddressAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?AllocationId=&Attribute=&Action=&Version=#Action=ResetAddressAttribute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?AllocationId=&Attribute=&Action=&Version=#Action=ResetAddressAttribute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?AllocationId=&Attribute=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ResetAddressAttribute',
qs: {AllocationId: '', Attribute: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ResetAddressAttribute');
req.query({
AllocationId: '',
Attribute: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ResetAddressAttribute',
params: {AllocationId: '', Attribute: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?AllocationId=&Attribute=&Action=&Version=#Action=ResetAddressAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?AllocationId=&Attribute=&Action=&Version=#Action=ResetAddressAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?AllocationId=&Attribute=&Action=&Version=#Action=ResetAddressAttribute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?AllocationId=&Attribute=&Action=&Version=#Action=ResetAddressAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?AllocationId=&Attribute=&Action=&Version=#Action=ResetAddressAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ResetAddressAttribute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'AllocationId' => '',
'Attribute' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ResetAddressAttribute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'AllocationId' => '',
'Attribute' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?AllocationId=&Attribute=&Action=&Version=#Action=ResetAddressAttribute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?AllocationId=&Attribute=&Action=&Version=#Action=ResetAddressAttribute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?AllocationId=&Attribute=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ResetAddressAttribute"
querystring = {"AllocationId":"","Attribute":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ResetAddressAttribute"
queryString <- list(
AllocationId = "",
Attribute = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?AllocationId=&Attribute=&Action=&Version=#Action=ResetAddressAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['AllocationId'] = ''
req.params['Attribute'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ResetAddressAttribute";
let querystring = [
("AllocationId", ""),
("Attribute", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?AllocationId=&Attribute=&Action=&Version=#Action=ResetAddressAttribute'
http GET '{{baseUrl}}/?AllocationId=&Attribute=&Action=&Version=#Action=ResetAddressAttribute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?AllocationId=&Attribute=&Action=&Version=#Action=ResetAddressAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?AllocationId=&Attribute=&Action=&Version=#Action=ResetAddressAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ResetEbsDefaultKmsKeyId
{{baseUrl}}/#Action=ResetEbsDefaultKmsKeyId
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ResetEbsDefaultKmsKeyId" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ResetEbsDefaultKmsKeyId',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ResetEbsDefaultKmsKeyId',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ResetEbsDefaultKmsKeyId');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ResetEbsDefaultKmsKeyId',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ResetEbsDefaultKmsKeyId');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ResetEbsDefaultKmsKeyId');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ResetEbsDefaultKmsKeyId"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ResetEbsDefaultKmsKeyId"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ResetEbsDefaultKmsKeyId";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId'
http GET '{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ResetFpgaImageAttribute
{{baseUrl}}/#Action=ResetFpgaImageAttribute
QUERY PARAMS
FpgaImageId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ResetFpgaImageAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ResetFpgaImageAttribute" {:query-params {:FpgaImageId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ResetFpgaImageAttribute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ResetFpgaImageAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ResetFpgaImageAttribute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ResetFpgaImageAttribute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?FpgaImageId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ResetFpgaImageAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ResetFpgaImageAttribute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ResetFpgaImageAttribute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ResetFpgaImageAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ResetFpgaImageAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ResetFpgaImageAttribute',
params: {FpgaImageId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ResetFpgaImageAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ResetFpgaImageAttribute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ResetFpgaImageAttribute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?FpgaImageId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ResetFpgaImageAttribute',
qs: {FpgaImageId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ResetFpgaImageAttribute');
req.query({
FpgaImageId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ResetFpgaImageAttribute',
params: {FpgaImageId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ResetFpgaImageAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ResetFpgaImageAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ResetFpgaImageAttribute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ResetFpgaImageAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ResetFpgaImageAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ResetFpgaImageAttribute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'FpgaImageId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ResetFpgaImageAttribute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'FpgaImageId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ResetFpgaImageAttribute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ResetFpgaImageAttribute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?FpgaImageId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ResetFpgaImageAttribute"
querystring = {"FpgaImageId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ResetFpgaImageAttribute"
queryString <- list(
FpgaImageId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ResetFpgaImageAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['FpgaImageId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ResetFpgaImageAttribute";
let querystring = [
("FpgaImageId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ResetFpgaImageAttribute'
http GET '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ResetFpgaImageAttribute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ResetFpgaImageAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?FpgaImageId=&Action=&Version=#Action=ResetFpgaImageAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ResetImageAttribute
{{baseUrl}}/#Action=ResetImageAttribute
QUERY PARAMS
Attribute
ImageId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=ResetImageAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ResetImageAttribute" {:query-params {:Attribute ""
:ImageId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=ResetImageAttribute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=ResetImageAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=ResetImageAttribute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=ResetImageAttribute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Attribute=&ImageId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=ResetImageAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=ResetImageAttribute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=ResetImageAttribute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=ResetImageAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=ResetImageAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ResetImageAttribute',
params: {Attribute: '', ImageId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=ResetImageAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=ResetImageAttribute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=ResetImageAttribute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Attribute=&ImageId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ResetImageAttribute',
qs: {Attribute: '', ImageId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ResetImageAttribute');
req.query({
Attribute: '',
ImageId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ResetImageAttribute',
params: {Attribute: '', ImageId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=ResetImageAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=ResetImageAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=ResetImageAttribute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=ResetImageAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=ResetImageAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ResetImageAttribute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Attribute' => '',
'ImageId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ResetImageAttribute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Attribute' => '',
'ImageId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=ResetImageAttribute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=ResetImageAttribute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Attribute=&ImageId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ResetImageAttribute"
querystring = {"Attribute":"","ImageId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ResetImageAttribute"
queryString <- list(
Attribute = "",
ImageId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=ResetImageAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Attribute'] = ''
req.params['ImageId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ResetImageAttribute";
let querystring = [
("Attribute", ""),
("ImageId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=ResetImageAttribute'
http GET '{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=ResetImageAttribute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=ResetImageAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Attribute=&ImageId=&Action=&Version=#Action=ResetImageAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ResetInstanceAttribute
{{baseUrl}}/#Action=ResetInstanceAttribute
QUERY PARAMS
Attribute
InstanceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=ResetInstanceAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ResetInstanceAttribute" {:query-params {:Attribute ""
:InstanceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=ResetInstanceAttribute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=ResetInstanceAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=ResetInstanceAttribute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=ResetInstanceAttribute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Attribute=&InstanceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=ResetInstanceAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=ResetInstanceAttribute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=ResetInstanceAttribute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=ResetInstanceAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=ResetInstanceAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ResetInstanceAttribute',
params: {Attribute: '', InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=ResetInstanceAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=ResetInstanceAttribute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=ResetInstanceAttribute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Attribute=&InstanceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ResetInstanceAttribute',
qs: {Attribute: '', InstanceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ResetInstanceAttribute');
req.query({
Attribute: '',
InstanceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ResetInstanceAttribute',
params: {Attribute: '', InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=ResetInstanceAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=ResetInstanceAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=ResetInstanceAttribute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=ResetInstanceAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=ResetInstanceAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ResetInstanceAttribute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Attribute' => '',
'InstanceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ResetInstanceAttribute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Attribute' => '',
'InstanceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=ResetInstanceAttribute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=ResetInstanceAttribute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Attribute=&InstanceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ResetInstanceAttribute"
querystring = {"Attribute":"","InstanceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ResetInstanceAttribute"
queryString <- list(
Attribute = "",
InstanceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=ResetInstanceAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Attribute'] = ''
req.params['InstanceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ResetInstanceAttribute";
let querystring = [
("Attribute", ""),
("InstanceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=ResetInstanceAttribute'
http GET '{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=ResetInstanceAttribute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=ResetInstanceAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Attribute=&InstanceId=&Action=&Version=#Action=ResetInstanceAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ResetNetworkInterfaceAttribute
{{baseUrl}}/#Action=ResetNetworkInterfaceAttribute
QUERY PARAMS
NetworkInterfaceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ResetNetworkInterfaceAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ResetNetworkInterfaceAttribute" {:query-params {:NetworkInterfaceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ResetNetworkInterfaceAttribute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ResetNetworkInterfaceAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ResetNetworkInterfaceAttribute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ResetNetworkInterfaceAttribute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?NetworkInterfaceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ResetNetworkInterfaceAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ResetNetworkInterfaceAttribute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ResetNetworkInterfaceAttribute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ResetNetworkInterfaceAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ResetNetworkInterfaceAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ResetNetworkInterfaceAttribute',
params: {NetworkInterfaceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ResetNetworkInterfaceAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ResetNetworkInterfaceAttribute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ResetNetworkInterfaceAttribute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?NetworkInterfaceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ResetNetworkInterfaceAttribute',
qs: {NetworkInterfaceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ResetNetworkInterfaceAttribute');
req.query({
NetworkInterfaceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ResetNetworkInterfaceAttribute',
params: {NetworkInterfaceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ResetNetworkInterfaceAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ResetNetworkInterfaceAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ResetNetworkInterfaceAttribute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ResetNetworkInterfaceAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ResetNetworkInterfaceAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ResetNetworkInterfaceAttribute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'NetworkInterfaceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ResetNetworkInterfaceAttribute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'NetworkInterfaceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ResetNetworkInterfaceAttribute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ResetNetworkInterfaceAttribute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?NetworkInterfaceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ResetNetworkInterfaceAttribute"
querystring = {"NetworkInterfaceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ResetNetworkInterfaceAttribute"
queryString <- list(
NetworkInterfaceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ResetNetworkInterfaceAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['NetworkInterfaceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ResetNetworkInterfaceAttribute";
let querystring = [
("NetworkInterfaceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ResetNetworkInterfaceAttribute'
http GET '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ResetNetworkInterfaceAttribute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ResetNetworkInterfaceAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=ResetNetworkInterfaceAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_ResetSnapshotAttribute
{{baseUrl}}/#Action=ResetSnapshotAttribute
QUERY PARAMS
Attribute
SnapshotId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=ResetSnapshotAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=ResetSnapshotAttribute" {:query-params {:Attribute ""
:SnapshotId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=ResetSnapshotAttribute"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=ResetSnapshotAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=ResetSnapshotAttribute");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=ResetSnapshotAttribute"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Attribute=&SnapshotId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=ResetSnapshotAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=ResetSnapshotAttribute"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=ResetSnapshotAttribute")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=ResetSnapshotAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=ResetSnapshotAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ResetSnapshotAttribute',
params: {Attribute: '', SnapshotId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=ResetSnapshotAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=ResetSnapshotAttribute',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=ResetSnapshotAttribute")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Attribute=&SnapshotId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ResetSnapshotAttribute',
qs: {Attribute: '', SnapshotId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=ResetSnapshotAttribute');
req.query({
Attribute: '',
SnapshotId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=ResetSnapshotAttribute',
params: {Attribute: '', SnapshotId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=ResetSnapshotAttribute';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=ResetSnapshotAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=ResetSnapshotAttribute" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=ResetSnapshotAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=ResetSnapshotAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ResetSnapshotAttribute');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Attribute' => '',
'SnapshotId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ResetSnapshotAttribute');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Attribute' => '',
'SnapshotId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=ResetSnapshotAttribute' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=ResetSnapshotAttribute' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Attribute=&SnapshotId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ResetSnapshotAttribute"
querystring = {"Attribute":"","SnapshotId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ResetSnapshotAttribute"
queryString <- list(
Attribute = "",
SnapshotId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=ResetSnapshotAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Attribute'] = ''
req.params['SnapshotId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ResetSnapshotAttribute";
let querystring = [
("Attribute", ""),
("SnapshotId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=ResetSnapshotAttribute'
http GET '{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=ResetSnapshotAttribute'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=ResetSnapshotAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Attribute=&SnapshotId=&Action=&Version=#Action=ResetSnapshotAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_RestoreAddressToClassic
{{baseUrl}}/#Action=RestoreAddressToClassic
QUERY PARAMS
PublicIp
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?PublicIp=&Action=&Version=#Action=RestoreAddressToClassic");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=RestoreAddressToClassic" {:query-params {:PublicIp ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?PublicIp=&Action=&Version=#Action=RestoreAddressToClassic"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?PublicIp=&Action=&Version=#Action=RestoreAddressToClassic"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?PublicIp=&Action=&Version=#Action=RestoreAddressToClassic");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?PublicIp=&Action=&Version=#Action=RestoreAddressToClassic"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?PublicIp=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?PublicIp=&Action=&Version=#Action=RestoreAddressToClassic")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?PublicIp=&Action=&Version=#Action=RestoreAddressToClassic"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?PublicIp=&Action=&Version=#Action=RestoreAddressToClassic")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?PublicIp=&Action=&Version=#Action=RestoreAddressToClassic")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?PublicIp=&Action=&Version=#Action=RestoreAddressToClassic');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RestoreAddressToClassic',
params: {PublicIp: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?PublicIp=&Action=&Version=#Action=RestoreAddressToClassic';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?PublicIp=&Action=&Version=#Action=RestoreAddressToClassic',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?PublicIp=&Action=&Version=#Action=RestoreAddressToClassic")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?PublicIp=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RestoreAddressToClassic',
qs: {PublicIp: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=RestoreAddressToClassic');
req.query({
PublicIp: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RestoreAddressToClassic',
params: {PublicIp: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?PublicIp=&Action=&Version=#Action=RestoreAddressToClassic';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?PublicIp=&Action=&Version=#Action=RestoreAddressToClassic"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?PublicIp=&Action=&Version=#Action=RestoreAddressToClassic" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?PublicIp=&Action=&Version=#Action=RestoreAddressToClassic",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?PublicIp=&Action=&Version=#Action=RestoreAddressToClassic');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RestoreAddressToClassic');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'PublicIp' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RestoreAddressToClassic');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'PublicIp' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?PublicIp=&Action=&Version=#Action=RestoreAddressToClassic' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?PublicIp=&Action=&Version=#Action=RestoreAddressToClassic' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?PublicIp=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RestoreAddressToClassic"
querystring = {"PublicIp":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RestoreAddressToClassic"
queryString <- list(
PublicIp = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?PublicIp=&Action=&Version=#Action=RestoreAddressToClassic")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['PublicIp'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RestoreAddressToClassic";
let querystring = [
("PublicIp", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?PublicIp=&Action=&Version=#Action=RestoreAddressToClassic'
http GET '{{baseUrl}}/?PublicIp=&Action=&Version=#Action=RestoreAddressToClassic'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?PublicIp=&Action=&Version=#Action=RestoreAddressToClassic'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?PublicIp=&Action=&Version=#Action=RestoreAddressToClassic")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"PublicIp": "198.51.100.0",
"Status": "MoveInProgress"
}
GET
GET_RestoreImageFromRecycleBin
{{baseUrl}}/#Action=RestoreImageFromRecycleBin
QUERY PARAMS
ImageId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ImageId=&Action=&Version=#Action=RestoreImageFromRecycleBin");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=RestoreImageFromRecycleBin" {:query-params {:ImageId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ImageId=&Action=&Version=#Action=RestoreImageFromRecycleBin"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ImageId=&Action=&Version=#Action=RestoreImageFromRecycleBin"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ImageId=&Action=&Version=#Action=RestoreImageFromRecycleBin");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ImageId=&Action=&Version=#Action=RestoreImageFromRecycleBin"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ImageId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ImageId=&Action=&Version=#Action=RestoreImageFromRecycleBin")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ImageId=&Action=&Version=#Action=RestoreImageFromRecycleBin"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ImageId=&Action=&Version=#Action=RestoreImageFromRecycleBin")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ImageId=&Action=&Version=#Action=RestoreImageFromRecycleBin")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ImageId=&Action=&Version=#Action=RestoreImageFromRecycleBin');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RestoreImageFromRecycleBin',
params: {ImageId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ImageId=&Action=&Version=#Action=RestoreImageFromRecycleBin';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ImageId=&Action=&Version=#Action=RestoreImageFromRecycleBin',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ImageId=&Action=&Version=#Action=RestoreImageFromRecycleBin")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ImageId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RestoreImageFromRecycleBin',
qs: {ImageId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=RestoreImageFromRecycleBin');
req.query({
ImageId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RestoreImageFromRecycleBin',
params: {ImageId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ImageId=&Action=&Version=#Action=RestoreImageFromRecycleBin';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ImageId=&Action=&Version=#Action=RestoreImageFromRecycleBin"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ImageId=&Action=&Version=#Action=RestoreImageFromRecycleBin" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ImageId=&Action=&Version=#Action=RestoreImageFromRecycleBin",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ImageId=&Action=&Version=#Action=RestoreImageFromRecycleBin');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RestoreImageFromRecycleBin');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ImageId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RestoreImageFromRecycleBin');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ImageId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ImageId=&Action=&Version=#Action=RestoreImageFromRecycleBin' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ImageId=&Action=&Version=#Action=RestoreImageFromRecycleBin' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ImageId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RestoreImageFromRecycleBin"
querystring = {"ImageId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RestoreImageFromRecycleBin"
queryString <- list(
ImageId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ImageId=&Action=&Version=#Action=RestoreImageFromRecycleBin")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ImageId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RestoreImageFromRecycleBin";
let querystring = [
("ImageId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ImageId=&Action=&Version=#Action=RestoreImageFromRecycleBin'
http GET '{{baseUrl}}/?ImageId=&Action=&Version=#Action=RestoreImageFromRecycleBin'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ImageId=&Action=&Version=#Action=RestoreImageFromRecycleBin'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ImageId=&Action=&Version=#Action=RestoreImageFromRecycleBin")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_RestoreManagedPrefixListVersion
{{baseUrl}}/#Action=RestoreManagedPrefixListVersion
QUERY PARAMS
PrefixListId
PreviousVersion
CurrentVersion
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?PrefixListId=&PreviousVersion=&CurrentVersion=&Action=&Version=#Action=RestoreManagedPrefixListVersion");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=RestoreManagedPrefixListVersion" {:query-params {:PrefixListId ""
:PreviousVersion ""
:CurrentVersion ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?PrefixListId=&PreviousVersion=&CurrentVersion=&Action=&Version=#Action=RestoreManagedPrefixListVersion"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?PrefixListId=&PreviousVersion=&CurrentVersion=&Action=&Version=#Action=RestoreManagedPrefixListVersion"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?PrefixListId=&PreviousVersion=&CurrentVersion=&Action=&Version=#Action=RestoreManagedPrefixListVersion");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?PrefixListId=&PreviousVersion=&CurrentVersion=&Action=&Version=#Action=RestoreManagedPrefixListVersion"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?PrefixListId=&PreviousVersion=&CurrentVersion=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?PrefixListId=&PreviousVersion=&CurrentVersion=&Action=&Version=#Action=RestoreManagedPrefixListVersion")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?PrefixListId=&PreviousVersion=&CurrentVersion=&Action=&Version=#Action=RestoreManagedPrefixListVersion"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?PrefixListId=&PreviousVersion=&CurrentVersion=&Action=&Version=#Action=RestoreManagedPrefixListVersion")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?PrefixListId=&PreviousVersion=&CurrentVersion=&Action=&Version=#Action=RestoreManagedPrefixListVersion")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?PrefixListId=&PreviousVersion=&CurrentVersion=&Action=&Version=#Action=RestoreManagedPrefixListVersion');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RestoreManagedPrefixListVersion',
params: {
PrefixListId: '',
PreviousVersion: '',
CurrentVersion: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?PrefixListId=&PreviousVersion=&CurrentVersion=&Action=&Version=#Action=RestoreManagedPrefixListVersion';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?PrefixListId=&PreviousVersion=&CurrentVersion=&Action=&Version=#Action=RestoreManagedPrefixListVersion',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?PrefixListId=&PreviousVersion=&CurrentVersion=&Action=&Version=#Action=RestoreManagedPrefixListVersion")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?PrefixListId=&PreviousVersion=&CurrentVersion=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RestoreManagedPrefixListVersion',
qs: {
PrefixListId: '',
PreviousVersion: '',
CurrentVersion: '',
Action: '',
Version: ''
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=RestoreManagedPrefixListVersion');
req.query({
PrefixListId: '',
PreviousVersion: '',
CurrentVersion: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RestoreManagedPrefixListVersion',
params: {
PrefixListId: '',
PreviousVersion: '',
CurrentVersion: '',
Action: '',
Version: ''
}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?PrefixListId=&PreviousVersion=&CurrentVersion=&Action=&Version=#Action=RestoreManagedPrefixListVersion';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?PrefixListId=&PreviousVersion=&CurrentVersion=&Action=&Version=#Action=RestoreManagedPrefixListVersion"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?PrefixListId=&PreviousVersion=&CurrentVersion=&Action=&Version=#Action=RestoreManagedPrefixListVersion" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?PrefixListId=&PreviousVersion=&CurrentVersion=&Action=&Version=#Action=RestoreManagedPrefixListVersion",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?PrefixListId=&PreviousVersion=&CurrentVersion=&Action=&Version=#Action=RestoreManagedPrefixListVersion');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RestoreManagedPrefixListVersion');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'PrefixListId' => '',
'PreviousVersion' => '',
'CurrentVersion' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RestoreManagedPrefixListVersion');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'PrefixListId' => '',
'PreviousVersion' => '',
'CurrentVersion' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?PrefixListId=&PreviousVersion=&CurrentVersion=&Action=&Version=#Action=RestoreManagedPrefixListVersion' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?PrefixListId=&PreviousVersion=&CurrentVersion=&Action=&Version=#Action=RestoreManagedPrefixListVersion' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?PrefixListId=&PreviousVersion=&CurrentVersion=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RestoreManagedPrefixListVersion"
querystring = {"PrefixListId":"","PreviousVersion":"","CurrentVersion":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RestoreManagedPrefixListVersion"
queryString <- list(
PrefixListId = "",
PreviousVersion = "",
CurrentVersion = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?PrefixListId=&PreviousVersion=&CurrentVersion=&Action=&Version=#Action=RestoreManagedPrefixListVersion")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['PrefixListId'] = ''
req.params['PreviousVersion'] = ''
req.params['CurrentVersion'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RestoreManagedPrefixListVersion";
let querystring = [
("PrefixListId", ""),
("PreviousVersion", ""),
("CurrentVersion", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?PrefixListId=&PreviousVersion=&CurrentVersion=&Action=&Version=#Action=RestoreManagedPrefixListVersion'
http GET '{{baseUrl}}/?PrefixListId=&PreviousVersion=&CurrentVersion=&Action=&Version=#Action=RestoreManagedPrefixListVersion'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?PrefixListId=&PreviousVersion=&CurrentVersion=&Action=&Version=#Action=RestoreManagedPrefixListVersion'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?PrefixListId=&PreviousVersion=&CurrentVersion=&Action=&Version=#Action=RestoreManagedPrefixListVersion")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_RestoreSnapshotFromRecycleBin
{{baseUrl}}/#Action=RestoreSnapshotFromRecycleBin
QUERY PARAMS
SnapshotId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotFromRecycleBin");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=RestoreSnapshotFromRecycleBin" {:query-params {:SnapshotId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotFromRecycleBin"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotFromRecycleBin"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotFromRecycleBin");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotFromRecycleBin"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?SnapshotId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotFromRecycleBin")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotFromRecycleBin"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotFromRecycleBin")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotFromRecycleBin")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotFromRecycleBin');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RestoreSnapshotFromRecycleBin',
params: {SnapshotId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotFromRecycleBin';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotFromRecycleBin',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotFromRecycleBin")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?SnapshotId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RestoreSnapshotFromRecycleBin',
qs: {SnapshotId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=RestoreSnapshotFromRecycleBin');
req.query({
SnapshotId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RestoreSnapshotFromRecycleBin',
params: {SnapshotId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotFromRecycleBin';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotFromRecycleBin"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotFromRecycleBin" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotFromRecycleBin",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotFromRecycleBin');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RestoreSnapshotFromRecycleBin');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'SnapshotId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RestoreSnapshotFromRecycleBin');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'SnapshotId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotFromRecycleBin' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotFromRecycleBin' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?SnapshotId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RestoreSnapshotFromRecycleBin"
querystring = {"SnapshotId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RestoreSnapshotFromRecycleBin"
queryString <- list(
SnapshotId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotFromRecycleBin")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['SnapshotId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RestoreSnapshotFromRecycleBin";
let querystring = [
("SnapshotId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotFromRecycleBin'
http GET '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotFromRecycleBin'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotFromRecycleBin'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotFromRecycleBin")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_RestoreSnapshotTier
{{baseUrl}}/#Action=RestoreSnapshotTier
QUERY PARAMS
SnapshotId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotTier");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=RestoreSnapshotTier" {:query-params {:SnapshotId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotTier"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotTier"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotTier");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotTier"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?SnapshotId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotTier")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotTier"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotTier")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotTier")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotTier');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RestoreSnapshotTier',
params: {SnapshotId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotTier';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotTier',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotTier")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?SnapshotId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RestoreSnapshotTier',
qs: {SnapshotId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=RestoreSnapshotTier');
req.query({
SnapshotId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RestoreSnapshotTier',
params: {SnapshotId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotTier';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotTier"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotTier" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotTier",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotTier');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RestoreSnapshotTier');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'SnapshotId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RestoreSnapshotTier');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'SnapshotId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotTier' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotTier' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?SnapshotId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RestoreSnapshotTier"
querystring = {"SnapshotId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RestoreSnapshotTier"
queryString <- list(
SnapshotId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotTier")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['SnapshotId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RestoreSnapshotTier";
let querystring = [
("SnapshotId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotTier'
http GET '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotTier'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotTier'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?SnapshotId=&Action=&Version=#Action=RestoreSnapshotTier")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_RevokeClientVpnIngress
{{baseUrl}}/#Action=RevokeClientVpnIngress
QUERY PARAMS
ClientVpnEndpointId
TargetNetworkCidr
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=RevokeClientVpnIngress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=RevokeClientVpnIngress" {:query-params {:ClientVpnEndpointId ""
:TargetNetworkCidr ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=RevokeClientVpnIngress"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=RevokeClientVpnIngress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=RevokeClientVpnIngress");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=RevokeClientVpnIngress"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=RevokeClientVpnIngress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=RevokeClientVpnIngress"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=RevokeClientVpnIngress")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=RevokeClientVpnIngress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=RevokeClientVpnIngress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RevokeClientVpnIngress',
params: {ClientVpnEndpointId: '', TargetNetworkCidr: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=RevokeClientVpnIngress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=RevokeClientVpnIngress',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=RevokeClientVpnIngress")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RevokeClientVpnIngress',
qs: {ClientVpnEndpointId: '', TargetNetworkCidr: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=RevokeClientVpnIngress');
req.query({
ClientVpnEndpointId: '',
TargetNetworkCidr: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RevokeClientVpnIngress',
params: {ClientVpnEndpointId: '', TargetNetworkCidr: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=RevokeClientVpnIngress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=RevokeClientVpnIngress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=RevokeClientVpnIngress" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=RevokeClientVpnIngress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=RevokeClientVpnIngress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RevokeClientVpnIngress');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ClientVpnEndpointId' => '',
'TargetNetworkCidr' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RevokeClientVpnIngress');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ClientVpnEndpointId' => '',
'TargetNetworkCidr' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=RevokeClientVpnIngress' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=RevokeClientVpnIngress' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RevokeClientVpnIngress"
querystring = {"ClientVpnEndpointId":"","TargetNetworkCidr":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RevokeClientVpnIngress"
queryString <- list(
ClientVpnEndpointId = "",
TargetNetworkCidr = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=RevokeClientVpnIngress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ClientVpnEndpointId'] = ''
req.params['TargetNetworkCidr'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RevokeClientVpnIngress";
let querystring = [
("ClientVpnEndpointId", ""),
("TargetNetworkCidr", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=RevokeClientVpnIngress'
http GET '{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=RevokeClientVpnIngress'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=RevokeClientVpnIngress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ClientVpnEndpointId=&TargetNetworkCidr=&Action=&Version=#Action=RevokeClientVpnIngress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_RevokeSecurityGroupEgress
{{baseUrl}}/#Action=RevokeSecurityGroupEgress
QUERY PARAMS
GroupId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?GroupId=&Action=&Version=#Action=RevokeSecurityGroupEgress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=RevokeSecurityGroupEgress" {:query-params {:GroupId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?GroupId=&Action=&Version=#Action=RevokeSecurityGroupEgress"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?GroupId=&Action=&Version=#Action=RevokeSecurityGroupEgress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?GroupId=&Action=&Version=#Action=RevokeSecurityGroupEgress");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?GroupId=&Action=&Version=#Action=RevokeSecurityGroupEgress"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?GroupId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?GroupId=&Action=&Version=#Action=RevokeSecurityGroupEgress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?GroupId=&Action=&Version=#Action=RevokeSecurityGroupEgress"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?GroupId=&Action=&Version=#Action=RevokeSecurityGroupEgress")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?GroupId=&Action=&Version=#Action=RevokeSecurityGroupEgress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?GroupId=&Action=&Version=#Action=RevokeSecurityGroupEgress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RevokeSecurityGroupEgress',
params: {GroupId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?GroupId=&Action=&Version=#Action=RevokeSecurityGroupEgress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?GroupId=&Action=&Version=#Action=RevokeSecurityGroupEgress',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?GroupId=&Action=&Version=#Action=RevokeSecurityGroupEgress")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?GroupId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RevokeSecurityGroupEgress',
qs: {GroupId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=RevokeSecurityGroupEgress');
req.query({
GroupId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RevokeSecurityGroupEgress',
params: {GroupId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?GroupId=&Action=&Version=#Action=RevokeSecurityGroupEgress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?GroupId=&Action=&Version=#Action=RevokeSecurityGroupEgress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?GroupId=&Action=&Version=#Action=RevokeSecurityGroupEgress" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?GroupId=&Action=&Version=#Action=RevokeSecurityGroupEgress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?GroupId=&Action=&Version=#Action=RevokeSecurityGroupEgress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RevokeSecurityGroupEgress');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'GroupId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RevokeSecurityGroupEgress');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'GroupId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?GroupId=&Action=&Version=#Action=RevokeSecurityGroupEgress' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?GroupId=&Action=&Version=#Action=RevokeSecurityGroupEgress' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?GroupId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RevokeSecurityGroupEgress"
querystring = {"GroupId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RevokeSecurityGroupEgress"
queryString <- list(
GroupId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?GroupId=&Action=&Version=#Action=RevokeSecurityGroupEgress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['GroupId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RevokeSecurityGroupEgress";
let querystring = [
("GroupId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?GroupId=&Action=&Version=#Action=RevokeSecurityGroupEgress'
http GET '{{baseUrl}}/?GroupId=&Action=&Version=#Action=RevokeSecurityGroupEgress'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?GroupId=&Action=&Version=#Action=RevokeSecurityGroupEgress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?GroupId=&Action=&Version=#Action=RevokeSecurityGroupEgress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_RevokeSecurityGroupIngress
{{baseUrl}}/#Action=RevokeSecurityGroupIngress
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=RevokeSecurityGroupIngress" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RevokeSecurityGroupIngress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RevokeSecurityGroupIngress',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=RevokeSecurityGroupIngress');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RevokeSecurityGroupIngress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RevokeSecurityGroupIngress');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RevokeSecurityGroupIngress');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RevokeSecurityGroupIngress"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RevokeSecurityGroupIngress"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RevokeSecurityGroupIngress";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress'
http GET '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_RunInstances
{{baseUrl}}/#Action=RunInstances
QUERY PARAMS
MaxCount
MinCount
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?MaxCount=&MinCount=&Action=&Version=#Action=RunInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=RunInstances" {:query-params {:MaxCount ""
:MinCount ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?MaxCount=&MinCount=&Action=&Version=#Action=RunInstances"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?MaxCount=&MinCount=&Action=&Version=#Action=RunInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?MaxCount=&MinCount=&Action=&Version=#Action=RunInstances");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?MaxCount=&MinCount=&Action=&Version=#Action=RunInstances"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?MaxCount=&MinCount=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?MaxCount=&MinCount=&Action=&Version=#Action=RunInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?MaxCount=&MinCount=&Action=&Version=#Action=RunInstances"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?MaxCount=&MinCount=&Action=&Version=#Action=RunInstances")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?MaxCount=&MinCount=&Action=&Version=#Action=RunInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?MaxCount=&MinCount=&Action=&Version=#Action=RunInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RunInstances',
params: {MaxCount: '', MinCount: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?MaxCount=&MinCount=&Action=&Version=#Action=RunInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?MaxCount=&MinCount=&Action=&Version=#Action=RunInstances',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?MaxCount=&MinCount=&Action=&Version=#Action=RunInstances")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?MaxCount=&MinCount=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RunInstances',
qs: {MaxCount: '', MinCount: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=RunInstances');
req.query({
MaxCount: '',
MinCount: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RunInstances',
params: {MaxCount: '', MinCount: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?MaxCount=&MinCount=&Action=&Version=#Action=RunInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?MaxCount=&MinCount=&Action=&Version=#Action=RunInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?MaxCount=&MinCount=&Action=&Version=#Action=RunInstances" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?MaxCount=&MinCount=&Action=&Version=#Action=RunInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?MaxCount=&MinCount=&Action=&Version=#Action=RunInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RunInstances');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'MaxCount' => '',
'MinCount' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RunInstances');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'MaxCount' => '',
'MinCount' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?MaxCount=&MinCount=&Action=&Version=#Action=RunInstances' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?MaxCount=&MinCount=&Action=&Version=#Action=RunInstances' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?MaxCount=&MinCount=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RunInstances"
querystring = {"MaxCount":"","MinCount":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RunInstances"
queryString <- list(
MaxCount = "",
MinCount = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?MaxCount=&MinCount=&Action=&Version=#Action=RunInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['MaxCount'] = ''
req.params['MinCount'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RunInstances";
let querystring = [
("MaxCount", ""),
("MinCount", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?MaxCount=&MinCount=&Action=&Version=#Action=RunInstances'
http GET '{{baseUrl}}/?MaxCount=&MinCount=&Action=&Version=#Action=RunInstances'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?MaxCount=&MinCount=&Action=&Version=#Action=RunInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?MaxCount=&MinCount=&Action=&Version=#Action=RunInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{}
GET
GET_RunScheduledInstances
{{baseUrl}}/#Action=RunScheduledInstances
QUERY PARAMS
LaunchSpecification
ScheduledInstanceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?LaunchSpecification=&ScheduledInstanceId=&Action=&Version=#Action=RunScheduledInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=RunScheduledInstances" {:query-params {:LaunchSpecification ""
:ScheduledInstanceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?LaunchSpecification=&ScheduledInstanceId=&Action=&Version=#Action=RunScheduledInstances"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?LaunchSpecification=&ScheduledInstanceId=&Action=&Version=#Action=RunScheduledInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?LaunchSpecification=&ScheduledInstanceId=&Action=&Version=#Action=RunScheduledInstances");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?LaunchSpecification=&ScheduledInstanceId=&Action=&Version=#Action=RunScheduledInstances"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?LaunchSpecification=&ScheduledInstanceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?LaunchSpecification=&ScheduledInstanceId=&Action=&Version=#Action=RunScheduledInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?LaunchSpecification=&ScheduledInstanceId=&Action=&Version=#Action=RunScheduledInstances"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?LaunchSpecification=&ScheduledInstanceId=&Action=&Version=#Action=RunScheduledInstances")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?LaunchSpecification=&ScheduledInstanceId=&Action=&Version=#Action=RunScheduledInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?LaunchSpecification=&ScheduledInstanceId=&Action=&Version=#Action=RunScheduledInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RunScheduledInstances',
params: {LaunchSpecification: '', ScheduledInstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?LaunchSpecification=&ScheduledInstanceId=&Action=&Version=#Action=RunScheduledInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?LaunchSpecification=&ScheduledInstanceId=&Action=&Version=#Action=RunScheduledInstances',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?LaunchSpecification=&ScheduledInstanceId=&Action=&Version=#Action=RunScheduledInstances")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?LaunchSpecification=&ScheduledInstanceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RunScheduledInstances',
qs: {LaunchSpecification: '', ScheduledInstanceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=RunScheduledInstances');
req.query({
LaunchSpecification: '',
ScheduledInstanceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=RunScheduledInstances',
params: {LaunchSpecification: '', ScheduledInstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?LaunchSpecification=&ScheduledInstanceId=&Action=&Version=#Action=RunScheduledInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?LaunchSpecification=&ScheduledInstanceId=&Action=&Version=#Action=RunScheduledInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?LaunchSpecification=&ScheduledInstanceId=&Action=&Version=#Action=RunScheduledInstances" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?LaunchSpecification=&ScheduledInstanceId=&Action=&Version=#Action=RunScheduledInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?LaunchSpecification=&ScheduledInstanceId=&Action=&Version=#Action=RunScheduledInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RunScheduledInstances');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'LaunchSpecification' => '',
'ScheduledInstanceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RunScheduledInstances');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'LaunchSpecification' => '',
'ScheduledInstanceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?LaunchSpecification=&ScheduledInstanceId=&Action=&Version=#Action=RunScheduledInstances' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?LaunchSpecification=&ScheduledInstanceId=&Action=&Version=#Action=RunScheduledInstances' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?LaunchSpecification=&ScheduledInstanceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RunScheduledInstances"
querystring = {"LaunchSpecification":"","ScheduledInstanceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RunScheduledInstances"
queryString <- list(
LaunchSpecification = "",
ScheduledInstanceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?LaunchSpecification=&ScheduledInstanceId=&Action=&Version=#Action=RunScheduledInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['LaunchSpecification'] = ''
req.params['ScheduledInstanceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RunScheduledInstances";
let querystring = [
("LaunchSpecification", ""),
("ScheduledInstanceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?LaunchSpecification=&ScheduledInstanceId=&Action=&Version=#Action=RunScheduledInstances'
http GET '{{baseUrl}}/?LaunchSpecification=&ScheduledInstanceId=&Action=&Version=#Action=RunScheduledInstances'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?LaunchSpecification=&ScheduledInstanceId=&Action=&Version=#Action=RunScheduledInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?LaunchSpecification=&ScheduledInstanceId=&Action=&Version=#Action=RunScheduledInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"InstanceIdSet": [
"i-1234567890abcdef0"
]
}
GET
GET_SearchLocalGatewayRoutes
{{baseUrl}}/#Action=SearchLocalGatewayRoutes
QUERY PARAMS
LocalGatewayRouteTableId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=SearchLocalGatewayRoutes");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=SearchLocalGatewayRoutes" {:query-params {:LocalGatewayRouteTableId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=SearchLocalGatewayRoutes"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=SearchLocalGatewayRoutes"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=SearchLocalGatewayRoutes");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=SearchLocalGatewayRoutes"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?LocalGatewayRouteTableId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=SearchLocalGatewayRoutes")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=SearchLocalGatewayRoutes"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=SearchLocalGatewayRoutes")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=SearchLocalGatewayRoutes")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=SearchLocalGatewayRoutes');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=SearchLocalGatewayRoutes',
params: {LocalGatewayRouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=SearchLocalGatewayRoutes';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=SearchLocalGatewayRoutes',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=SearchLocalGatewayRoutes")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?LocalGatewayRouteTableId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=SearchLocalGatewayRoutes',
qs: {LocalGatewayRouteTableId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=SearchLocalGatewayRoutes');
req.query({
LocalGatewayRouteTableId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=SearchLocalGatewayRoutes',
params: {LocalGatewayRouteTableId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=SearchLocalGatewayRoutes';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=SearchLocalGatewayRoutes"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=SearchLocalGatewayRoutes" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=SearchLocalGatewayRoutes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=SearchLocalGatewayRoutes');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=SearchLocalGatewayRoutes');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'LocalGatewayRouteTableId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=SearchLocalGatewayRoutes');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'LocalGatewayRouteTableId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=SearchLocalGatewayRoutes' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=SearchLocalGatewayRoutes' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?LocalGatewayRouteTableId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=SearchLocalGatewayRoutes"
querystring = {"LocalGatewayRouteTableId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=SearchLocalGatewayRoutes"
queryString <- list(
LocalGatewayRouteTableId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=SearchLocalGatewayRoutes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['LocalGatewayRouteTableId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=SearchLocalGatewayRoutes";
let querystring = [
("LocalGatewayRouteTableId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=SearchLocalGatewayRoutes'
http GET '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=SearchLocalGatewayRoutes'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=SearchLocalGatewayRoutes'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?LocalGatewayRouteTableId=&Action=&Version=#Action=SearchLocalGatewayRoutes")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_SearchTransitGatewayMulticastGroups
{{baseUrl}}/#Action=SearchTransitGatewayMulticastGroups
QUERY PARAMS
TransitGatewayMulticastDomainId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=SearchTransitGatewayMulticastGroups");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=SearchTransitGatewayMulticastGroups" {:query-params {:TransitGatewayMulticastDomainId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=SearchTransitGatewayMulticastGroups"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=SearchTransitGatewayMulticastGroups"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=SearchTransitGatewayMulticastGroups");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=SearchTransitGatewayMulticastGroups"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayMulticastDomainId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=SearchTransitGatewayMulticastGroups")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=SearchTransitGatewayMulticastGroups"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=SearchTransitGatewayMulticastGroups")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=SearchTransitGatewayMulticastGroups")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=SearchTransitGatewayMulticastGroups');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=SearchTransitGatewayMulticastGroups',
params: {TransitGatewayMulticastDomainId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=SearchTransitGatewayMulticastGroups';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=SearchTransitGatewayMulticastGroups',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=SearchTransitGatewayMulticastGroups")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayMulticastDomainId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=SearchTransitGatewayMulticastGroups',
qs: {TransitGatewayMulticastDomainId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=SearchTransitGatewayMulticastGroups');
req.query({
TransitGatewayMulticastDomainId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=SearchTransitGatewayMulticastGroups',
params: {TransitGatewayMulticastDomainId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=SearchTransitGatewayMulticastGroups';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=SearchTransitGatewayMulticastGroups"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=SearchTransitGatewayMulticastGroups" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=SearchTransitGatewayMulticastGroups",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=SearchTransitGatewayMulticastGroups');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=SearchTransitGatewayMulticastGroups');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayMulticastDomainId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=SearchTransitGatewayMulticastGroups');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayMulticastDomainId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=SearchTransitGatewayMulticastGroups' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=SearchTransitGatewayMulticastGroups' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayMulticastDomainId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=SearchTransitGatewayMulticastGroups"
querystring = {"TransitGatewayMulticastDomainId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=SearchTransitGatewayMulticastGroups"
queryString <- list(
TransitGatewayMulticastDomainId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=SearchTransitGatewayMulticastGroups")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayMulticastDomainId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=SearchTransitGatewayMulticastGroups";
let querystring = [
("TransitGatewayMulticastDomainId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=SearchTransitGatewayMulticastGroups'
http GET '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=SearchTransitGatewayMulticastGroups'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=SearchTransitGatewayMulticastGroups'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayMulticastDomainId=&Action=&Version=#Action=SearchTransitGatewayMulticastGroups")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_SearchTransitGatewayRoutes
{{baseUrl}}/#Action=SearchTransitGatewayRoutes
QUERY PARAMS
TransitGatewayRouteTableId
Filter
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?TransitGatewayRouteTableId=&Filter=&Action=&Version=#Action=SearchTransitGatewayRoutes");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=SearchTransitGatewayRoutes" {:query-params {:TransitGatewayRouteTableId ""
:Filter ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?TransitGatewayRouteTableId=&Filter=&Action=&Version=#Action=SearchTransitGatewayRoutes"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?TransitGatewayRouteTableId=&Filter=&Action=&Version=#Action=SearchTransitGatewayRoutes"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?TransitGatewayRouteTableId=&Filter=&Action=&Version=#Action=SearchTransitGatewayRoutes");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?TransitGatewayRouteTableId=&Filter=&Action=&Version=#Action=SearchTransitGatewayRoutes"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?TransitGatewayRouteTableId=&Filter=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?TransitGatewayRouteTableId=&Filter=&Action=&Version=#Action=SearchTransitGatewayRoutes")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?TransitGatewayRouteTableId=&Filter=&Action=&Version=#Action=SearchTransitGatewayRoutes"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&Filter=&Action=&Version=#Action=SearchTransitGatewayRoutes")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?TransitGatewayRouteTableId=&Filter=&Action=&Version=#Action=SearchTransitGatewayRoutes")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&Filter=&Action=&Version=#Action=SearchTransitGatewayRoutes');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=SearchTransitGatewayRoutes',
params: {TransitGatewayRouteTableId: '', Filter: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&Filter=&Action=&Version=#Action=SearchTransitGatewayRoutes';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?TransitGatewayRouteTableId=&Filter=&Action=&Version=#Action=SearchTransitGatewayRoutes',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?TransitGatewayRouteTableId=&Filter=&Action=&Version=#Action=SearchTransitGatewayRoutes")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?TransitGatewayRouteTableId=&Filter=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=SearchTransitGatewayRoutes',
qs: {TransitGatewayRouteTableId: '', Filter: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=SearchTransitGatewayRoutes');
req.query({
TransitGatewayRouteTableId: '',
Filter: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=SearchTransitGatewayRoutes',
params: {TransitGatewayRouteTableId: '', Filter: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?TransitGatewayRouteTableId=&Filter=&Action=&Version=#Action=SearchTransitGatewayRoutes';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?TransitGatewayRouteTableId=&Filter=&Action=&Version=#Action=SearchTransitGatewayRoutes"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?TransitGatewayRouteTableId=&Filter=&Action=&Version=#Action=SearchTransitGatewayRoutes" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?TransitGatewayRouteTableId=&Filter=&Action=&Version=#Action=SearchTransitGatewayRoutes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?TransitGatewayRouteTableId=&Filter=&Action=&Version=#Action=SearchTransitGatewayRoutes');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=SearchTransitGatewayRoutes');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'TransitGatewayRouteTableId' => '',
'Filter' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=SearchTransitGatewayRoutes');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'TransitGatewayRouteTableId' => '',
'Filter' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&Filter=&Action=&Version=#Action=SearchTransitGatewayRoutes' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?TransitGatewayRouteTableId=&Filter=&Action=&Version=#Action=SearchTransitGatewayRoutes' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?TransitGatewayRouteTableId=&Filter=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=SearchTransitGatewayRoutes"
querystring = {"TransitGatewayRouteTableId":"","Filter":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=SearchTransitGatewayRoutes"
queryString <- list(
TransitGatewayRouteTableId = "",
Filter = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?TransitGatewayRouteTableId=&Filter=&Action=&Version=#Action=SearchTransitGatewayRoutes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['TransitGatewayRouteTableId'] = ''
req.params['Filter'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=SearchTransitGatewayRoutes";
let querystring = [
("TransitGatewayRouteTableId", ""),
("Filter", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?TransitGatewayRouteTableId=&Filter=&Action=&Version=#Action=SearchTransitGatewayRoutes'
http GET '{{baseUrl}}/?TransitGatewayRouteTableId=&Filter=&Action=&Version=#Action=SearchTransitGatewayRoutes'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?TransitGatewayRouteTableId=&Filter=&Action=&Version=#Action=SearchTransitGatewayRoutes'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?TransitGatewayRouteTableId=&Filter=&Action=&Version=#Action=SearchTransitGatewayRoutes")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_SendDiagnosticInterrupt
{{baseUrl}}/#Action=SendDiagnosticInterrupt
QUERY PARAMS
InstanceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=SendDiagnosticInterrupt");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=SendDiagnosticInterrupt" {:query-params {:InstanceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=SendDiagnosticInterrupt"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=SendDiagnosticInterrupt"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=SendDiagnosticInterrupt");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=SendDiagnosticInterrupt"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=SendDiagnosticInterrupt")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=SendDiagnosticInterrupt"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=SendDiagnosticInterrupt")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=SendDiagnosticInterrupt")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=SendDiagnosticInterrupt');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=SendDiagnosticInterrupt',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=SendDiagnosticInterrupt';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=SendDiagnosticInterrupt',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=SendDiagnosticInterrupt")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=SendDiagnosticInterrupt',
qs: {InstanceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=SendDiagnosticInterrupt');
req.query({
InstanceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=SendDiagnosticInterrupt',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=SendDiagnosticInterrupt';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=SendDiagnosticInterrupt"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=SendDiagnosticInterrupt" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=SendDiagnosticInterrupt",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=SendDiagnosticInterrupt');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=SendDiagnosticInterrupt');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=SendDiagnosticInterrupt');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=SendDiagnosticInterrupt' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=SendDiagnosticInterrupt' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=SendDiagnosticInterrupt"
querystring = {"InstanceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=SendDiagnosticInterrupt"
queryString <- list(
InstanceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=SendDiagnosticInterrupt")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=SendDiagnosticInterrupt";
let querystring = [
("InstanceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=SendDiagnosticInterrupt'
http GET '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=SendDiagnosticInterrupt'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=SendDiagnosticInterrupt'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=SendDiagnosticInterrupt")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_StartInstances
{{baseUrl}}/#Action=StartInstances
QUERY PARAMS
InstanceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StartInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=StartInstances" {:query-params {:InstanceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StartInstances"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StartInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StartInstances");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StartInstances"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StartInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StartInstances"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StartInstances")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StartInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StartInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=StartInstances',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StartInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StartInstances',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StartInstances")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=StartInstances',
qs: {InstanceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=StartInstances');
req.query({
InstanceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=StartInstances',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StartInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StartInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StartInstances" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StartInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StartInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=StartInstances');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=StartInstances');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StartInstances' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StartInstances' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=StartInstances"
querystring = {"InstanceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=StartInstances"
queryString <- list(
InstanceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StartInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=StartInstances";
let querystring = [
("InstanceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StartInstances'
http GET '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StartInstances'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StartInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StartInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"StartingInstances": [
{
"CurrentState": {
"Code": 0,
"Name": "pending"
},
"InstanceId": "i-1234567890abcdef0",
"PreviousState": {
"Code": 80,
"Name": "stopped"
}
}
]
}
GET
GET_StartNetworkInsightsAccessScopeAnalysis
{{baseUrl}}/#Action=StartNetworkInsightsAccessScopeAnalysis
QUERY PARAMS
NetworkInsightsAccessScopeId
ClientToken
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?NetworkInsightsAccessScopeId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=StartNetworkInsightsAccessScopeAnalysis" {:query-params {:NetworkInsightsAccessScopeId ""
:ClientToken ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?NetworkInsightsAccessScopeId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?NetworkInsightsAccessScopeId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?NetworkInsightsAccessScopeId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?NetworkInsightsAccessScopeId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?NetworkInsightsAccessScopeId=&ClientToken=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?NetworkInsightsAccessScopeId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?NetworkInsightsAccessScopeId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?NetworkInsightsAccessScopeId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?NetworkInsightsAccessScopeId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?NetworkInsightsAccessScopeId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=StartNetworkInsightsAccessScopeAnalysis',
params: {NetworkInsightsAccessScopeId: '', ClientToken: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?NetworkInsightsAccessScopeId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?NetworkInsightsAccessScopeId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?NetworkInsightsAccessScopeId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?NetworkInsightsAccessScopeId=&ClientToken=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=StartNetworkInsightsAccessScopeAnalysis',
qs: {NetworkInsightsAccessScopeId: '', ClientToken: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=StartNetworkInsightsAccessScopeAnalysis');
req.query({
NetworkInsightsAccessScopeId: '',
ClientToken: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=StartNetworkInsightsAccessScopeAnalysis',
params: {NetworkInsightsAccessScopeId: '', ClientToken: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?NetworkInsightsAccessScopeId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?NetworkInsightsAccessScopeId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?NetworkInsightsAccessScopeId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?NetworkInsightsAccessScopeId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?NetworkInsightsAccessScopeId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=StartNetworkInsightsAccessScopeAnalysis');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'NetworkInsightsAccessScopeId' => '',
'ClientToken' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=StartNetworkInsightsAccessScopeAnalysis');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'NetworkInsightsAccessScopeId' => '',
'ClientToken' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?NetworkInsightsAccessScopeId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?NetworkInsightsAccessScopeId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?NetworkInsightsAccessScopeId=&ClientToken=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=StartNetworkInsightsAccessScopeAnalysis"
querystring = {"NetworkInsightsAccessScopeId":"","ClientToken":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=StartNetworkInsightsAccessScopeAnalysis"
queryString <- list(
NetworkInsightsAccessScopeId = "",
ClientToken = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?NetworkInsightsAccessScopeId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['NetworkInsightsAccessScopeId'] = ''
req.params['ClientToken'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=StartNetworkInsightsAccessScopeAnalysis";
let querystring = [
("NetworkInsightsAccessScopeId", ""),
("ClientToken", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?NetworkInsightsAccessScopeId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis'
http GET '{{baseUrl}}/?NetworkInsightsAccessScopeId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?NetworkInsightsAccessScopeId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?NetworkInsightsAccessScopeId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_StartNetworkInsightsAnalysis
{{baseUrl}}/#Action=StartNetworkInsightsAnalysis
QUERY PARAMS
NetworkInsightsPathId
ClientToken
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?NetworkInsightsPathId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAnalysis");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=StartNetworkInsightsAnalysis" {:query-params {:NetworkInsightsPathId ""
:ClientToken ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?NetworkInsightsPathId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAnalysis"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?NetworkInsightsPathId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAnalysis"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?NetworkInsightsPathId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAnalysis");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?NetworkInsightsPathId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAnalysis"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?NetworkInsightsPathId=&ClientToken=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?NetworkInsightsPathId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAnalysis")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?NetworkInsightsPathId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAnalysis"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?NetworkInsightsPathId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAnalysis")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?NetworkInsightsPathId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAnalysis")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?NetworkInsightsPathId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAnalysis');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=StartNetworkInsightsAnalysis',
params: {NetworkInsightsPathId: '', ClientToken: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?NetworkInsightsPathId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAnalysis';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?NetworkInsightsPathId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAnalysis',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?NetworkInsightsPathId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAnalysis")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?NetworkInsightsPathId=&ClientToken=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=StartNetworkInsightsAnalysis',
qs: {NetworkInsightsPathId: '', ClientToken: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=StartNetworkInsightsAnalysis');
req.query({
NetworkInsightsPathId: '',
ClientToken: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=StartNetworkInsightsAnalysis',
params: {NetworkInsightsPathId: '', ClientToken: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?NetworkInsightsPathId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAnalysis';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?NetworkInsightsPathId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAnalysis"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?NetworkInsightsPathId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAnalysis" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?NetworkInsightsPathId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAnalysis",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?NetworkInsightsPathId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAnalysis');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=StartNetworkInsightsAnalysis');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'NetworkInsightsPathId' => '',
'ClientToken' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=StartNetworkInsightsAnalysis');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'NetworkInsightsPathId' => '',
'ClientToken' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?NetworkInsightsPathId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAnalysis' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?NetworkInsightsPathId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAnalysis' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?NetworkInsightsPathId=&ClientToken=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=StartNetworkInsightsAnalysis"
querystring = {"NetworkInsightsPathId":"","ClientToken":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=StartNetworkInsightsAnalysis"
queryString <- list(
NetworkInsightsPathId = "",
ClientToken = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?NetworkInsightsPathId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAnalysis")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['NetworkInsightsPathId'] = ''
req.params['ClientToken'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=StartNetworkInsightsAnalysis";
let querystring = [
("NetworkInsightsPathId", ""),
("ClientToken", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?NetworkInsightsPathId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAnalysis'
http GET '{{baseUrl}}/?NetworkInsightsPathId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAnalysis'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?NetworkInsightsPathId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAnalysis'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?NetworkInsightsPathId=&ClientToken=&Action=&Version=#Action=StartNetworkInsightsAnalysis")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_StartVpcEndpointServicePrivateDnsVerification
{{baseUrl}}/#Action=StartVpcEndpointServicePrivateDnsVerification
QUERY PARAMS
ServiceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=StartVpcEndpointServicePrivateDnsVerification" {:query-params {:ServiceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ServiceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=StartVpcEndpointServicePrivateDnsVerification',
params: {ServiceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ServiceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=StartVpcEndpointServicePrivateDnsVerification',
qs: {ServiceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=StartVpcEndpointServicePrivateDnsVerification');
req.query({
ServiceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=StartVpcEndpointServicePrivateDnsVerification',
params: {ServiceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ServiceId=&Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ServiceId=&Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=StartVpcEndpointServicePrivateDnsVerification');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ServiceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=StartVpcEndpointServicePrivateDnsVerification');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ServiceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ServiceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=StartVpcEndpointServicePrivateDnsVerification"
querystring = {"ServiceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=StartVpcEndpointServicePrivateDnsVerification"
queryString <- list(
ServiceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ServiceId=&Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ServiceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=StartVpcEndpointServicePrivateDnsVerification";
let querystring = [
("ServiceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification'
http GET '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ServiceId=&Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ServiceId=&Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_StopInstances
{{baseUrl}}/#Action=StopInstances
QUERY PARAMS
InstanceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StopInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=StopInstances" {:query-params {:InstanceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StopInstances"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StopInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StopInstances");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StopInstances"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StopInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StopInstances"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StopInstances")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StopInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StopInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=StopInstances',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StopInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StopInstances',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StopInstances")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=StopInstances',
qs: {InstanceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=StopInstances');
req.query({
InstanceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=StopInstances',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StopInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StopInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StopInstances" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StopInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StopInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=StopInstances');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=StopInstances');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StopInstances' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StopInstances' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=StopInstances"
querystring = {"InstanceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=StopInstances"
queryString <- list(
InstanceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StopInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=StopInstances";
let querystring = [
("InstanceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StopInstances'
http GET '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StopInstances'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StopInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=StopInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"StoppingInstances": [
{
"CurrentState": {
"Code": 64,
"Name": "stopping"
},
"InstanceId": "i-1234567890abcdef0",
"PreviousState": {
"Code": 16,
"Name": "running"
}
}
]
}
GET
GET_TerminateClientVpnConnections
{{baseUrl}}/#Action=TerminateClientVpnConnections
QUERY PARAMS
ClientVpnEndpointId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=TerminateClientVpnConnections");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=TerminateClientVpnConnections" {:query-params {:ClientVpnEndpointId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=TerminateClientVpnConnections"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=TerminateClientVpnConnections"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=TerminateClientVpnConnections");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=TerminateClientVpnConnections"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?ClientVpnEndpointId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=TerminateClientVpnConnections")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=TerminateClientVpnConnections"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=TerminateClientVpnConnections")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=TerminateClientVpnConnections")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=TerminateClientVpnConnections');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=TerminateClientVpnConnections',
params: {ClientVpnEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=TerminateClientVpnConnections';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=TerminateClientVpnConnections',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=TerminateClientVpnConnections")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?ClientVpnEndpointId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=TerminateClientVpnConnections',
qs: {ClientVpnEndpointId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=TerminateClientVpnConnections');
req.query({
ClientVpnEndpointId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=TerminateClientVpnConnections',
params: {ClientVpnEndpointId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=TerminateClientVpnConnections';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=TerminateClientVpnConnections"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=TerminateClientVpnConnections" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=TerminateClientVpnConnections",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=TerminateClientVpnConnections');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=TerminateClientVpnConnections');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'ClientVpnEndpointId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=TerminateClientVpnConnections');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'ClientVpnEndpointId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=TerminateClientVpnConnections' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=TerminateClientVpnConnections' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?ClientVpnEndpointId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=TerminateClientVpnConnections"
querystring = {"ClientVpnEndpointId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=TerminateClientVpnConnections"
queryString <- list(
ClientVpnEndpointId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=TerminateClientVpnConnections")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['ClientVpnEndpointId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=TerminateClientVpnConnections";
let querystring = [
("ClientVpnEndpointId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=TerminateClientVpnConnections'
http GET '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=TerminateClientVpnConnections'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=TerminateClientVpnConnections'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?ClientVpnEndpointId=&Action=&Version=#Action=TerminateClientVpnConnections")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_TerminateInstances
{{baseUrl}}/#Action=TerminateInstances
QUERY PARAMS
InstanceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=TerminateInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=TerminateInstances" {:query-params {:InstanceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=TerminateInstances"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=TerminateInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=TerminateInstances");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=TerminateInstances"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=TerminateInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=TerminateInstances"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=TerminateInstances")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=TerminateInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=TerminateInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=TerminateInstances',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=TerminateInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=TerminateInstances',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=TerminateInstances")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=TerminateInstances',
qs: {InstanceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=TerminateInstances');
req.query({
InstanceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=TerminateInstances',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=TerminateInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=TerminateInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=TerminateInstances" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=TerminateInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=TerminateInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=TerminateInstances');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=TerminateInstances');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=TerminateInstances' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=TerminateInstances' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=TerminateInstances"
querystring = {"InstanceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=TerminateInstances"
queryString <- list(
InstanceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=TerminateInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=TerminateInstances";
let querystring = [
("InstanceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=TerminateInstances'
http GET '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=TerminateInstances'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=TerminateInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=TerminateInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"TerminatingInstances": [
{
"CurrentState": {
"Code": 32,
"Name": "shutting-down"
},
"InstanceId": "i-1234567890abcdef0",
"PreviousState": {
"Code": 16,
"Name": "running"
}
}
]
}
GET
GET_UnassignIpv6Addresses
{{baseUrl}}/#Action=UnassignIpv6Addresses
QUERY PARAMS
NetworkInterfaceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignIpv6Addresses");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=UnassignIpv6Addresses" {:query-params {:NetworkInterfaceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignIpv6Addresses"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignIpv6Addresses"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignIpv6Addresses");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignIpv6Addresses"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?NetworkInterfaceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignIpv6Addresses")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignIpv6Addresses"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignIpv6Addresses")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignIpv6Addresses")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignIpv6Addresses');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=UnassignIpv6Addresses',
params: {NetworkInterfaceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignIpv6Addresses';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignIpv6Addresses',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignIpv6Addresses")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?NetworkInterfaceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=UnassignIpv6Addresses',
qs: {NetworkInterfaceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=UnassignIpv6Addresses');
req.query({
NetworkInterfaceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=UnassignIpv6Addresses',
params: {NetworkInterfaceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignIpv6Addresses';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignIpv6Addresses"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignIpv6Addresses" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignIpv6Addresses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignIpv6Addresses');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=UnassignIpv6Addresses');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'NetworkInterfaceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=UnassignIpv6Addresses');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'NetworkInterfaceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignIpv6Addresses' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignIpv6Addresses' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?NetworkInterfaceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=UnassignIpv6Addresses"
querystring = {"NetworkInterfaceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=UnassignIpv6Addresses"
queryString <- list(
NetworkInterfaceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignIpv6Addresses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['NetworkInterfaceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=UnassignIpv6Addresses";
let querystring = [
("NetworkInterfaceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignIpv6Addresses'
http GET '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignIpv6Addresses'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignIpv6Addresses'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignIpv6Addresses")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_UnassignPrivateIpAddresses
{{baseUrl}}/#Action=UnassignPrivateIpAddresses
QUERY PARAMS
NetworkInterfaceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignPrivateIpAddresses");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=UnassignPrivateIpAddresses" {:query-params {:NetworkInterfaceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignPrivateIpAddresses"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignPrivateIpAddresses"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignPrivateIpAddresses");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignPrivateIpAddresses"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?NetworkInterfaceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignPrivateIpAddresses")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignPrivateIpAddresses"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignPrivateIpAddresses")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignPrivateIpAddresses")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignPrivateIpAddresses');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=UnassignPrivateIpAddresses',
params: {NetworkInterfaceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignPrivateIpAddresses';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignPrivateIpAddresses',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignPrivateIpAddresses")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?NetworkInterfaceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=UnassignPrivateIpAddresses',
qs: {NetworkInterfaceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=UnassignPrivateIpAddresses');
req.query({
NetworkInterfaceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=UnassignPrivateIpAddresses',
params: {NetworkInterfaceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignPrivateIpAddresses';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignPrivateIpAddresses"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignPrivateIpAddresses" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignPrivateIpAddresses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignPrivateIpAddresses');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=UnassignPrivateIpAddresses');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'NetworkInterfaceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=UnassignPrivateIpAddresses');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'NetworkInterfaceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignPrivateIpAddresses' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignPrivateIpAddresses' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?NetworkInterfaceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=UnassignPrivateIpAddresses"
querystring = {"NetworkInterfaceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=UnassignPrivateIpAddresses"
queryString <- list(
NetworkInterfaceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignPrivateIpAddresses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['NetworkInterfaceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=UnassignPrivateIpAddresses";
let querystring = [
("NetworkInterfaceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignPrivateIpAddresses'
http GET '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignPrivateIpAddresses'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignPrivateIpAddresses'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?NetworkInterfaceId=&Action=&Version=#Action=UnassignPrivateIpAddresses")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_UnassignPrivateNatGatewayAddress
{{baseUrl}}/#Action=UnassignPrivateNatGatewayAddress
QUERY PARAMS
NatGatewayId
PrivateIpAddress
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?NatGatewayId=&PrivateIpAddress=&Action=&Version=#Action=UnassignPrivateNatGatewayAddress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=UnassignPrivateNatGatewayAddress" {:query-params {:NatGatewayId ""
:PrivateIpAddress ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?NatGatewayId=&PrivateIpAddress=&Action=&Version=#Action=UnassignPrivateNatGatewayAddress"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?NatGatewayId=&PrivateIpAddress=&Action=&Version=#Action=UnassignPrivateNatGatewayAddress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?NatGatewayId=&PrivateIpAddress=&Action=&Version=#Action=UnassignPrivateNatGatewayAddress");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?NatGatewayId=&PrivateIpAddress=&Action=&Version=#Action=UnassignPrivateNatGatewayAddress"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?NatGatewayId=&PrivateIpAddress=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?NatGatewayId=&PrivateIpAddress=&Action=&Version=#Action=UnassignPrivateNatGatewayAddress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?NatGatewayId=&PrivateIpAddress=&Action=&Version=#Action=UnassignPrivateNatGatewayAddress"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?NatGatewayId=&PrivateIpAddress=&Action=&Version=#Action=UnassignPrivateNatGatewayAddress")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?NatGatewayId=&PrivateIpAddress=&Action=&Version=#Action=UnassignPrivateNatGatewayAddress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?NatGatewayId=&PrivateIpAddress=&Action=&Version=#Action=UnassignPrivateNatGatewayAddress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=UnassignPrivateNatGatewayAddress',
params: {NatGatewayId: '', PrivateIpAddress: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?NatGatewayId=&PrivateIpAddress=&Action=&Version=#Action=UnassignPrivateNatGatewayAddress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?NatGatewayId=&PrivateIpAddress=&Action=&Version=#Action=UnassignPrivateNatGatewayAddress',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?NatGatewayId=&PrivateIpAddress=&Action=&Version=#Action=UnassignPrivateNatGatewayAddress")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?NatGatewayId=&PrivateIpAddress=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=UnassignPrivateNatGatewayAddress',
qs: {NatGatewayId: '', PrivateIpAddress: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=UnassignPrivateNatGatewayAddress');
req.query({
NatGatewayId: '',
PrivateIpAddress: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=UnassignPrivateNatGatewayAddress',
params: {NatGatewayId: '', PrivateIpAddress: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?NatGatewayId=&PrivateIpAddress=&Action=&Version=#Action=UnassignPrivateNatGatewayAddress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?NatGatewayId=&PrivateIpAddress=&Action=&Version=#Action=UnassignPrivateNatGatewayAddress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?NatGatewayId=&PrivateIpAddress=&Action=&Version=#Action=UnassignPrivateNatGatewayAddress" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?NatGatewayId=&PrivateIpAddress=&Action=&Version=#Action=UnassignPrivateNatGatewayAddress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?NatGatewayId=&PrivateIpAddress=&Action=&Version=#Action=UnassignPrivateNatGatewayAddress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=UnassignPrivateNatGatewayAddress');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'NatGatewayId' => '',
'PrivateIpAddress' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=UnassignPrivateNatGatewayAddress');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'NatGatewayId' => '',
'PrivateIpAddress' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?NatGatewayId=&PrivateIpAddress=&Action=&Version=#Action=UnassignPrivateNatGatewayAddress' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?NatGatewayId=&PrivateIpAddress=&Action=&Version=#Action=UnassignPrivateNatGatewayAddress' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?NatGatewayId=&PrivateIpAddress=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=UnassignPrivateNatGatewayAddress"
querystring = {"NatGatewayId":"","PrivateIpAddress":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=UnassignPrivateNatGatewayAddress"
queryString <- list(
NatGatewayId = "",
PrivateIpAddress = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?NatGatewayId=&PrivateIpAddress=&Action=&Version=#Action=UnassignPrivateNatGatewayAddress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['NatGatewayId'] = ''
req.params['PrivateIpAddress'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=UnassignPrivateNatGatewayAddress";
let querystring = [
("NatGatewayId", ""),
("PrivateIpAddress", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?NatGatewayId=&PrivateIpAddress=&Action=&Version=#Action=UnassignPrivateNatGatewayAddress'
http GET '{{baseUrl}}/?NatGatewayId=&PrivateIpAddress=&Action=&Version=#Action=UnassignPrivateNatGatewayAddress'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?NatGatewayId=&PrivateIpAddress=&Action=&Version=#Action=UnassignPrivateNatGatewayAddress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?NatGatewayId=&PrivateIpAddress=&Action=&Version=#Action=UnassignPrivateNatGatewayAddress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_UnmonitorInstances
{{baseUrl}}/#Action=UnmonitorInstances
QUERY PARAMS
InstanceId
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=UnmonitorInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=UnmonitorInstances" {:query-params {:InstanceId ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=UnmonitorInstances"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=UnmonitorInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=UnmonitorInstances");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=UnmonitorInstances"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?InstanceId=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=UnmonitorInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=UnmonitorInstances"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=UnmonitorInstances")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=UnmonitorInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=UnmonitorInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=UnmonitorInstances',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=UnmonitorInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=UnmonitorInstances',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=UnmonitorInstances")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?InstanceId=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=UnmonitorInstances',
qs: {InstanceId: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=UnmonitorInstances');
req.query({
InstanceId: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=UnmonitorInstances',
params: {InstanceId: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=UnmonitorInstances';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=UnmonitorInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=UnmonitorInstances" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?InstanceId=&Action=&Version=#Action=UnmonitorInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=UnmonitorInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=UnmonitorInstances');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=UnmonitorInstances');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'InstanceId' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=UnmonitorInstances' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=UnmonitorInstances' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?InstanceId=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=UnmonitorInstances"
querystring = {"InstanceId":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=UnmonitorInstances"
queryString <- list(
InstanceId = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?InstanceId=&Action=&Version=#Action=UnmonitorInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['InstanceId'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=UnmonitorInstances";
let querystring = [
("InstanceId", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=UnmonitorInstances'
http GET '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=UnmonitorInstances'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?InstanceId=&Action=&Version=#Action=UnmonitorInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?InstanceId=&Action=&Version=#Action=UnmonitorInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
GET
GET_UpdateSecurityGroupRuleDescriptionsEgress
{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsEgress
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsEgress" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsEgress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsEgress',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsEgress');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsEgress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsEgress');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsEgress');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsEgress"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsEgress"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsEgress";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress'
http GET '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{}
GET
GET_UpdateSecurityGroupRuleDescriptionsIngress
{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsIngress
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsIngress" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsIngress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsIngress',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsIngress');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsIngress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsIngress');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsIngress');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsIngress"
querystring = {"Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsIngress"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsIngress";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress'
http GET '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{}
GET
GET_WithdrawByoipCidr
{{baseUrl}}/#Action=WithdrawByoipCidr
QUERY PARAMS
Cidr
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Cidr=&Action=&Version=#Action=WithdrawByoipCidr");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/get "{{baseUrl}}/#Action=WithdrawByoipCidr" {:query-params {:Cidr ""
:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Cidr=&Action=&Version=#Action=WithdrawByoipCidr"
response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Get,
RequestUri = new Uri("{{baseUrl}}/?Cidr=&Action=&Version=#Action=WithdrawByoipCidr"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Cidr=&Action=&Version=#Action=WithdrawByoipCidr");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Cidr=&Action=&Version=#Action=WithdrawByoipCidr"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
GET /baseUrl/?Cidr=&Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/?Cidr=&Action=&Version=#Action=WithdrawByoipCidr")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Cidr=&Action=&Version=#Action=WithdrawByoipCidr"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Cidr=&Action=&Version=#Action=WithdrawByoipCidr")
.get()
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/?Cidr=&Action=&Version=#Action=WithdrawByoipCidr")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('GET', '{{baseUrl}}/?Cidr=&Action=&Version=#Action=WithdrawByoipCidr');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=WithdrawByoipCidr',
params: {Cidr: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Cidr=&Action=&Version=#Action=WithdrawByoipCidr';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Cidr=&Action=&Version=#Action=WithdrawByoipCidr',
method: 'GET',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Cidr=&Action=&Version=#Action=WithdrawByoipCidr")
.get()
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'GET',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Cidr=&Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=WithdrawByoipCidr',
qs: {Cidr: '', Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('GET', '{{baseUrl}}/#Action=WithdrawByoipCidr');
req.query({
Cidr: '',
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'GET',
url: '{{baseUrl}}/#Action=WithdrawByoipCidr',
params: {Cidr: '', Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Cidr=&Action=&Version=#Action=WithdrawByoipCidr';
const options = {method: 'GET'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Cidr=&Action=&Version=#Action=WithdrawByoipCidr"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Cidr=&Action=&Version=#Action=WithdrawByoipCidr" in
Client.call `GET uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Cidr=&Action=&Version=#Action=WithdrawByoipCidr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('GET', '{{baseUrl}}/?Cidr=&Action=&Version=#Action=WithdrawByoipCidr');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=WithdrawByoipCidr');
$request->setMethod(HTTP_METH_GET);
$request->setQueryData([
'Cidr' => '',
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=WithdrawByoipCidr');
$request->setRequestMethod('GET');
$request->setQuery(new http\QueryString([
'Cidr' => '',
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Cidr=&Action=&Version=#Action=WithdrawByoipCidr' -Method GET
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Cidr=&Action=&Version=#Action=WithdrawByoipCidr' -Method GET
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("GET", "/baseUrl/?Cidr=&Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=WithdrawByoipCidr"
querystring = {"Cidr":"","Action":"","Version":""}
response = requests.get(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=WithdrawByoipCidr"
queryString <- list(
Cidr = "",
Action = "",
Version = ""
)
response <- VERB("GET", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Cidr=&Action=&Version=#Action=WithdrawByoipCidr")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.get('/baseUrl/') do |req|
req.params['Cidr'] = ''
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=WithdrawByoipCidr";
let querystring = [
("Cidr", ""),
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.get(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request GET \
--url '{{baseUrl}}/?Cidr=&Action=&Version=#Action=WithdrawByoipCidr'
http GET '{{baseUrl}}/?Cidr=&Action=&Version=#Action=WithdrawByoipCidr'
wget --quiet \
--method GET \
--output-document \
- '{{baseUrl}}/?Cidr=&Action=&Version=#Action=WithdrawByoipCidr'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Cidr=&Action=&Version=#Action=WithdrawByoipCidr")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "GET"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AcceptAddressTransfer
{{baseUrl}}/#Action=AcceptAddressTransfer
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AcceptAddressTransfer");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AcceptAddressTransfer" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AcceptAddressTransfer"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AcceptAddressTransfer"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AcceptAddressTransfer");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AcceptAddressTransfer"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AcceptAddressTransfer")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AcceptAddressTransfer"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AcceptAddressTransfer")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AcceptAddressTransfer")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AcceptAddressTransfer');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AcceptAddressTransfer',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AcceptAddressTransfer';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AcceptAddressTransfer',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AcceptAddressTransfer")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AcceptAddressTransfer',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AcceptAddressTransfer');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AcceptAddressTransfer',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AcceptAddressTransfer';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AcceptAddressTransfer"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AcceptAddressTransfer" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AcceptAddressTransfer",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AcceptAddressTransfer');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AcceptAddressTransfer');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AcceptAddressTransfer');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AcceptAddressTransfer' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AcceptAddressTransfer' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AcceptAddressTransfer"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AcceptAddressTransfer"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AcceptAddressTransfer")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AcceptAddressTransfer";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AcceptAddressTransfer'
http POST '{{baseUrl}}/?Action=&Version=#Action=AcceptAddressTransfer'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AcceptAddressTransfer'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AcceptAddressTransfer")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AcceptReservedInstancesExchangeQuote
{{baseUrl}}/#Action=AcceptReservedInstancesExchangeQuote
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AcceptReservedInstancesExchangeQuote");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AcceptReservedInstancesExchangeQuote" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AcceptReservedInstancesExchangeQuote"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AcceptReservedInstancesExchangeQuote"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AcceptReservedInstancesExchangeQuote");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AcceptReservedInstancesExchangeQuote"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AcceptReservedInstancesExchangeQuote")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AcceptReservedInstancesExchangeQuote"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AcceptReservedInstancesExchangeQuote")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AcceptReservedInstancesExchangeQuote")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AcceptReservedInstancesExchangeQuote');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AcceptReservedInstancesExchangeQuote',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AcceptReservedInstancesExchangeQuote';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AcceptReservedInstancesExchangeQuote',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AcceptReservedInstancesExchangeQuote")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AcceptReservedInstancesExchangeQuote',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AcceptReservedInstancesExchangeQuote');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AcceptReservedInstancesExchangeQuote',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AcceptReservedInstancesExchangeQuote';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AcceptReservedInstancesExchangeQuote"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AcceptReservedInstancesExchangeQuote" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AcceptReservedInstancesExchangeQuote",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AcceptReservedInstancesExchangeQuote');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AcceptReservedInstancesExchangeQuote');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AcceptReservedInstancesExchangeQuote');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AcceptReservedInstancesExchangeQuote' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AcceptReservedInstancesExchangeQuote' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AcceptReservedInstancesExchangeQuote"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AcceptReservedInstancesExchangeQuote"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AcceptReservedInstancesExchangeQuote")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AcceptReservedInstancesExchangeQuote";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AcceptReservedInstancesExchangeQuote'
http POST '{{baseUrl}}/?Action=&Version=#Action=AcceptReservedInstancesExchangeQuote'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AcceptReservedInstancesExchangeQuote'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AcceptReservedInstancesExchangeQuote")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AcceptTransitGatewayMulticastDomainAssociations
{{baseUrl}}/#Action=AcceptTransitGatewayMulticastDomainAssociations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AcceptTransitGatewayMulticastDomainAssociations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AcceptTransitGatewayMulticastDomainAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AcceptTransitGatewayMulticastDomainAssociations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AcceptTransitGatewayMulticastDomainAssociations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AcceptTransitGatewayMulticastDomainAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AcceptTransitGatewayMulticastDomainAssociations');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AcceptTransitGatewayMulticastDomainAssociations');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AcceptTransitGatewayMulticastDomainAssociations"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AcceptTransitGatewayMulticastDomainAssociations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AcceptTransitGatewayMulticastDomainAssociations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations'
http POST '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayMulticastDomainAssociations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AcceptTransitGatewayPeeringAttachment
{{baseUrl}}/#Action=AcceptTransitGatewayPeeringAttachment
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AcceptTransitGatewayPeeringAttachment" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AcceptTransitGatewayPeeringAttachment',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AcceptTransitGatewayPeeringAttachment',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AcceptTransitGatewayPeeringAttachment');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AcceptTransitGatewayPeeringAttachment',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AcceptTransitGatewayPeeringAttachment');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AcceptTransitGatewayPeeringAttachment');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AcceptTransitGatewayPeeringAttachment"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AcceptTransitGatewayPeeringAttachment"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AcceptTransitGatewayPeeringAttachment";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment'
http POST '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayPeeringAttachment")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AcceptTransitGatewayVpcAttachment
{{baseUrl}}/#Action=AcceptTransitGatewayVpcAttachment
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayVpcAttachment");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AcceptTransitGatewayVpcAttachment" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayVpcAttachment"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayVpcAttachment"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayVpcAttachment");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayVpcAttachment"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayVpcAttachment")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayVpcAttachment"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayVpcAttachment")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayVpcAttachment")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayVpcAttachment');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AcceptTransitGatewayVpcAttachment',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayVpcAttachment';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayVpcAttachment',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayVpcAttachment")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AcceptTransitGatewayVpcAttachment',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AcceptTransitGatewayVpcAttachment');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AcceptTransitGatewayVpcAttachment',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayVpcAttachment';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayVpcAttachment"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayVpcAttachment" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayVpcAttachment",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayVpcAttachment');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AcceptTransitGatewayVpcAttachment');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AcceptTransitGatewayVpcAttachment');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayVpcAttachment' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayVpcAttachment' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AcceptTransitGatewayVpcAttachment"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AcceptTransitGatewayVpcAttachment"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayVpcAttachment")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AcceptTransitGatewayVpcAttachment";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayVpcAttachment'
http POST '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayVpcAttachment'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayVpcAttachment'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AcceptTransitGatewayVpcAttachment")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AcceptVpcEndpointConnections
{{baseUrl}}/#Action=AcceptVpcEndpointConnections
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AcceptVpcEndpointConnections");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AcceptVpcEndpointConnections" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AcceptVpcEndpointConnections"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AcceptVpcEndpointConnections"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AcceptVpcEndpointConnections");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AcceptVpcEndpointConnections"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AcceptVpcEndpointConnections")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AcceptVpcEndpointConnections"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AcceptVpcEndpointConnections")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AcceptVpcEndpointConnections")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AcceptVpcEndpointConnections');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AcceptVpcEndpointConnections',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AcceptVpcEndpointConnections';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AcceptVpcEndpointConnections',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AcceptVpcEndpointConnections")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AcceptVpcEndpointConnections',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AcceptVpcEndpointConnections');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AcceptVpcEndpointConnections',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AcceptVpcEndpointConnections';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AcceptVpcEndpointConnections"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AcceptVpcEndpointConnections" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AcceptVpcEndpointConnections",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AcceptVpcEndpointConnections');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AcceptVpcEndpointConnections');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AcceptVpcEndpointConnections');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AcceptVpcEndpointConnections' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AcceptVpcEndpointConnections' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AcceptVpcEndpointConnections"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AcceptVpcEndpointConnections"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AcceptVpcEndpointConnections")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AcceptVpcEndpointConnections";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AcceptVpcEndpointConnections'
http POST '{{baseUrl}}/?Action=&Version=#Action=AcceptVpcEndpointConnections'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AcceptVpcEndpointConnections'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AcceptVpcEndpointConnections")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AcceptVpcPeeringConnection
{{baseUrl}}/#Action=AcceptVpcPeeringConnection
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AcceptVpcPeeringConnection");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AcceptVpcPeeringConnection" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AcceptVpcPeeringConnection"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AcceptVpcPeeringConnection"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AcceptVpcPeeringConnection");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AcceptVpcPeeringConnection"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AcceptVpcPeeringConnection")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AcceptVpcPeeringConnection"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AcceptVpcPeeringConnection")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AcceptVpcPeeringConnection")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AcceptVpcPeeringConnection');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AcceptVpcPeeringConnection',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AcceptVpcPeeringConnection';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AcceptVpcPeeringConnection',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AcceptVpcPeeringConnection")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AcceptVpcPeeringConnection',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AcceptVpcPeeringConnection');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AcceptVpcPeeringConnection',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AcceptVpcPeeringConnection';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AcceptVpcPeeringConnection"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AcceptVpcPeeringConnection" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AcceptVpcPeeringConnection",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AcceptVpcPeeringConnection');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AcceptVpcPeeringConnection');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AcceptVpcPeeringConnection');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AcceptVpcPeeringConnection' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AcceptVpcPeeringConnection' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AcceptVpcPeeringConnection"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AcceptVpcPeeringConnection"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AcceptVpcPeeringConnection")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AcceptVpcPeeringConnection";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AcceptVpcPeeringConnection'
http POST '{{baseUrl}}/?Action=&Version=#Action=AcceptVpcPeeringConnection'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AcceptVpcPeeringConnection'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AcceptVpcPeeringConnection")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AdvertiseByoipCidr
{{baseUrl}}/#Action=AdvertiseByoipCidr
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AdvertiseByoipCidr");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AdvertiseByoipCidr" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AdvertiseByoipCidr"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AdvertiseByoipCidr"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AdvertiseByoipCidr");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AdvertiseByoipCidr"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AdvertiseByoipCidr")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AdvertiseByoipCidr"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AdvertiseByoipCidr")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AdvertiseByoipCidr")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AdvertiseByoipCidr');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AdvertiseByoipCidr',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AdvertiseByoipCidr';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AdvertiseByoipCidr',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AdvertiseByoipCidr")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AdvertiseByoipCidr',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AdvertiseByoipCidr');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AdvertiseByoipCidr',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AdvertiseByoipCidr';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AdvertiseByoipCidr"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AdvertiseByoipCidr" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AdvertiseByoipCidr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AdvertiseByoipCidr');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AdvertiseByoipCidr');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AdvertiseByoipCidr');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AdvertiseByoipCidr' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AdvertiseByoipCidr' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AdvertiseByoipCidr"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AdvertiseByoipCidr"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AdvertiseByoipCidr")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AdvertiseByoipCidr";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AdvertiseByoipCidr'
http POST '{{baseUrl}}/?Action=&Version=#Action=AdvertiseByoipCidr'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AdvertiseByoipCidr'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AdvertiseByoipCidr")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AllocateAddress
{{baseUrl}}/#Action=AllocateAddress
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AllocateAddress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AllocateAddress" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AllocateAddress"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AllocateAddress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AllocateAddress");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AllocateAddress"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AllocateAddress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AllocateAddress"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AllocateAddress")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AllocateAddress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AllocateAddress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AllocateAddress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AllocateAddress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AllocateAddress',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AllocateAddress")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AllocateAddress',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AllocateAddress');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AllocateAddress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AllocateAddress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AllocateAddress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AllocateAddress" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AllocateAddress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AllocateAddress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AllocateAddress');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AllocateAddress');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AllocateAddress' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AllocateAddress' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AllocateAddress"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AllocateAddress"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AllocateAddress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AllocateAddress";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AllocateAddress'
http POST '{{baseUrl}}/?Action=&Version=#Action=AllocateAddress'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AllocateAddress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AllocateAddress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"Domain": "standard",
"PublicIp": "198.51.100.0"
}
POST
POST_AllocateHosts
{{baseUrl}}/#Action=AllocateHosts
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AllocateHosts");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AllocateHosts" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AllocateHosts"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AllocateHosts"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AllocateHosts");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AllocateHosts"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AllocateHosts")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AllocateHosts"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AllocateHosts")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AllocateHosts")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AllocateHosts');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AllocateHosts',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AllocateHosts';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AllocateHosts',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AllocateHosts")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AllocateHosts',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AllocateHosts');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AllocateHosts',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AllocateHosts';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AllocateHosts"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AllocateHosts" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AllocateHosts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AllocateHosts');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AllocateHosts');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AllocateHosts');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AllocateHosts' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AllocateHosts' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AllocateHosts"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AllocateHosts"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AllocateHosts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AllocateHosts";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AllocateHosts'
http POST '{{baseUrl}}/?Action=&Version=#Action=AllocateHosts'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AllocateHosts'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AllocateHosts")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AllocateIpamPoolCidr
{{baseUrl}}/#Action=AllocateIpamPoolCidr
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AllocateIpamPoolCidr");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AllocateIpamPoolCidr" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AllocateIpamPoolCidr"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AllocateIpamPoolCidr"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AllocateIpamPoolCidr");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AllocateIpamPoolCidr"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AllocateIpamPoolCidr")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AllocateIpamPoolCidr"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AllocateIpamPoolCidr")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AllocateIpamPoolCidr")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AllocateIpamPoolCidr');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AllocateIpamPoolCidr',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AllocateIpamPoolCidr';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AllocateIpamPoolCidr',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AllocateIpamPoolCidr")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AllocateIpamPoolCidr',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AllocateIpamPoolCidr');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AllocateIpamPoolCidr',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AllocateIpamPoolCidr';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AllocateIpamPoolCidr"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AllocateIpamPoolCidr" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AllocateIpamPoolCidr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AllocateIpamPoolCidr');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AllocateIpamPoolCidr');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AllocateIpamPoolCidr');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AllocateIpamPoolCidr' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AllocateIpamPoolCidr' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AllocateIpamPoolCidr"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AllocateIpamPoolCidr"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AllocateIpamPoolCidr")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AllocateIpamPoolCidr";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AllocateIpamPoolCidr'
http POST '{{baseUrl}}/?Action=&Version=#Action=AllocateIpamPoolCidr'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AllocateIpamPoolCidr'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AllocateIpamPoolCidr")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ApplySecurityGroupsToClientVpnTargetNetwork
{{baseUrl}}/#Action=ApplySecurityGroupsToClientVpnTargetNetwork
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ApplySecurityGroupsToClientVpnTargetNetwork" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ApplySecurityGroupsToClientVpnTargetNetwork',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ApplySecurityGroupsToClientVpnTargetNetwork',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ApplySecurityGroupsToClientVpnTargetNetwork');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ApplySecurityGroupsToClientVpnTargetNetwork',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ApplySecurityGroupsToClientVpnTargetNetwork');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ApplySecurityGroupsToClientVpnTargetNetwork');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ApplySecurityGroupsToClientVpnTargetNetwork"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ApplySecurityGroupsToClientVpnTargetNetwork"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ApplySecurityGroupsToClientVpnTargetNetwork";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork'
http POST '{{baseUrl}}/?Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ApplySecurityGroupsToClientVpnTargetNetwork")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AssignIpv6Addresses
{{baseUrl}}/#Action=AssignIpv6Addresses
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AssignIpv6Addresses");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AssignIpv6Addresses" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AssignIpv6Addresses"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AssignIpv6Addresses"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AssignIpv6Addresses");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AssignIpv6Addresses"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AssignIpv6Addresses")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AssignIpv6Addresses"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssignIpv6Addresses")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AssignIpv6Addresses")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AssignIpv6Addresses');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssignIpv6Addresses',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AssignIpv6Addresses';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AssignIpv6Addresses',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssignIpv6Addresses")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssignIpv6Addresses',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AssignIpv6Addresses');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssignIpv6Addresses',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AssignIpv6Addresses';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AssignIpv6Addresses"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AssignIpv6Addresses" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AssignIpv6Addresses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AssignIpv6Addresses');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssignIpv6Addresses');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssignIpv6Addresses');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AssignIpv6Addresses' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AssignIpv6Addresses' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssignIpv6Addresses"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssignIpv6Addresses"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AssignIpv6Addresses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssignIpv6Addresses";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AssignIpv6Addresses'
http POST '{{baseUrl}}/?Action=&Version=#Action=AssignIpv6Addresses'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AssignIpv6Addresses'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AssignIpv6Addresses")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AssignPrivateIpAddresses
{{baseUrl}}/#Action=AssignPrivateIpAddresses
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AssignPrivateIpAddresses");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AssignPrivateIpAddresses" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AssignPrivateIpAddresses"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AssignPrivateIpAddresses"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AssignPrivateIpAddresses");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AssignPrivateIpAddresses"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AssignPrivateIpAddresses")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AssignPrivateIpAddresses"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssignPrivateIpAddresses")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AssignPrivateIpAddresses")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AssignPrivateIpAddresses');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssignPrivateIpAddresses',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AssignPrivateIpAddresses';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AssignPrivateIpAddresses',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssignPrivateIpAddresses")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssignPrivateIpAddresses',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AssignPrivateIpAddresses');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssignPrivateIpAddresses',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AssignPrivateIpAddresses';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AssignPrivateIpAddresses"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AssignPrivateIpAddresses" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AssignPrivateIpAddresses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AssignPrivateIpAddresses');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssignPrivateIpAddresses');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssignPrivateIpAddresses');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AssignPrivateIpAddresses' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AssignPrivateIpAddresses' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssignPrivateIpAddresses"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssignPrivateIpAddresses"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AssignPrivateIpAddresses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssignPrivateIpAddresses";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AssignPrivateIpAddresses'
http POST '{{baseUrl}}/?Action=&Version=#Action=AssignPrivateIpAddresses'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AssignPrivateIpAddresses'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AssignPrivateIpAddresses")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AssignPrivateNatGatewayAddress
{{baseUrl}}/#Action=AssignPrivateNatGatewayAddress
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AssignPrivateNatGatewayAddress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AssignPrivateNatGatewayAddress" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AssignPrivateNatGatewayAddress"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AssignPrivateNatGatewayAddress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AssignPrivateNatGatewayAddress");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AssignPrivateNatGatewayAddress"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AssignPrivateNatGatewayAddress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AssignPrivateNatGatewayAddress"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssignPrivateNatGatewayAddress")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AssignPrivateNatGatewayAddress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AssignPrivateNatGatewayAddress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssignPrivateNatGatewayAddress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AssignPrivateNatGatewayAddress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AssignPrivateNatGatewayAddress',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssignPrivateNatGatewayAddress")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssignPrivateNatGatewayAddress',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AssignPrivateNatGatewayAddress');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssignPrivateNatGatewayAddress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AssignPrivateNatGatewayAddress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AssignPrivateNatGatewayAddress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AssignPrivateNatGatewayAddress" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AssignPrivateNatGatewayAddress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AssignPrivateNatGatewayAddress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssignPrivateNatGatewayAddress');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssignPrivateNatGatewayAddress');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AssignPrivateNatGatewayAddress' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AssignPrivateNatGatewayAddress' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssignPrivateNatGatewayAddress"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssignPrivateNatGatewayAddress"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AssignPrivateNatGatewayAddress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssignPrivateNatGatewayAddress";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AssignPrivateNatGatewayAddress'
http POST '{{baseUrl}}/?Action=&Version=#Action=AssignPrivateNatGatewayAddress'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AssignPrivateNatGatewayAddress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AssignPrivateNatGatewayAddress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AssociateAddress
{{baseUrl}}/#Action=AssociateAddress
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AssociateAddress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AssociateAddress" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AssociateAddress"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AssociateAddress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AssociateAddress");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AssociateAddress"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AssociateAddress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AssociateAddress"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateAddress")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AssociateAddress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateAddress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateAddress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateAddress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AssociateAddress',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateAddress")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateAddress',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AssociateAddress');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateAddress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateAddress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AssociateAddress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AssociateAddress" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AssociateAddress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateAddress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateAddress');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateAddress');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateAddress' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateAddress' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateAddress"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateAddress"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AssociateAddress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateAddress";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AssociateAddress'
http POST '{{baseUrl}}/?Action=&Version=#Action=AssociateAddress'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AssociateAddress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AssociateAddress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"AssociationId": "eipassoc-2bebb745"
}
POST
POST_AssociateClientVpnTargetNetwork
{{baseUrl}}/#Action=AssociateClientVpnTargetNetwork
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AssociateClientVpnTargetNetwork");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AssociateClientVpnTargetNetwork" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AssociateClientVpnTargetNetwork"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AssociateClientVpnTargetNetwork"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AssociateClientVpnTargetNetwork");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AssociateClientVpnTargetNetwork"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AssociateClientVpnTargetNetwork")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AssociateClientVpnTargetNetwork"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateClientVpnTargetNetwork")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AssociateClientVpnTargetNetwork")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateClientVpnTargetNetwork');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateClientVpnTargetNetwork',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateClientVpnTargetNetwork';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AssociateClientVpnTargetNetwork',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateClientVpnTargetNetwork")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateClientVpnTargetNetwork',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AssociateClientVpnTargetNetwork');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateClientVpnTargetNetwork',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateClientVpnTargetNetwork';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AssociateClientVpnTargetNetwork"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AssociateClientVpnTargetNetwork" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AssociateClientVpnTargetNetwork",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateClientVpnTargetNetwork');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateClientVpnTargetNetwork');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateClientVpnTargetNetwork');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateClientVpnTargetNetwork' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateClientVpnTargetNetwork' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateClientVpnTargetNetwork"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateClientVpnTargetNetwork"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AssociateClientVpnTargetNetwork")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateClientVpnTargetNetwork";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AssociateClientVpnTargetNetwork'
http POST '{{baseUrl}}/?Action=&Version=#Action=AssociateClientVpnTargetNetwork'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AssociateClientVpnTargetNetwork'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AssociateClientVpnTargetNetwork")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AssociateDhcpOptions
{{baseUrl}}/#Action=AssociateDhcpOptions
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AssociateDhcpOptions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AssociateDhcpOptions" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AssociateDhcpOptions"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AssociateDhcpOptions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AssociateDhcpOptions");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AssociateDhcpOptions"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AssociateDhcpOptions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AssociateDhcpOptions"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateDhcpOptions")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AssociateDhcpOptions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateDhcpOptions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateDhcpOptions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateDhcpOptions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AssociateDhcpOptions',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateDhcpOptions")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateDhcpOptions',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AssociateDhcpOptions');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateDhcpOptions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateDhcpOptions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AssociateDhcpOptions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AssociateDhcpOptions" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AssociateDhcpOptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateDhcpOptions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateDhcpOptions');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateDhcpOptions');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateDhcpOptions' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateDhcpOptions' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateDhcpOptions"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateDhcpOptions"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AssociateDhcpOptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateDhcpOptions";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AssociateDhcpOptions'
http POST '{{baseUrl}}/?Action=&Version=#Action=AssociateDhcpOptions'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AssociateDhcpOptions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AssociateDhcpOptions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AssociateEnclaveCertificateIamRole
{{baseUrl}}/#Action=AssociateEnclaveCertificateIamRole
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AssociateEnclaveCertificateIamRole");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AssociateEnclaveCertificateIamRole" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AssociateEnclaveCertificateIamRole"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AssociateEnclaveCertificateIamRole"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AssociateEnclaveCertificateIamRole");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AssociateEnclaveCertificateIamRole"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AssociateEnclaveCertificateIamRole")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AssociateEnclaveCertificateIamRole"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateEnclaveCertificateIamRole")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AssociateEnclaveCertificateIamRole")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateEnclaveCertificateIamRole');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateEnclaveCertificateIamRole',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateEnclaveCertificateIamRole';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AssociateEnclaveCertificateIamRole',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateEnclaveCertificateIamRole")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateEnclaveCertificateIamRole',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AssociateEnclaveCertificateIamRole');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateEnclaveCertificateIamRole',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateEnclaveCertificateIamRole';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AssociateEnclaveCertificateIamRole"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AssociateEnclaveCertificateIamRole" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AssociateEnclaveCertificateIamRole",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateEnclaveCertificateIamRole');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateEnclaveCertificateIamRole');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateEnclaveCertificateIamRole');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateEnclaveCertificateIamRole' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateEnclaveCertificateIamRole' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateEnclaveCertificateIamRole"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateEnclaveCertificateIamRole"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AssociateEnclaveCertificateIamRole")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateEnclaveCertificateIamRole";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AssociateEnclaveCertificateIamRole'
http POST '{{baseUrl}}/?Action=&Version=#Action=AssociateEnclaveCertificateIamRole'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AssociateEnclaveCertificateIamRole'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AssociateEnclaveCertificateIamRole")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AssociateIamInstanceProfile
{{baseUrl}}/#Action=AssociateIamInstanceProfile
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AssociateIamInstanceProfile");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AssociateIamInstanceProfile" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AssociateIamInstanceProfile"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AssociateIamInstanceProfile"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AssociateIamInstanceProfile");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AssociateIamInstanceProfile"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AssociateIamInstanceProfile")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AssociateIamInstanceProfile"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateIamInstanceProfile")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AssociateIamInstanceProfile")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateIamInstanceProfile');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateIamInstanceProfile',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateIamInstanceProfile';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AssociateIamInstanceProfile',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateIamInstanceProfile")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateIamInstanceProfile',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AssociateIamInstanceProfile');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateIamInstanceProfile',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateIamInstanceProfile';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AssociateIamInstanceProfile"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AssociateIamInstanceProfile" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AssociateIamInstanceProfile",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateIamInstanceProfile');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateIamInstanceProfile');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateIamInstanceProfile');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateIamInstanceProfile' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateIamInstanceProfile' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateIamInstanceProfile"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateIamInstanceProfile"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AssociateIamInstanceProfile")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateIamInstanceProfile";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AssociateIamInstanceProfile'
http POST '{{baseUrl}}/?Action=&Version=#Action=AssociateIamInstanceProfile'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AssociateIamInstanceProfile'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AssociateIamInstanceProfile")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"IamInstanceProfileAssociation": {
"AssociationId": "iip-assoc-0e7736511a163c209",
"IamInstanceProfile": {
"Arn": "arn:aws:iam::123456789012:instance-profile/admin-role",
"Id": "AIPAJBLK7RKJKWDXVHIEC"
},
"InstanceId": "i-123456789abcde123",
"State": "associating"
}
}
POST
POST_AssociateInstanceEventWindow
{{baseUrl}}/#Action=AssociateInstanceEventWindow
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AssociateInstanceEventWindow");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AssociateInstanceEventWindow" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AssociateInstanceEventWindow"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AssociateInstanceEventWindow"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AssociateInstanceEventWindow");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AssociateInstanceEventWindow"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AssociateInstanceEventWindow")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AssociateInstanceEventWindow"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateInstanceEventWindow")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AssociateInstanceEventWindow")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateInstanceEventWindow');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateInstanceEventWindow',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateInstanceEventWindow';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AssociateInstanceEventWindow',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateInstanceEventWindow")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateInstanceEventWindow',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AssociateInstanceEventWindow');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateInstanceEventWindow',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateInstanceEventWindow';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AssociateInstanceEventWindow"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AssociateInstanceEventWindow" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AssociateInstanceEventWindow",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateInstanceEventWindow');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateInstanceEventWindow');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateInstanceEventWindow');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateInstanceEventWindow' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateInstanceEventWindow' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateInstanceEventWindow"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateInstanceEventWindow"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AssociateInstanceEventWindow")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateInstanceEventWindow";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AssociateInstanceEventWindow'
http POST '{{baseUrl}}/?Action=&Version=#Action=AssociateInstanceEventWindow'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AssociateInstanceEventWindow'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AssociateInstanceEventWindow")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AssociateIpamResourceDiscovery
{{baseUrl}}/#Action=AssociateIpamResourceDiscovery
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AssociateIpamResourceDiscovery");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AssociateIpamResourceDiscovery" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AssociateIpamResourceDiscovery"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AssociateIpamResourceDiscovery"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AssociateIpamResourceDiscovery");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AssociateIpamResourceDiscovery"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AssociateIpamResourceDiscovery")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AssociateIpamResourceDiscovery"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateIpamResourceDiscovery")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AssociateIpamResourceDiscovery")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateIpamResourceDiscovery');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateIpamResourceDiscovery',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateIpamResourceDiscovery';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AssociateIpamResourceDiscovery',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateIpamResourceDiscovery")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateIpamResourceDiscovery',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AssociateIpamResourceDiscovery');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateIpamResourceDiscovery',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateIpamResourceDiscovery';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AssociateIpamResourceDiscovery"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AssociateIpamResourceDiscovery" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AssociateIpamResourceDiscovery",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateIpamResourceDiscovery');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateIpamResourceDiscovery');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateIpamResourceDiscovery');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateIpamResourceDiscovery' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateIpamResourceDiscovery' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateIpamResourceDiscovery"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateIpamResourceDiscovery"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AssociateIpamResourceDiscovery")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateIpamResourceDiscovery";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AssociateIpamResourceDiscovery'
http POST '{{baseUrl}}/?Action=&Version=#Action=AssociateIpamResourceDiscovery'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AssociateIpamResourceDiscovery'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AssociateIpamResourceDiscovery")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AssociateNatGatewayAddress
{{baseUrl}}/#Action=AssociateNatGatewayAddress
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AssociateNatGatewayAddress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AssociateNatGatewayAddress" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AssociateNatGatewayAddress"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AssociateNatGatewayAddress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AssociateNatGatewayAddress");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AssociateNatGatewayAddress"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AssociateNatGatewayAddress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AssociateNatGatewayAddress"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateNatGatewayAddress")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AssociateNatGatewayAddress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateNatGatewayAddress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateNatGatewayAddress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateNatGatewayAddress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AssociateNatGatewayAddress',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateNatGatewayAddress")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateNatGatewayAddress',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AssociateNatGatewayAddress');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateNatGatewayAddress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateNatGatewayAddress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AssociateNatGatewayAddress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AssociateNatGatewayAddress" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AssociateNatGatewayAddress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateNatGatewayAddress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateNatGatewayAddress');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateNatGatewayAddress');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateNatGatewayAddress' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateNatGatewayAddress' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateNatGatewayAddress"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateNatGatewayAddress"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AssociateNatGatewayAddress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateNatGatewayAddress";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AssociateNatGatewayAddress'
http POST '{{baseUrl}}/?Action=&Version=#Action=AssociateNatGatewayAddress'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AssociateNatGatewayAddress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AssociateNatGatewayAddress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AssociateRouteTable
{{baseUrl}}/#Action=AssociateRouteTable
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AssociateRouteTable");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AssociateRouteTable" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AssociateRouteTable"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AssociateRouteTable"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AssociateRouteTable");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AssociateRouteTable"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AssociateRouteTable")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AssociateRouteTable"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateRouteTable")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AssociateRouteTable")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateRouteTable');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateRouteTable',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateRouteTable';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AssociateRouteTable',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateRouteTable")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateRouteTable',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AssociateRouteTable');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateRouteTable',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateRouteTable';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AssociateRouteTable"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AssociateRouteTable" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AssociateRouteTable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateRouteTable');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateRouteTable');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateRouteTable');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateRouteTable' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateRouteTable' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateRouteTable"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateRouteTable"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AssociateRouteTable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateRouteTable";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AssociateRouteTable'
http POST '{{baseUrl}}/?Action=&Version=#Action=AssociateRouteTable'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AssociateRouteTable'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AssociateRouteTable")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"AssociationId": "rtbassoc-781d0d1a"
}
POST
POST_AssociateSubnetCidrBlock
{{baseUrl}}/#Action=AssociateSubnetCidrBlock
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AssociateSubnetCidrBlock");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AssociateSubnetCidrBlock" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AssociateSubnetCidrBlock"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AssociateSubnetCidrBlock"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AssociateSubnetCidrBlock");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AssociateSubnetCidrBlock"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AssociateSubnetCidrBlock")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AssociateSubnetCidrBlock"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateSubnetCidrBlock")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AssociateSubnetCidrBlock")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateSubnetCidrBlock');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateSubnetCidrBlock',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateSubnetCidrBlock';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AssociateSubnetCidrBlock',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateSubnetCidrBlock")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateSubnetCidrBlock',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AssociateSubnetCidrBlock');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateSubnetCidrBlock',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateSubnetCidrBlock';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AssociateSubnetCidrBlock"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AssociateSubnetCidrBlock" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AssociateSubnetCidrBlock",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateSubnetCidrBlock');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateSubnetCidrBlock');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateSubnetCidrBlock');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateSubnetCidrBlock' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateSubnetCidrBlock' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateSubnetCidrBlock"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateSubnetCidrBlock"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AssociateSubnetCidrBlock")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateSubnetCidrBlock";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AssociateSubnetCidrBlock'
http POST '{{baseUrl}}/?Action=&Version=#Action=AssociateSubnetCidrBlock'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AssociateSubnetCidrBlock'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AssociateSubnetCidrBlock")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AssociateTransitGatewayMulticastDomain
{{baseUrl}}/#Action=AssociateTransitGatewayMulticastDomain
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayMulticastDomain");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AssociateTransitGatewayMulticastDomain" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayMulticastDomain"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayMulticastDomain"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayMulticastDomain");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayMulticastDomain"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayMulticastDomain")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayMulticastDomain"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayMulticastDomain")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayMulticastDomain")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayMulticastDomain');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateTransitGatewayMulticastDomain',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayMulticastDomain';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayMulticastDomain',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayMulticastDomain")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateTransitGatewayMulticastDomain',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AssociateTransitGatewayMulticastDomain');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateTransitGatewayMulticastDomain',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayMulticastDomain';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayMulticastDomain"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayMulticastDomain" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayMulticastDomain",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayMulticastDomain');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateTransitGatewayMulticastDomain');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateTransitGatewayMulticastDomain');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayMulticastDomain' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayMulticastDomain' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateTransitGatewayMulticastDomain"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateTransitGatewayMulticastDomain"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayMulticastDomain")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateTransitGatewayMulticastDomain";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayMulticastDomain'
http POST '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayMulticastDomain'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayMulticastDomain'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayMulticastDomain")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AssociateTransitGatewayPolicyTable
{{baseUrl}}/#Action=AssociateTransitGatewayPolicyTable
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayPolicyTable");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AssociateTransitGatewayPolicyTable" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayPolicyTable"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayPolicyTable"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayPolicyTable");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayPolicyTable"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayPolicyTable")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayPolicyTable"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayPolicyTable")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayPolicyTable")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayPolicyTable');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateTransitGatewayPolicyTable',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayPolicyTable';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayPolicyTable',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayPolicyTable")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateTransitGatewayPolicyTable',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AssociateTransitGatewayPolicyTable');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateTransitGatewayPolicyTable',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayPolicyTable';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayPolicyTable"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayPolicyTable" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayPolicyTable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayPolicyTable');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateTransitGatewayPolicyTable');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateTransitGatewayPolicyTable');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayPolicyTable' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayPolicyTable' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateTransitGatewayPolicyTable"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateTransitGatewayPolicyTable"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayPolicyTable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateTransitGatewayPolicyTable";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayPolicyTable'
http POST '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayPolicyTable'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayPolicyTable'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayPolicyTable")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AssociateTransitGatewayRouteTable
{{baseUrl}}/#Action=AssociateTransitGatewayRouteTable
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayRouteTable");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AssociateTransitGatewayRouteTable" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayRouteTable"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayRouteTable"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayRouteTable");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayRouteTable"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayRouteTable")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayRouteTable"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayRouteTable")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayRouteTable")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayRouteTable');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateTransitGatewayRouteTable',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayRouteTable';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayRouteTable',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayRouteTable")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateTransitGatewayRouteTable',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AssociateTransitGatewayRouteTable');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateTransitGatewayRouteTable',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayRouteTable';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayRouteTable"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayRouteTable" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayRouteTable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayRouteTable');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateTransitGatewayRouteTable');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateTransitGatewayRouteTable');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayRouteTable' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayRouteTable' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateTransitGatewayRouteTable"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateTransitGatewayRouteTable"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayRouteTable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateTransitGatewayRouteTable";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayRouteTable'
http POST '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayRouteTable'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayRouteTable'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AssociateTransitGatewayRouteTable")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AssociateTrunkInterface
{{baseUrl}}/#Action=AssociateTrunkInterface
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AssociateTrunkInterface");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AssociateTrunkInterface" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AssociateTrunkInterface"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AssociateTrunkInterface"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AssociateTrunkInterface");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AssociateTrunkInterface"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AssociateTrunkInterface")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AssociateTrunkInterface"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateTrunkInterface")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AssociateTrunkInterface")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateTrunkInterface');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateTrunkInterface',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateTrunkInterface';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AssociateTrunkInterface',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateTrunkInterface")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateTrunkInterface',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AssociateTrunkInterface');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateTrunkInterface',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateTrunkInterface';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AssociateTrunkInterface"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AssociateTrunkInterface" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AssociateTrunkInterface",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateTrunkInterface');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateTrunkInterface');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateTrunkInterface');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateTrunkInterface' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateTrunkInterface' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateTrunkInterface"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateTrunkInterface"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AssociateTrunkInterface")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateTrunkInterface";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AssociateTrunkInterface'
http POST '{{baseUrl}}/?Action=&Version=#Action=AssociateTrunkInterface'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AssociateTrunkInterface'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AssociateTrunkInterface")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AssociateVpcCidrBlock
{{baseUrl}}/#Action=AssociateVpcCidrBlock
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AssociateVpcCidrBlock");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AssociateVpcCidrBlock" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AssociateVpcCidrBlock"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AssociateVpcCidrBlock"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AssociateVpcCidrBlock");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AssociateVpcCidrBlock"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AssociateVpcCidrBlock")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AssociateVpcCidrBlock"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateVpcCidrBlock")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AssociateVpcCidrBlock")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateVpcCidrBlock');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateVpcCidrBlock',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateVpcCidrBlock';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AssociateVpcCidrBlock',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AssociateVpcCidrBlock")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateVpcCidrBlock',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AssociateVpcCidrBlock');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AssociateVpcCidrBlock',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AssociateVpcCidrBlock';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AssociateVpcCidrBlock"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AssociateVpcCidrBlock" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AssociateVpcCidrBlock",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AssociateVpcCidrBlock');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AssociateVpcCidrBlock');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AssociateVpcCidrBlock');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateVpcCidrBlock' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AssociateVpcCidrBlock' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AssociateVpcCidrBlock"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AssociateVpcCidrBlock"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AssociateVpcCidrBlock")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AssociateVpcCidrBlock";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AssociateVpcCidrBlock'
http POST '{{baseUrl}}/?Action=&Version=#Action=AssociateVpcCidrBlock'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AssociateVpcCidrBlock'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AssociateVpcCidrBlock")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AttachClassicLinkVpc
{{baseUrl}}/#Action=AttachClassicLinkVpc
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AttachClassicLinkVpc");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AttachClassicLinkVpc" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AttachClassicLinkVpc"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AttachClassicLinkVpc"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AttachClassicLinkVpc");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AttachClassicLinkVpc"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AttachClassicLinkVpc")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AttachClassicLinkVpc"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AttachClassicLinkVpc")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AttachClassicLinkVpc")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AttachClassicLinkVpc');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AttachClassicLinkVpc',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AttachClassicLinkVpc';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AttachClassicLinkVpc',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AttachClassicLinkVpc")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AttachClassicLinkVpc',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AttachClassicLinkVpc');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AttachClassicLinkVpc',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AttachClassicLinkVpc';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AttachClassicLinkVpc"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AttachClassicLinkVpc" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AttachClassicLinkVpc",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AttachClassicLinkVpc');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AttachClassicLinkVpc');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AttachClassicLinkVpc');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AttachClassicLinkVpc' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AttachClassicLinkVpc' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AttachClassicLinkVpc"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AttachClassicLinkVpc"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AttachClassicLinkVpc")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AttachClassicLinkVpc";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AttachClassicLinkVpc'
http POST '{{baseUrl}}/?Action=&Version=#Action=AttachClassicLinkVpc'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AttachClassicLinkVpc'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AttachClassicLinkVpc")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AttachInternetGateway
{{baseUrl}}/#Action=AttachInternetGateway
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AttachInternetGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AttachInternetGateway" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AttachInternetGateway"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AttachInternetGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AttachInternetGateway");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AttachInternetGateway"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AttachInternetGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AttachInternetGateway"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AttachInternetGateway")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AttachInternetGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AttachInternetGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AttachInternetGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AttachInternetGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AttachInternetGateway',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AttachInternetGateway")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AttachInternetGateway',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AttachInternetGateway');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AttachInternetGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AttachInternetGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AttachInternetGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AttachInternetGateway" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AttachInternetGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AttachInternetGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AttachInternetGateway');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AttachInternetGateway');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AttachInternetGateway' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AttachInternetGateway' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AttachInternetGateway"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AttachInternetGateway"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AttachInternetGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AttachInternetGateway";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AttachInternetGateway'
http POST '{{baseUrl}}/?Action=&Version=#Action=AttachInternetGateway'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AttachInternetGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AttachInternetGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AttachNetworkInterface
{{baseUrl}}/#Action=AttachNetworkInterface
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AttachNetworkInterface");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AttachNetworkInterface" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AttachNetworkInterface"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AttachNetworkInterface"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AttachNetworkInterface");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AttachNetworkInterface"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AttachNetworkInterface")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AttachNetworkInterface"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AttachNetworkInterface")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AttachNetworkInterface")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AttachNetworkInterface');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AttachNetworkInterface',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AttachNetworkInterface';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AttachNetworkInterface',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AttachNetworkInterface")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AttachNetworkInterface',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AttachNetworkInterface');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AttachNetworkInterface',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AttachNetworkInterface';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AttachNetworkInterface"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AttachNetworkInterface" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AttachNetworkInterface",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AttachNetworkInterface');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AttachNetworkInterface');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AttachNetworkInterface');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AttachNetworkInterface' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AttachNetworkInterface' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AttachNetworkInterface"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AttachNetworkInterface"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AttachNetworkInterface")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AttachNetworkInterface";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AttachNetworkInterface'
http POST '{{baseUrl}}/?Action=&Version=#Action=AttachNetworkInterface'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AttachNetworkInterface'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AttachNetworkInterface")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"AttachmentId": "eni-attach-66c4350a"
}
POST
POST_AttachVerifiedAccessTrustProvider
{{baseUrl}}/#Action=AttachVerifiedAccessTrustProvider
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AttachVerifiedAccessTrustProvider");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AttachVerifiedAccessTrustProvider" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AttachVerifiedAccessTrustProvider"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AttachVerifiedAccessTrustProvider"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AttachVerifiedAccessTrustProvider");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AttachVerifiedAccessTrustProvider"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AttachVerifiedAccessTrustProvider")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AttachVerifiedAccessTrustProvider"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AttachVerifiedAccessTrustProvider")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AttachVerifiedAccessTrustProvider")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AttachVerifiedAccessTrustProvider');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AttachVerifiedAccessTrustProvider',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AttachVerifiedAccessTrustProvider';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AttachVerifiedAccessTrustProvider',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AttachVerifiedAccessTrustProvider")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AttachVerifiedAccessTrustProvider',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AttachVerifiedAccessTrustProvider');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AttachVerifiedAccessTrustProvider',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AttachVerifiedAccessTrustProvider';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AttachVerifiedAccessTrustProvider"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AttachVerifiedAccessTrustProvider" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AttachVerifiedAccessTrustProvider",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AttachVerifiedAccessTrustProvider');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AttachVerifiedAccessTrustProvider');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AttachVerifiedAccessTrustProvider');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AttachVerifiedAccessTrustProvider' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AttachVerifiedAccessTrustProvider' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AttachVerifiedAccessTrustProvider"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AttachVerifiedAccessTrustProvider"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AttachVerifiedAccessTrustProvider")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AttachVerifiedAccessTrustProvider";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AttachVerifiedAccessTrustProvider'
http POST '{{baseUrl}}/?Action=&Version=#Action=AttachVerifiedAccessTrustProvider'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AttachVerifiedAccessTrustProvider'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AttachVerifiedAccessTrustProvider")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AttachVolume
{{baseUrl}}/#Action=AttachVolume
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AttachVolume");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AttachVolume" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AttachVolume"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AttachVolume"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AttachVolume");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AttachVolume"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AttachVolume")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AttachVolume"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AttachVolume")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AttachVolume")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AttachVolume');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AttachVolume',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AttachVolume';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AttachVolume',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AttachVolume")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AttachVolume',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AttachVolume');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AttachVolume',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AttachVolume';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AttachVolume"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AttachVolume" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AttachVolume",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AttachVolume');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AttachVolume');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AttachVolume');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AttachVolume' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AttachVolume' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AttachVolume"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AttachVolume"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AttachVolume")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AttachVolume";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AttachVolume'
http POST '{{baseUrl}}/?Action=&Version=#Action=AttachVolume'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AttachVolume'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AttachVolume")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"AttachTime": "2014-02-27T19:23:06.000Z",
"Device": "/dev/sdb",
"InstanceId": "i-1234567890abcdef0",
"State": "detaching",
"VolumeId": "vol-049df61146c4d7901"
}
POST
POST_AttachVpnGateway
{{baseUrl}}/#Action=AttachVpnGateway
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AttachVpnGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AttachVpnGateway" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AttachVpnGateway"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AttachVpnGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AttachVpnGateway");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AttachVpnGateway"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AttachVpnGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AttachVpnGateway"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AttachVpnGateway")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AttachVpnGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AttachVpnGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AttachVpnGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AttachVpnGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AttachVpnGateway',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AttachVpnGateway")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AttachVpnGateway',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AttachVpnGateway');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AttachVpnGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AttachVpnGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AttachVpnGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AttachVpnGateway" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AttachVpnGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AttachVpnGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AttachVpnGateway');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AttachVpnGateway');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AttachVpnGateway' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AttachVpnGateway' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AttachVpnGateway"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AttachVpnGateway"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AttachVpnGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AttachVpnGateway";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AttachVpnGateway'
http POST '{{baseUrl}}/?Action=&Version=#Action=AttachVpnGateway'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AttachVpnGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AttachVpnGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AuthorizeClientVpnIngress
{{baseUrl}}/#Action=AuthorizeClientVpnIngress
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AuthorizeClientVpnIngress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AuthorizeClientVpnIngress" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AuthorizeClientVpnIngress"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AuthorizeClientVpnIngress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AuthorizeClientVpnIngress");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AuthorizeClientVpnIngress"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AuthorizeClientVpnIngress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AuthorizeClientVpnIngress"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AuthorizeClientVpnIngress")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AuthorizeClientVpnIngress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AuthorizeClientVpnIngress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AuthorizeClientVpnIngress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AuthorizeClientVpnIngress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AuthorizeClientVpnIngress',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AuthorizeClientVpnIngress")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AuthorizeClientVpnIngress',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AuthorizeClientVpnIngress');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AuthorizeClientVpnIngress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AuthorizeClientVpnIngress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AuthorizeClientVpnIngress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AuthorizeClientVpnIngress" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AuthorizeClientVpnIngress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AuthorizeClientVpnIngress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AuthorizeClientVpnIngress');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AuthorizeClientVpnIngress');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AuthorizeClientVpnIngress' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AuthorizeClientVpnIngress' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AuthorizeClientVpnIngress"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AuthorizeClientVpnIngress"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AuthorizeClientVpnIngress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AuthorizeClientVpnIngress";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AuthorizeClientVpnIngress'
http POST '{{baseUrl}}/?Action=&Version=#Action=AuthorizeClientVpnIngress'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AuthorizeClientVpnIngress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AuthorizeClientVpnIngress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_AuthorizeSecurityGroupEgress
{{baseUrl}}/#Action=AuthorizeSecurityGroupEgress
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupEgress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AuthorizeSecurityGroupEgress" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupEgress"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupEgress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupEgress");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupEgress"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupEgress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupEgress"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupEgress")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupEgress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupEgress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AuthorizeSecurityGroupEgress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupEgress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupEgress',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupEgress")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AuthorizeSecurityGroupEgress',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AuthorizeSecurityGroupEgress');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AuthorizeSecurityGroupEgress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupEgress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupEgress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupEgress" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupEgress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupEgress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AuthorizeSecurityGroupEgress');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AuthorizeSecurityGroupEgress');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupEgress' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupEgress' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AuthorizeSecurityGroupEgress"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AuthorizeSecurityGroupEgress"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupEgress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AuthorizeSecurityGroupEgress";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupEgress'
http POST '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupEgress'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupEgress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupEgress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{}
POST
POST_AuthorizeSecurityGroupIngress
{{baseUrl}}/#Action=AuthorizeSecurityGroupIngress
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=AuthorizeSecurityGroupIngress" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AuthorizeSecurityGroupIngress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AuthorizeSecurityGroupIngress',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=AuthorizeSecurityGroupIngress');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=AuthorizeSecurityGroupIngress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=AuthorizeSecurityGroupIngress');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=AuthorizeSecurityGroupIngress');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=AuthorizeSecurityGroupIngress"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=AuthorizeSecurityGroupIngress"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=AuthorizeSecurityGroupIngress";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress'
http POST '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=AuthorizeSecurityGroupIngress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{}
POST
POST_BundleInstance
{{baseUrl}}/#Action=BundleInstance
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=BundleInstance");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=BundleInstance" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=BundleInstance"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=BundleInstance"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=BundleInstance");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=BundleInstance"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=BundleInstance")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=BundleInstance"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=BundleInstance")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=BundleInstance")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=BundleInstance');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=BundleInstance',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=BundleInstance';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=BundleInstance',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=BundleInstance")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=BundleInstance',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=BundleInstance');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=BundleInstance',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=BundleInstance';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=BundleInstance"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=BundleInstance" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=BundleInstance",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=BundleInstance');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=BundleInstance');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=BundleInstance');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=BundleInstance' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=BundleInstance' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=BundleInstance"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=BundleInstance"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=BundleInstance")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=BundleInstance";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=BundleInstance'
http POST '{{baseUrl}}/?Action=&Version=#Action=BundleInstance'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=BundleInstance'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=BundleInstance")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CancelBundleTask
{{baseUrl}}/#Action=CancelBundleTask
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CancelBundleTask");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CancelBundleTask" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CancelBundleTask"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CancelBundleTask"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CancelBundleTask");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CancelBundleTask"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CancelBundleTask")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CancelBundleTask"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CancelBundleTask")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CancelBundleTask")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CancelBundleTask');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelBundleTask',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CancelBundleTask';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CancelBundleTask',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CancelBundleTask")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelBundleTask',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CancelBundleTask');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelBundleTask',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CancelBundleTask';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CancelBundleTask"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CancelBundleTask" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CancelBundleTask",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CancelBundleTask');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CancelBundleTask');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CancelBundleTask');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CancelBundleTask' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CancelBundleTask' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CancelBundleTask"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CancelBundleTask"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CancelBundleTask")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CancelBundleTask";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CancelBundleTask'
http POST '{{baseUrl}}/?Action=&Version=#Action=CancelBundleTask'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CancelBundleTask'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CancelBundleTask")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CancelCapacityReservation
{{baseUrl}}/#Action=CancelCapacityReservation
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CancelCapacityReservation" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservation"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservation");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservation"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservation"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservation")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelCapacityReservation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservation',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservation")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelCapacityReservation',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CancelCapacityReservation');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelCapacityReservation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservation" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CancelCapacityReservation');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CancelCapacityReservation');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservation' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservation' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CancelCapacityReservation"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CancelCapacityReservation"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CancelCapacityReservation";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservation'
http POST '{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservation'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CancelCapacityReservationFleets
{{baseUrl}}/#Action=CancelCapacityReservationFleets
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservationFleets");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CancelCapacityReservationFleets" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservationFleets"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservationFleets"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservationFleets");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservationFleets"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservationFleets")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservationFleets"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservationFleets")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservationFleets")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservationFleets');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelCapacityReservationFleets',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservationFleets';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservationFleets',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservationFleets")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelCapacityReservationFleets',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CancelCapacityReservationFleets');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelCapacityReservationFleets',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservationFleets';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservationFleets"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservationFleets" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservationFleets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservationFleets');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CancelCapacityReservationFleets');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CancelCapacityReservationFleets');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservationFleets' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservationFleets' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CancelCapacityReservationFleets"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CancelCapacityReservationFleets"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservationFleets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CancelCapacityReservationFleets";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservationFleets'
http POST '{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservationFleets'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservationFleets'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CancelCapacityReservationFleets")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CancelConversionTask
{{baseUrl}}/#Action=CancelConversionTask
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CancelConversionTask");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CancelConversionTask" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CancelConversionTask"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CancelConversionTask"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CancelConversionTask");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CancelConversionTask"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CancelConversionTask")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CancelConversionTask"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CancelConversionTask")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CancelConversionTask")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CancelConversionTask');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelConversionTask',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CancelConversionTask';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CancelConversionTask',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CancelConversionTask")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelConversionTask',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CancelConversionTask');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelConversionTask',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CancelConversionTask';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CancelConversionTask"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CancelConversionTask" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CancelConversionTask",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CancelConversionTask');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CancelConversionTask');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CancelConversionTask');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CancelConversionTask' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CancelConversionTask' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CancelConversionTask"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CancelConversionTask"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CancelConversionTask")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CancelConversionTask";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CancelConversionTask'
http POST '{{baseUrl}}/?Action=&Version=#Action=CancelConversionTask'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CancelConversionTask'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CancelConversionTask")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CancelExportTask
{{baseUrl}}/#Action=CancelExportTask
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CancelExportTask");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CancelExportTask" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CancelExportTask"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CancelExportTask"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CancelExportTask");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CancelExportTask"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CancelExportTask")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CancelExportTask"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CancelExportTask")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CancelExportTask")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CancelExportTask');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelExportTask',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CancelExportTask';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CancelExportTask',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CancelExportTask")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelExportTask',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CancelExportTask');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelExportTask',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CancelExportTask';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CancelExportTask"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CancelExportTask" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CancelExportTask",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CancelExportTask');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CancelExportTask');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CancelExportTask');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CancelExportTask' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CancelExportTask' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CancelExportTask"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CancelExportTask"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CancelExportTask")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CancelExportTask";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CancelExportTask'
http POST '{{baseUrl}}/?Action=&Version=#Action=CancelExportTask'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CancelExportTask'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CancelExportTask")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CancelImageLaunchPermission
{{baseUrl}}/#Action=CancelImageLaunchPermission
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CancelImageLaunchPermission");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CancelImageLaunchPermission" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CancelImageLaunchPermission"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CancelImageLaunchPermission"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CancelImageLaunchPermission");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CancelImageLaunchPermission"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CancelImageLaunchPermission")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CancelImageLaunchPermission"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CancelImageLaunchPermission")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CancelImageLaunchPermission")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CancelImageLaunchPermission');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelImageLaunchPermission',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CancelImageLaunchPermission';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CancelImageLaunchPermission',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CancelImageLaunchPermission")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelImageLaunchPermission',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CancelImageLaunchPermission');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelImageLaunchPermission',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CancelImageLaunchPermission';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CancelImageLaunchPermission"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CancelImageLaunchPermission" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CancelImageLaunchPermission",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CancelImageLaunchPermission');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CancelImageLaunchPermission');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CancelImageLaunchPermission');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CancelImageLaunchPermission' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CancelImageLaunchPermission' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CancelImageLaunchPermission"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CancelImageLaunchPermission"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CancelImageLaunchPermission")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CancelImageLaunchPermission";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CancelImageLaunchPermission'
http POST '{{baseUrl}}/?Action=&Version=#Action=CancelImageLaunchPermission'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CancelImageLaunchPermission'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CancelImageLaunchPermission")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CancelImportTask
{{baseUrl}}/#Action=CancelImportTask
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CancelImportTask");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CancelImportTask" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CancelImportTask"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CancelImportTask"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CancelImportTask");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CancelImportTask"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CancelImportTask")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CancelImportTask"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CancelImportTask")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CancelImportTask")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CancelImportTask');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelImportTask',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CancelImportTask';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CancelImportTask',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CancelImportTask")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelImportTask',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CancelImportTask');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelImportTask',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CancelImportTask';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CancelImportTask"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CancelImportTask" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CancelImportTask",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CancelImportTask');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CancelImportTask');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CancelImportTask');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CancelImportTask' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CancelImportTask' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CancelImportTask"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CancelImportTask"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CancelImportTask")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CancelImportTask";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CancelImportTask'
http POST '{{baseUrl}}/?Action=&Version=#Action=CancelImportTask'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CancelImportTask'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CancelImportTask")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CancelReservedInstancesListing
{{baseUrl}}/#Action=CancelReservedInstancesListing
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CancelReservedInstancesListing");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CancelReservedInstancesListing" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CancelReservedInstancesListing"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CancelReservedInstancesListing"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CancelReservedInstancesListing");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CancelReservedInstancesListing"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CancelReservedInstancesListing")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CancelReservedInstancesListing"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CancelReservedInstancesListing")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CancelReservedInstancesListing")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CancelReservedInstancesListing');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelReservedInstancesListing',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CancelReservedInstancesListing';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CancelReservedInstancesListing',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CancelReservedInstancesListing")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelReservedInstancesListing',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CancelReservedInstancesListing');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelReservedInstancesListing',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CancelReservedInstancesListing';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CancelReservedInstancesListing"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CancelReservedInstancesListing" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CancelReservedInstancesListing",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CancelReservedInstancesListing');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CancelReservedInstancesListing');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CancelReservedInstancesListing');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CancelReservedInstancesListing' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CancelReservedInstancesListing' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CancelReservedInstancesListing"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CancelReservedInstancesListing"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CancelReservedInstancesListing")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CancelReservedInstancesListing";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CancelReservedInstancesListing'
http POST '{{baseUrl}}/?Action=&Version=#Action=CancelReservedInstancesListing'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CancelReservedInstancesListing'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CancelReservedInstancesListing")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CancelSpotFleetRequests
{{baseUrl}}/#Action=CancelSpotFleetRequests
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CancelSpotFleetRequests");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CancelSpotFleetRequests" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CancelSpotFleetRequests"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CancelSpotFleetRequests"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CancelSpotFleetRequests");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CancelSpotFleetRequests"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CancelSpotFleetRequests")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CancelSpotFleetRequests"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CancelSpotFleetRequests")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CancelSpotFleetRequests")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CancelSpotFleetRequests');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelSpotFleetRequests',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CancelSpotFleetRequests';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CancelSpotFleetRequests',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CancelSpotFleetRequests")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelSpotFleetRequests',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CancelSpotFleetRequests');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelSpotFleetRequests',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CancelSpotFleetRequests';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CancelSpotFleetRequests"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CancelSpotFleetRequests" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CancelSpotFleetRequests",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CancelSpotFleetRequests');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CancelSpotFleetRequests');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CancelSpotFleetRequests');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CancelSpotFleetRequests' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CancelSpotFleetRequests' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CancelSpotFleetRequests"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CancelSpotFleetRequests"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CancelSpotFleetRequests")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CancelSpotFleetRequests";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CancelSpotFleetRequests'
http POST '{{baseUrl}}/?Action=&Version=#Action=CancelSpotFleetRequests'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CancelSpotFleetRequests'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CancelSpotFleetRequests")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"SuccessfulFleetRequests": [
{
"CurrentSpotFleetRequestState": "cancelled_terminating",
"PreviousSpotFleetRequestState": "active",
"SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE"
}
]
}
POST
POST_CancelSpotInstanceRequests
{{baseUrl}}/#Action=CancelSpotInstanceRequests
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CancelSpotInstanceRequests");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CancelSpotInstanceRequests" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CancelSpotInstanceRequests"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CancelSpotInstanceRequests"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CancelSpotInstanceRequests");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CancelSpotInstanceRequests"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CancelSpotInstanceRequests")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CancelSpotInstanceRequests"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CancelSpotInstanceRequests")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CancelSpotInstanceRequests")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CancelSpotInstanceRequests');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelSpotInstanceRequests',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CancelSpotInstanceRequests';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CancelSpotInstanceRequests',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CancelSpotInstanceRequests")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelSpotInstanceRequests',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CancelSpotInstanceRequests');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CancelSpotInstanceRequests',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CancelSpotInstanceRequests';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CancelSpotInstanceRequests"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CancelSpotInstanceRequests" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CancelSpotInstanceRequests",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CancelSpotInstanceRequests');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CancelSpotInstanceRequests');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CancelSpotInstanceRequests');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CancelSpotInstanceRequests' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CancelSpotInstanceRequests' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CancelSpotInstanceRequests"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CancelSpotInstanceRequests"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CancelSpotInstanceRequests")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CancelSpotInstanceRequests";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CancelSpotInstanceRequests'
http POST '{{baseUrl}}/?Action=&Version=#Action=CancelSpotInstanceRequests'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CancelSpotInstanceRequests'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CancelSpotInstanceRequests")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"CancelledSpotInstanceRequests": [
{
"SpotInstanceRequestId": "sir-08b93456",
"State": "cancelled"
}
]
}
POST
POST_ConfirmProductInstance
{{baseUrl}}/#Action=ConfirmProductInstance
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ConfirmProductInstance");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ConfirmProductInstance" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ConfirmProductInstance"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ConfirmProductInstance"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ConfirmProductInstance");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ConfirmProductInstance"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ConfirmProductInstance")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ConfirmProductInstance"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ConfirmProductInstance")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ConfirmProductInstance")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ConfirmProductInstance');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ConfirmProductInstance',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ConfirmProductInstance';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ConfirmProductInstance',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ConfirmProductInstance")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ConfirmProductInstance',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ConfirmProductInstance');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ConfirmProductInstance',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ConfirmProductInstance';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ConfirmProductInstance"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ConfirmProductInstance" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ConfirmProductInstance",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ConfirmProductInstance');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ConfirmProductInstance');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ConfirmProductInstance');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ConfirmProductInstance' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ConfirmProductInstance' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ConfirmProductInstance"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ConfirmProductInstance"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ConfirmProductInstance")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ConfirmProductInstance";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ConfirmProductInstance'
http POST '{{baseUrl}}/?Action=&Version=#Action=ConfirmProductInstance'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ConfirmProductInstance'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ConfirmProductInstance")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"OwnerId": "123456789012"
}
POST
POST_CopyFpgaImage
{{baseUrl}}/#Action=CopyFpgaImage
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CopyFpgaImage");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CopyFpgaImage" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CopyFpgaImage"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CopyFpgaImage"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CopyFpgaImage");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CopyFpgaImage"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CopyFpgaImage")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CopyFpgaImage"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CopyFpgaImage")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CopyFpgaImage")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CopyFpgaImage');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CopyFpgaImage',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CopyFpgaImage';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CopyFpgaImage',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CopyFpgaImage")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CopyFpgaImage',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CopyFpgaImage');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CopyFpgaImage',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CopyFpgaImage';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CopyFpgaImage"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CopyFpgaImage" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CopyFpgaImage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CopyFpgaImage');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CopyFpgaImage');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CopyFpgaImage');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CopyFpgaImage' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CopyFpgaImage' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CopyFpgaImage"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CopyFpgaImage"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CopyFpgaImage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CopyFpgaImage";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CopyFpgaImage'
http POST '{{baseUrl}}/?Action=&Version=#Action=CopyFpgaImage'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CopyFpgaImage'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CopyFpgaImage")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CopyImage
{{baseUrl}}/#Action=CopyImage
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CopyImage");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CopyImage" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CopyImage"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CopyImage"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CopyImage");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CopyImage"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CopyImage")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CopyImage"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CopyImage")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CopyImage")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CopyImage');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CopyImage',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CopyImage';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CopyImage',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CopyImage")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CopyImage',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CopyImage');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CopyImage',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CopyImage';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CopyImage"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CopyImage" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CopyImage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CopyImage');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CopyImage');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CopyImage');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CopyImage' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CopyImage' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CopyImage"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CopyImage"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CopyImage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CopyImage";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CopyImage'
http POST '{{baseUrl}}/?Action=&Version=#Action=CopyImage'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CopyImage'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CopyImage")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"ImageId": "ami-438bea42"
}
POST
POST_CopySnapshot
{{baseUrl}}/#Action=CopySnapshot
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CopySnapshot");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CopySnapshot" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CopySnapshot"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CopySnapshot"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CopySnapshot");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CopySnapshot"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CopySnapshot")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CopySnapshot"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CopySnapshot")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CopySnapshot")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CopySnapshot');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CopySnapshot',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CopySnapshot';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CopySnapshot',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CopySnapshot")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CopySnapshot',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CopySnapshot');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CopySnapshot',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CopySnapshot';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CopySnapshot"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CopySnapshot" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CopySnapshot",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CopySnapshot');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CopySnapshot');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CopySnapshot');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CopySnapshot' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CopySnapshot' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CopySnapshot"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CopySnapshot"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CopySnapshot")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CopySnapshot";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CopySnapshot'
http POST '{{baseUrl}}/?Action=&Version=#Action=CopySnapshot'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CopySnapshot'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CopySnapshot")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"SnapshotId": "snap-066877671789bd71b"
}
POST
POST_CreateCapacityReservation
{{baseUrl}}/#Action=CreateCapacityReservation
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateCapacityReservation" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservation"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservation");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservation"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservation"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservation")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateCapacityReservation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservation',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservation")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateCapacityReservation',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateCapacityReservation');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateCapacityReservation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservation" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateCapacityReservation');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateCapacityReservation');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservation' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservation' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateCapacityReservation"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateCapacityReservation"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateCapacityReservation";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservation'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservation'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateCapacityReservationFleet
{{baseUrl}}/#Action=CreateCapacityReservationFleet
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservationFleet");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateCapacityReservationFleet" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservationFleet"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservationFleet"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservationFleet");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservationFleet"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservationFleet")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservationFleet"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservationFleet")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservationFleet")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservationFleet');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateCapacityReservationFleet',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservationFleet';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservationFleet',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservationFleet")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateCapacityReservationFleet',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateCapacityReservationFleet');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateCapacityReservationFleet',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservationFleet';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservationFleet"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservationFleet" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservationFleet",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservationFleet');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateCapacityReservationFleet');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateCapacityReservationFleet');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservationFleet' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservationFleet' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateCapacityReservationFleet"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateCapacityReservationFleet"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservationFleet")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateCapacityReservationFleet";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservationFleet'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservationFleet'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservationFleet'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateCapacityReservationFleet")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateCarrierGateway
{{baseUrl}}/#Action=CreateCarrierGateway
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateCarrierGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateCarrierGateway" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateCarrierGateway"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateCarrierGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateCarrierGateway");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateCarrierGateway"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateCarrierGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateCarrierGateway"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateCarrierGateway")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateCarrierGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateCarrierGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateCarrierGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateCarrierGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateCarrierGateway',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateCarrierGateway")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateCarrierGateway',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateCarrierGateway');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateCarrierGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateCarrierGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateCarrierGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateCarrierGateway" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateCarrierGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateCarrierGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateCarrierGateway');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateCarrierGateway');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateCarrierGateway' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateCarrierGateway' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateCarrierGateway"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateCarrierGateway"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateCarrierGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateCarrierGateway";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateCarrierGateway'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateCarrierGateway'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateCarrierGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateCarrierGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateClientVpnEndpoint
{{baseUrl}}/#Action=CreateClientVpnEndpoint
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnEndpoint");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateClientVpnEndpoint" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnEndpoint"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnEndpoint"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnEndpoint");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnEndpoint"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnEndpoint")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnEndpoint"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnEndpoint")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnEndpoint")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnEndpoint');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateClientVpnEndpoint',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnEndpoint';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnEndpoint',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnEndpoint")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateClientVpnEndpoint',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateClientVpnEndpoint');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateClientVpnEndpoint',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnEndpoint';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnEndpoint"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnEndpoint" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnEndpoint",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnEndpoint');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateClientVpnEndpoint');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateClientVpnEndpoint');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnEndpoint' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnEndpoint' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateClientVpnEndpoint"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateClientVpnEndpoint"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnEndpoint")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateClientVpnEndpoint";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnEndpoint'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnEndpoint'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnEndpoint'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnEndpoint")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateClientVpnRoute
{{baseUrl}}/#Action=CreateClientVpnRoute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnRoute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateClientVpnRoute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnRoute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnRoute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnRoute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnRoute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnRoute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnRoute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnRoute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnRoute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnRoute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateClientVpnRoute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnRoute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnRoute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnRoute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateClientVpnRoute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateClientVpnRoute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateClientVpnRoute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnRoute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnRoute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnRoute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnRoute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnRoute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateClientVpnRoute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateClientVpnRoute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnRoute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnRoute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateClientVpnRoute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateClientVpnRoute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnRoute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateClientVpnRoute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnRoute'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnRoute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnRoute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateClientVpnRoute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateCoipCidr
{{baseUrl}}/#Action=CreateCoipCidr
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateCoipCidr");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateCoipCidr" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateCoipCidr"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateCoipCidr"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateCoipCidr");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateCoipCidr"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateCoipCidr")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateCoipCidr"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateCoipCidr")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateCoipCidr")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateCoipCidr');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateCoipCidr',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateCoipCidr';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateCoipCidr',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateCoipCidr")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateCoipCidr',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateCoipCidr');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateCoipCidr',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateCoipCidr';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateCoipCidr"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateCoipCidr" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateCoipCidr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateCoipCidr');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateCoipCidr');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateCoipCidr');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateCoipCidr' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateCoipCidr' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateCoipCidr"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateCoipCidr"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateCoipCidr")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateCoipCidr";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateCoipCidr'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateCoipCidr'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateCoipCidr'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateCoipCidr")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateCoipPool
{{baseUrl}}/#Action=CreateCoipPool
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateCoipPool");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateCoipPool" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateCoipPool"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateCoipPool"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateCoipPool");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateCoipPool"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateCoipPool")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateCoipPool"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateCoipPool")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateCoipPool")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateCoipPool');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateCoipPool',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateCoipPool';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateCoipPool',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateCoipPool")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateCoipPool',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateCoipPool');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateCoipPool',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateCoipPool';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateCoipPool"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateCoipPool" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateCoipPool",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateCoipPool');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateCoipPool');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateCoipPool');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateCoipPool' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateCoipPool' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateCoipPool"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateCoipPool"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateCoipPool")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateCoipPool";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateCoipPool'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateCoipPool'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateCoipPool'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateCoipPool")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateCustomerGateway
{{baseUrl}}/#Action=CreateCustomerGateway
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateCustomerGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateCustomerGateway" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateCustomerGateway"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateCustomerGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateCustomerGateway");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateCustomerGateway"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateCustomerGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateCustomerGateway"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateCustomerGateway")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateCustomerGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateCustomerGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateCustomerGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateCustomerGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateCustomerGateway',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateCustomerGateway")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateCustomerGateway',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateCustomerGateway');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateCustomerGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateCustomerGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateCustomerGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateCustomerGateway" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateCustomerGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateCustomerGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateCustomerGateway');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateCustomerGateway');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateCustomerGateway' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateCustomerGateway' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateCustomerGateway"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateCustomerGateway"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateCustomerGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateCustomerGateway";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateCustomerGateway'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateCustomerGateway'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateCustomerGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateCustomerGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"CustomerGateway": {
"BgpAsn": "65534",
"CustomerGatewayId": "cgw-0e11f167",
"IpAddress": "12.1.2.3",
"State": "available",
"Type": "ipsec.1"
}
}
POST
POST_CreateDefaultSubnet
{{baseUrl}}/#Action=CreateDefaultSubnet
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateDefaultSubnet");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateDefaultSubnet" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateDefaultSubnet"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateDefaultSubnet"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateDefaultSubnet");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateDefaultSubnet"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateDefaultSubnet")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateDefaultSubnet"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateDefaultSubnet")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateDefaultSubnet")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultSubnet');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateDefaultSubnet',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultSubnet';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultSubnet',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateDefaultSubnet")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateDefaultSubnet',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateDefaultSubnet');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateDefaultSubnet',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultSubnet';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateDefaultSubnet"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateDefaultSubnet" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateDefaultSubnet",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultSubnet');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateDefaultSubnet');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateDefaultSubnet');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultSubnet' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultSubnet' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateDefaultSubnet"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateDefaultSubnet"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateDefaultSubnet")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateDefaultSubnet";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultSubnet'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultSubnet'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultSubnet'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateDefaultSubnet")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateDefaultVpc
{{baseUrl}}/#Action=CreateDefaultVpc
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateDefaultVpc" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateDefaultVpc',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateDefaultVpc',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateDefaultVpc');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateDefaultVpc',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateDefaultVpc');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateDefaultVpc');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateDefaultVpc"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateDefaultVpc"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateDefaultVpc";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateDefaultVpc")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateDhcpOptions
{{baseUrl}}/#Action=CreateDhcpOptions
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateDhcpOptions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateDhcpOptions" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateDhcpOptions"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateDhcpOptions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateDhcpOptions");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateDhcpOptions"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateDhcpOptions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateDhcpOptions"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateDhcpOptions")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateDhcpOptions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateDhcpOptions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateDhcpOptions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateDhcpOptions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateDhcpOptions',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateDhcpOptions")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateDhcpOptions',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateDhcpOptions');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateDhcpOptions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateDhcpOptions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateDhcpOptions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateDhcpOptions" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateDhcpOptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateDhcpOptions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateDhcpOptions');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateDhcpOptions');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateDhcpOptions' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateDhcpOptions' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateDhcpOptions"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateDhcpOptions"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateDhcpOptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateDhcpOptions";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateDhcpOptions'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateDhcpOptions'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateDhcpOptions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateDhcpOptions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"DhcpOptions": {
"DhcpConfigurations": [
{
"Key": "domain-name-servers",
"Values": [
{
"Value": "10.2.5.2"
},
{
"Value": "10.2.5.1"
}
]
}
],
"DhcpOptionsId": "dopt-d9070ebb"
}
}
POST
POST_CreateEgressOnlyInternetGateway
{{baseUrl}}/#Action=CreateEgressOnlyInternetGateway
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateEgressOnlyInternetGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateEgressOnlyInternetGateway" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateEgressOnlyInternetGateway"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateEgressOnlyInternetGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateEgressOnlyInternetGateway");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateEgressOnlyInternetGateway"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateEgressOnlyInternetGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateEgressOnlyInternetGateway"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateEgressOnlyInternetGateway")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateEgressOnlyInternetGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateEgressOnlyInternetGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateEgressOnlyInternetGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateEgressOnlyInternetGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateEgressOnlyInternetGateway',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateEgressOnlyInternetGateway")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateEgressOnlyInternetGateway',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateEgressOnlyInternetGateway');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateEgressOnlyInternetGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateEgressOnlyInternetGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateEgressOnlyInternetGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateEgressOnlyInternetGateway" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateEgressOnlyInternetGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateEgressOnlyInternetGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateEgressOnlyInternetGateway');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateEgressOnlyInternetGateway');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateEgressOnlyInternetGateway' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateEgressOnlyInternetGateway' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateEgressOnlyInternetGateway"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateEgressOnlyInternetGateway"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateEgressOnlyInternetGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateEgressOnlyInternetGateway";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateEgressOnlyInternetGateway'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateEgressOnlyInternetGateway'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateEgressOnlyInternetGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateEgressOnlyInternetGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateFleet
{{baseUrl}}/#Action=CreateFleet
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateFleet");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateFleet" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateFleet"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateFleet"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateFleet");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateFleet"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateFleet")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateFleet"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateFleet")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateFleet")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateFleet');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateFleet',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateFleet';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateFleet',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateFleet")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateFleet',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateFleet');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateFleet',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateFleet';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateFleet"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateFleet" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateFleet",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateFleet');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateFleet');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateFleet');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateFleet' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateFleet' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateFleet"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateFleet"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateFleet")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateFleet";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateFleet'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateFleet'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateFleet'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateFleet")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateFlowLogs
{{baseUrl}}/#Action=CreateFlowLogs
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateFlowLogs");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateFlowLogs" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateFlowLogs"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateFlowLogs"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateFlowLogs");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateFlowLogs"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateFlowLogs")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateFlowLogs"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateFlowLogs")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateFlowLogs")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateFlowLogs');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateFlowLogs',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateFlowLogs';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateFlowLogs',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateFlowLogs")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateFlowLogs',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateFlowLogs');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateFlowLogs',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateFlowLogs';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateFlowLogs"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateFlowLogs" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateFlowLogs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateFlowLogs');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateFlowLogs');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateFlowLogs');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateFlowLogs' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateFlowLogs' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateFlowLogs"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateFlowLogs"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateFlowLogs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateFlowLogs";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateFlowLogs'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateFlowLogs'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateFlowLogs'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateFlowLogs")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateFpgaImage
{{baseUrl}}/#Action=CreateFpgaImage
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateFpgaImage");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateFpgaImage" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateFpgaImage"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateFpgaImage"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateFpgaImage");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateFpgaImage"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateFpgaImage")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateFpgaImage"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateFpgaImage")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateFpgaImage")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateFpgaImage');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateFpgaImage',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateFpgaImage';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateFpgaImage',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateFpgaImage")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateFpgaImage',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateFpgaImage');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateFpgaImage',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateFpgaImage';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateFpgaImage"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateFpgaImage" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateFpgaImage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateFpgaImage');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateFpgaImage');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateFpgaImage');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateFpgaImage' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateFpgaImage' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateFpgaImage"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateFpgaImage"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateFpgaImage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateFpgaImage";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateFpgaImage'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateFpgaImage'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateFpgaImage'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateFpgaImage")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateImage
{{baseUrl}}/#Action=CreateImage
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateImage");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateImage" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateImage"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateImage"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateImage");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateImage"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateImage")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateImage"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateImage")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateImage")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateImage');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateImage',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateImage';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateImage',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateImage")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateImage',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateImage');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateImage',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateImage';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateImage"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateImage" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateImage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateImage');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateImage');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateImage');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateImage' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateImage' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateImage"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateImage"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateImage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateImage";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateImage'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateImage'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateImage'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateImage")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"ImageId": "ami-1a2b3c4d"
}
POST
POST_CreateInstanceEventWindow
{{baseUrl}}/#Action=CreateInstanceEventWindow
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateInstanceEventWindow" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateInstanceEventWindow',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateInstanceEventWindow',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateInstanceEventWindow');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateInstanceEventWindow',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateInstanceEventWindow');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateInstanceEventWindow');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateInstanceEventWindow"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateInstanceEventWindow"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateInstanceEventWindow";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateInstanceEventWindow")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateInstanceExportTask
{{baseUrl}}/#Action=CreateInstanceExportTask
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateInstanceExportTask");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateInstanceExportTask" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateInstanceExportTask"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateInstanceExportTask"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateInstanceExportTask");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateInstanceExportTask"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateInstanceExportTask")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateInstanceExportTask"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateInstanceExportTask")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateInstanceExportTask")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceExportTask');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateInstanceExportTask',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceExportTask';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceExportTask',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateInstanceExportTask")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateInstanceExportTask',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateInstanceExportTask');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateInstanceExportTask',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceExportTask';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateInstanceExportTask"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateInstanceExportTask" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateInstanceExportTask",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceExportTask');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateInstanceExportTask');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateInstanceExportTask');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceExportTask' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceExportTask' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateInstanceExportTask"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateInstanceExportTask"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateInstanceExportTask")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateInstanceExportTask";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceExportTask'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceExportTask'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateInstanceExportTask'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateInstanceExportTask")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateInternetGateway
{{baseUrl}}/#Action=CreateInternetGateway
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateInternetGateway" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateInternetGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateInternetGateway',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateInternetGateway');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateInternetGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateInternetGateway');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateInternetGateway');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateInternetGateway"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateInternetGateway"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateInternetGateway";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateInternetGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"InternetGateway": {
"Attachments": [],
"InternetGatewayId": "igw-c0a643a9",
"Tags": []
}
}
POST
POST_CreateIpam
{{baseUrl}}/#Action=CreateIpam
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateIpam");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateIpam" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateIpam"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateIpam"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateIpam");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateIpam"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateIpam")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateIpam"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateIpam")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateIpam")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateIpam');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateIpam',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateIpam';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateIpam',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateIpam")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateIpam',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateIpam');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateIpam',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateIpam';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateIpam"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateIpam" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateIpam",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateIpam');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateIpam');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateIpam');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateIpam' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateIpam' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateIpam"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateIpam"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateIpam")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateIpam";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateIpam'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateIpam'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateIpam'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateIpam")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateIpamPool
{{baseUrl}}/#Action=CreateIpamPool
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateIpamPool");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateIpamPool" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateIpamPool"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateIpamPool"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateIpamPool");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateIpamPool"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateIpamPool")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateIpamPool"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateIpamPool")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateIpamPool")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateIpamPool');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateIpamPool',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateIpamPool';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateIpamPool',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateIpamPool")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateIpamPool',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateIpamPool');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateIpamPool',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateIpamPool';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateIpamPool"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateIpamPool" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateIpamPool",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateIpamPool');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateIpamPool');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateIpamPool');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateIpamPool' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateIpamPool' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateIpamPool"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateIpamPool"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateIpamPool")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateIpamPool";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateIpamPool'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateIpamPool'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateIpamPool'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateIpamPool")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateIpamResourceDiscovery
{{baseUrl}}/#Action=CreateIpamResourceDiscovery
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateIpamResourceDiscovery" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateIpamResourceDiscovery',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateIpamResourceDiscovery',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateIpamResourceDiscovery');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateIpamResourceDiscovery',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateIpamResourceDiscovery');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateIpamResourceDiscovery');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateIpamResourceDiscovery"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateIpamResourceDiscovery"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateIpamResourceDiscovery";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateIpamResourceDiscovery")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateIpamScope
{{baseUrl}}/#Action=CreateIpamScope
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateIpamScope");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateIpamScope" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateIpamScope"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateIpamScope"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateIpamScope");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateIpamScope"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateIpamScope")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateIpamScope"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateIpamScope")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateIpamScope")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateIpamScope');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateIpamScope',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateIpamScope';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateIpamScope',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateIpamScope")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateIpamScope',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateIpamScope');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateIpamScope',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateIpamScope';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateIpamScope"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateIpamScope" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateIpamScope",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateIpamScope');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateIpamScope');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateIpamScope');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateIpamScope' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateIpamScope' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateIpamScope"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateIpamScope"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateIpamScope")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateIpamScope";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateIpamScope'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateIpamScope'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateIpamScope'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateIpamScope")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateKeyPair
{{baseUrl}}/#Action=CreateKeyPair
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateKeyPair");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateKeyPair" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateKeyPair"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateKeyPair"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateKeyPair");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateKeyPair"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateKeyPair")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateKeyPair"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateKeyPair")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateKeyPair")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateKeyPair');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateKeyPair',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateKeyPair';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateKeyPair',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateKeyPair")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateKeyPair',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateKeyPair');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateKeyPair',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateKeyPair';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateKeyPair"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateKeyPair" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateKeyPair",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateKeyPair');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateKeyPair');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateKeyPair');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateKeyPair' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateKeyPair' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateKeyPair"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateKeyPair"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateKeyPair")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateKeyPair";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateKeyPair'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateKeyPair'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateKeyPair'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateKeyPair")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateLaunchTemplate
{{baseUrl}}/#Action=CreateLaunchTemplate
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplate");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateLaunchTemplate" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplate"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplate"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplate");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplate"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplate")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplate"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplate")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplate")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplate');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateLaunchTemplate',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplate';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplate',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplate")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateLaunchTemplate',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateLaunchTemplate');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateLaunchTemplate',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplate';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplate"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplate" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplate');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateLaunchTemplate');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateLaunchTemplate');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplate' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplate' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateLaunchTemplate"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateLaunchTemplate"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateLaunchTemplate";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplate'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplate'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplate'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplate")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"LaunchTemplate": {
"CreateTime": "2017-11-27T09:13:24.000Z",
"CreatedBy": "arn:aws:iam::123456789012:root",
"DefaultVersionNumber": 1,
"LatestVersionNumber": 1,
"LaunchTemplateId": "lt-01238c059e3466abc",
"LaunchTemplateName": "my-template"
}
}
POST
POST_CreateLaunchTemplateVersion
{{baseUrl}}/#Action=CreateLaunchTemplateVersion
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplateVersion");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateLaunchTemplateVersion" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplateVersion"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplateVersion"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplateVersion");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplateVersion"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplateVersion")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplateVersion"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplateVersion")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplateVersion")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplateVersion');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateLaunchTemplateVersion',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplateVersion';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplateVersion',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplateVersion")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateLaunchTemplateVersion',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateLaunchTemplateVersion');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateLaunchTemplateVersion',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplateVersion';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplateVersion"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplateVersion" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplateVersion",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplateVersion');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateLaunchTemplateVersion');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateLaunchTemplateVersion');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplateVersion' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplateVersion' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateLaunchTemplateVersion"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateLaunchTemplateVersion"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplateVersion")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateLaunchTemplateVersion";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplateVersion'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplateVersion'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplateVersion'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateLaunchTemplateVersion")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"LaunchTemplateVersion": {
"CreateTime": "2017-12-01T13:35:46.000Z",
"CreatedBy": "arn:aws:iam::123456789012:root",
"DefaultVersion": false,
"LaunchTemplateData": {
"ImageId": "ami-c998b6b2",
"InstanceType": "t2.micro",
"NetworkInterfaces": [
{
"AssociatePublicIpAddress": true,
"DeviceIndex": 0,
"Ipv6Addresses": [
{
"Ipv6Address": "2001:db8:1234:1a00::123"
}
],
"SubnetId": "subnet-7b16de0c"
}
]
},
"LaunchTemplateId": "lt-0abcd290751193123",
"LaunchTemplateName": "my-template",
"VersionDescription": "WebVersion2",
"VersionNumber": 2
}
}
POST
POST_CreateLocalGatewayRoute
{{baseUrl}}/#Action=CreateLocalGatewayRoute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRoute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateLocalGatewayRoute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRoute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRoute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRoute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRoute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRoute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRoute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRoute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRoute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRoute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateLocalGatewayRoute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRoute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRoute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRoute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateLocalGatewayRoute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateLocalGatewayRoute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateLocalGatewayRoute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRoute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRoute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRoute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRoute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRoute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateLocalGatewayRoute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateLocalGatewayRoute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRoute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRoute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateLocalGatewayRoute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateLocalGatewayRoute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRoute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateLocalGatewayRoute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRoute'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRoute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRoute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRoute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateLocalGatewayRouteTable
{{baseUrl}}/#Action=CreateLocalGatewayRouteTable
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTable");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateLocalGatewayRouteTable" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTable"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTable"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTable");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTable"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTable")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTable"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTable")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTable")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTable');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateLocalGatewayRouteTable',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTable';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTable',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTable")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateLocalGatewayRouteTable',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateLocalGatewayRouteTable');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateLocalGatewayRouteTable',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTable';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTable"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTable" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTable');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateLocalGatewayRouteTable');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateLocalGatewayRouteTable');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTable' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTable' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateLocalGatewayRouteTable"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateLocalGatewayRouteTable"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateLocalGatewayRouteTable";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTable'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTable'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTable'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTable")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation
{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateLocalGatewayRouteTableVpcAssociation
{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVpcAssociation
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVpcAssociation" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVpcAssociation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVpcAssociation',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVpcAssociation');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVpcAssociation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVpcAssociation');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVpcAssociation');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVpcAssociation"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVpcAssociation"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateLocalGatewayRouteTableVpcAssociation";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateLocalGatewayRouteTableVpcAssociation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateManagedPrefixList
{{baseUrl}}/#Action=CreateManagedPrefixList
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateManagedPrefixList");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateManagedPrefixList" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateManagedPrefixList"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateManagedPrefixList"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateManagedPrefixList");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateManagedPrefixList"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateManagedPrefixList")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateManagedPrefixList"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateManagedPrefixList")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateManagedPrefixList")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateManagedPrefixList');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateManagedPrefixList',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateManagedPrefixList';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateManagedPrefixList',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateManagedPrefixList")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateManagedPrefixList',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateManagedPrefixList');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateManagedPrefixList',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateManagedPrefixList';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateManagedPrefixList"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateManagedPrefixList" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateManagedPrefixList",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateManagedPrefixList');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateManagedPrefixList');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateManagedPrefixList');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateManagedPrefixList' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateManagedPrefixList' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateManagedPrefixList"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateManagedPrefixList"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateManagedPrefixList")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateManagedPrefixList";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateManagedPrefixList'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateManagedPrefixList'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateManagedPrefixList'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateManagedPrefixList")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateNatGateway
{{baseUrl}}/#Action=CreateNatGateway
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateNatGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateNatGateway" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateNatGateway"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateNatGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateNatGateway");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateNatGateway"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateNatGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateNatGateway"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateNatGateway")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateNatGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateNatGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateNatGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateNatGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateNatGateway',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateNatGateway")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateNatGateway',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateNatGateway');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateNatGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateNatGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateNatGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateNatGateway" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateNatGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateNatGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateNatGateway');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateNatGateway');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateNatGateway' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateNatGateway' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateNatGateway"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateNatGateway"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateNatGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateNatGateway";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateNatGateway'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateNatGateway'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateNatGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateNatGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"NatGateway": {
"CreateTime": "2015-12-17T12:45:26.732Z",
"NatGatewayAddresses": [
{
"AllocationId": "eipalloc-37fc1a52"
}
],
"NatGatewayId": "nat-08d48af2a8e83edfd",
"State": "pending",
"SubnetId": "subnet-1a2b3c4d",
"VpcId": "vpc-1122aabb"
}
}
POST
POST_CreateNetworkAcl
{{baseUrl}}/#Action=CreateNetworkAcl
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAcl");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateNetworkAcl" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAcl"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAcl"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAcl");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAcl"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAcl")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAcl"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAcl")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAcl")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAcl');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateNetworkAcl',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAcl';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAcl',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAcl")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateNetworkAcl',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateNetworkAcl');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateNetworkAcl',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAcl';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAcl"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAcl" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAcl",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAcl');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateNetworkAcl');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateNetworkAcl');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAcl' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAcl' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateNetworkAcl"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateNetworkAcl"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAcl")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateNetworkAcl";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAcl'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAcl'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAcl'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAcl")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"NetworkAcl": {
"Associations": [],
"Entries": [
{
"CidrBlock": "0.0.0.0/0",
"Egress": true,
"Protocol": "-1",
"RuleAction": "deny",
"RuleNumber": 32767
},
{
"CidrBlock": "0.0.0.0/0",
"Egress": false,
"Protocol": "-1",
"RuleAction": "deny",
"RuleNumber": 32767
}
],
"IsDefault": false,
"NetworkAclId": "acl-5fb85d36",
"Tags": [],
"VpcId": "vpc-a01106c2"
}
}
POST
POST_CreateNetworkAclEntry
{{baseUrl}}/#Action=CreateNetworkAclEntry
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAclEntry");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateNetworkAclEntry" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAclEntry"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAclEntry"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAclEntry");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAclEntry"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAclEntry")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAclEntry"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAclEntry")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAclEntry")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAclEntry');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateNetworkAclEntry',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAclEntry';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAclEntry',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAclEntry")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateNetworkAclEntry',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateNetworkAclEntry');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateNetworkAclEntry',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAclEntry';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAclEntry"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAclEntry" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAclEntry",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAclEntry');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateNetworkAclEntry');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateNetworkAclEntry');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAclEntry' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAclEntry' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateNetworkAclEntry"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateNetworkAclEntry"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAclEntry")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateNetworkAclEntry";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAclEntry'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAclEntry'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAclEntry'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkAclEntry")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateNetworkInsightsAccessScope
{{baseUrl}}/#Action=CreateNetworkInsightsAccessScope
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsAccessScope");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateNetworkInsightsAccessScope" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsAccessScope"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsAccessScope"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsAccessScope");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsAccessScope"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsAccessScope")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsAccessScope"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsAccessScope")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsAccessScope")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsAccessScope');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateNetworkInsightsAccessScope',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsAccessScope';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsAccessScope',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsAccessScope")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateNetworkInsightsAccessScope',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateNetworkInsightsAccessScope');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateNetworkInsightsAccessScope',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsAccessScope';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsAccessScope"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsAccessScope" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsAccessScope",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsAccessScope');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateNetworkInsightsAccessScope');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateNetworkInsightsAccessScope');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsAccessScope' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsAccessScope' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateNetworkInsightsAccessScope"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateNetworkInsightsAccessScope"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsAccessScope")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateNetworkInsightsAccessScope";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsAccessScope'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsAccessScope'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsAccessScope'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsAccessScope")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateNetworkInsightsPath
{{baseUrl}}/#Action=CreateNetworkInsightsPath
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsPath");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateNetworkInsightsPath" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsPath"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsPath"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsPath");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsPath"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsPath")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsPath"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsPath")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsPath")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsPath');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateNetworkInsightsPath',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsPath';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsPath',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsPath")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateNetworkInsightsPath',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateNetworkInsightsPath');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateNetworkInsightsPath',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsPath';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsPath"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsPath" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsPath",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsPath');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateNetworkInsightsPath');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateNetworkInsightsPath');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsPath' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsPath' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateNetworkInsightsPath"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateNetworkInsightsPath"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsPath")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateNetworkInsightsPath";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsPath'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsPath'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsPath'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInsightsPath")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateNetworkInterface
{{baseUrl}}/#Action=CreateNetworkInterface
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterface");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateNetworkInterface" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterface"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterface"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterface");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterface"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterface")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterface"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterface")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterface")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterface');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateNetworkInterface',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterface';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterface',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterface")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateNetworkInterface',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateNetworkInterface');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateNetworkInterface',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterface';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterface"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterface" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterface",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterface');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateNetworkInterface');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateNetworkInterface');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterface' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterface' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateNetworkInterface"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateNetworkInterface"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterface")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateNetworkInterface";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterface'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterface'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterface'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterface")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"NetworkInterface": {
"AvailabilityZone": "us-east-1d",
"Description": "my network interface",
"Groups": [
{
"GroupId": "sg-903004f8",
"GroupName": "default"
}
],
"MacAddress": "02:1a:80:41:52:9c",
"NetworkInterfaceId": "eni-e5aa89a3",
"OwnerId": "123456789012",
"PrivateIpAddress": "10.0.2.17",
"PrivateIpAddresses": [
{
"Primary": true,
"PrivateIpAddress": "10.0.2.17"
}
],
"RequesterManaged": false,
"SourceDestCheck": true,
"Status": "pending",
"SubnetId": "subnet-9d4a7b6c",
"TagSet": [],
"VpcId": "vpc-a01106c2"
}
}
POST
POST_CreateNetworkInterfacePermission
{{baseUrl}}/#Action=CreateNetworkInterfacePermission
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterfacePermission");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateNetworkInterfacePermission" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterfacePermission"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterfacePermission"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterfacePermission");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterfacePermission"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterfacePermission")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterfacePermission"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterfacePermission")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterfacePermission")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterfacePermission');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateNetworkInterfacePermission',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterfacePermission';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterfacePermission',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterfacePermission")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateNetworkInterfacePermission',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateNetworkInterfacePermission');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateNetworkInterfacePermission',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterfacePermission';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterfacePermission"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterfacePermission" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterfacePermission",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterfacePermission');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateNetworkInterfacePermission');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateNetworkInterfacePermission');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterfacePermission' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterfacePermission' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateNetworkInterfacePermission"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateNetworkInterfacePermission"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterfacePermission")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateNetworkInterfacePermission";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterfacePermission'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterfacePermission'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterfacePermission'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateNetworkInterfacePermission")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreatePlacementGroup
{{baseUrl}}/#Action=CreatePlacementGroup
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreatePlacementGroup" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreatePlacementGroup',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreatePlacementGroup',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreatePlacementGroup');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreatePlacementGroup',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreatePlacementGroup');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreatePlacementGroup');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreatePlacementGroup"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreatePlacementGroup"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreatePlacementGroup";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreatePlacementGroup")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{}
POST
POST_CreatePublicIpv4Pool
{{baseUrl}}/#Action=CreatePublicIpv4Pool
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreatePublicIpv4Pool" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreatePublicIpv4Pool',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreatePublicIpv4Pool',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreatePublicIpv4Pool');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreatePublicIpv4Pool',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreatePublicIpv4Pool');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreatePublicIpv4Pool');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreatePublicIpv4Pool"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreatePublicIpv4Pool"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreatePublicIpv4Pool";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreatePublicIpv4Pool")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateReplaceRootVolumeTask
{{baseUrl}}/#Action=CreateReplaceRootVolumeTask
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateReplaceRootVolumeTask");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateReplaceRootVolumeTask" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateReplaceRootVolumeTask"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateReplaceRootVolumeTask"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateReplaceRootVolumeTask");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateReplaceRootVolumeTask"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateReplaceRootVolumeTask")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateReplaceRootVolumeTask"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateReplaceRootVolumeTask")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateReplaceRootVolumeTask")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateReplaceRootVolumeTask');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateReplaceRootVolumeTask',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateReplaceRootVolumeTask';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateReplaceRootVolumeTask',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateReplaceRootVolumeTask")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateReplaceRootVolumeTask',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateReplaceRootVolumeTask');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateReplaceRootVolumeTask',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateReplaceRootVolumeTask';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateReplaceRootVolumeTask"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateReplaceRootVolumeTask" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateReplaceRootVolumeTask",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateReplaceRootVolumeTask');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateReplaceRootVolumeTask');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateReplaceRootVolumeTask');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateReplaceRootVolumeTask' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateReplaceRootVolumeTask' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateReplaceRootVolumeTask"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateReplaceRootVolumeTask"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateReplaceRootVolumeTask")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateReplaceRootVolumeTask";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateReplaceRootVolumeTask'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateReplaceRootVolumeTask'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateReplaceRootVolumeTask'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateReplaceRootVolumeTask")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateReservedInstancesListing
{{baseUrl}}/#Action=CreateReservedInstancesListing
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateReservedInstancesListing");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateReservedInstancesListing" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateReservedInstancesListing"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateReservedInstancesListing"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateReservedInstancesListing");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateReservedInstancesListing"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateReservedInstancesListing")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateReservedInstancesListing"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateReservedInstancesListing")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateReservedInstancesListing")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateReservedInstancesListing');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateReservedInstancesListing',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateReservedInstancesListing';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateReservedInstancesListing',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateReservedInstancesListing")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateReservedInstancesListing',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateReservedInstancesListing');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateReservedInstancesListing',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateReservedInstancesListing';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateReservedInstancesListing"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateReservedInstancesListing" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateReservedInstancesListing",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateReservedInstancesListing');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateReservedInstancesListing');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateReservedInstancesListing');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateReservedInstancesListing' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateReservedInstancesListing' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateReservedInstancesListing"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateReservedInstancesListing"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateReservedInstancesListing")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateReservedInstancesListing";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateReservedInstancesListing'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateReservedInstancesListing'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateReservedInstancesListing'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateReservedInstancesListing")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateRestoreImageTask
{{baseUrl}}/#Action=CreateRestoreImageTask
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateRestoreImageTask");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateRestoreImageTask" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateRestoreImageTask"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateRestoreImageTask"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateRestoreImageTask");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateRestoreImageTask"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateRestoreImageTask")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateRestoreImageTask"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateRestoreImageTask")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateRestoreImageTask")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateRestoreImageTask');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateRestoreImageTask',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateRestoreImageTask';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateRestoreImageTask',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateRestoreImageTask")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateRestoreImageTask',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateRestoreImageTask');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateRestoreImageTask',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateRestoreImageTask';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateRestoreImageTask"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateRestoreImageTask" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateRestoreImageTask",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateRestoreImageTask');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateRestoreImageTask');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateRestoreImageTask');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateRestoreImageTask' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateRestoreImageTask' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateRestoreImageTask"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateRestoreImageTask"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateRestoreImageTask")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateRestoreImageTask";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateRestoreImageTask'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateRestoreImageTask'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateRestoreImageTask'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateRestoreImageTask")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateRoute
{{baseUrl}}/#Action=CreateRoute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateRoute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateRoute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateRoute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateRoute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateRoute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateRoute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateRoute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateRoute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateRoute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateRoute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateRoute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateRoute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateRoute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateRoute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateRoute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateRoute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateRoute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateRoute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateRoute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateRoute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateRoute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateRoute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateRoute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateRoute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateRoute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateRoute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateRoute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateRoute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateRoute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateRoute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateRoute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateRoute'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateRoute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateRoute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateRoute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateRouteTable
{{baseUrl}}/#Action=CreateRouteTable
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateRouteTable");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateRouteTable" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateRouteTable"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateRouteTable"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateRouteTable");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateRouteTable"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateRouteTable")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateRouteTable"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateRouteTable")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateRouteTable")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateRouteTable');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateRouteTable',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateRouteTable';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateRouteTable',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateRouteTable")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateRouteTable',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateRouteTable');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateRouteTable',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateRouteTable';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateRouteTable"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateRouteTable" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateRouteTable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateRouteTable');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateRouteTable');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateRouteTable');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateRouteTable' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateRouteTable' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateRouteTable"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateRouteTable"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateRouteTable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateRouteTable";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateRouteTable'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateRouteTable'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateRouteTable'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateRouteTable")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"RouteTable": {
"Associations": [],
"PropagatingVgws": [],
"RouteTableId": "rtb-22574640",
"Routes": [
{
"DestinationCidrBlock": "10.0.0.0/16",
"GatewayId": "local",
"State": "active"
}
],
"Tags": [],
"VpcId": "vpc-a01106c2"
}
}
POST
POST_CreateSecurityGroup
{{baseUrl}}/#Action=CreateSecurityGroup
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateSecurityGroup");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateSecurityGroup" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateSecurityGroup"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateSecurityGroup"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateSecurityGroup");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateSecurityGroup"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateSecurityGroup")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateSecurityGroup"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateSecurityGroup")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateSecurityGroup")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateSecurityGroup');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateSecurityGroup',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateSecurityGroup';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateSecurityGroup',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateSecurityGroup")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateSecurityGroup',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateSecurityGroup');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateSecurityGroup',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateSecurityGroup';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateSecurityGroup"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateSecurityGroup" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateSecurityGroup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateSecurityGroup');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateSecurityGroup');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateSecurityGroup');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateSecurityGroup' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateSecurityGroup' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateSecurityGroup"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateSecurityGroup"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateSecurityGroup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateSecurityGroup";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateSecurityGroup'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateSecurityGroup'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateSecurityGroup'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateSecurityGroup")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"GroupId": "sg-903004f8"
}
POST
POST_CreateSnapshot
{{baseUrl}}/#Action=CreateSnapshot
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateSnapshot");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateSnapshot" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateSnapshot"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateSnapshot"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateSnapshot");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateSnapshot"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateSnapshot")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateSnapshot"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateSnapshot")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateSnapshot")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateSnapshot');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateSnapshot',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateSnapshot';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateSnapshot',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateSnapshot")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateSnapshot',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateSnapshot');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateSnapshot',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateSnapshot';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateSnapshot"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateSnapshot" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateSnapshot",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateSnapshot');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateSnapshot');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateSnapshot');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateSnapshot' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateSnapshot' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateSnapshot"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateSnapshot"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateSnapshot")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateSnapshot";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateSnapshot'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateSnapshot'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateSnapshot'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateSnapshot")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"Description": "This is my root volume snapshot.",
"OwnerId": 12345678910,
"SnapshotId": "snap-066877671789bd71b",
"StartTime": "2014-02-28T21:06:01.000Z",
"State": "pending",
"Tags": [],
"VolumeId": "vol-1234567890abcdef0",
"VolumeSize": 8
}
POST
POST_CreateSnapshots
{{baseUrl}}/#Action=CreateSnapshots
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateSnapshots");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateSnapshots" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateSnapshots"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateSnapshots"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateSnapshots");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateSnapshots"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateSnapshots")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateSnapshots"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateSnapshots")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateSnapshots")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateSnapshots');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateSnapshots',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateSnapshots';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateSnapshots',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateSnapshots")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateSnapshots',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateSnapshots');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateSnapshots',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateSnapshots';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateSnapshots"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateSnapshots" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateSnapshots",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateSnapshots');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateSnapshots');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateSnapshots');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateSnapshots' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateSnapshots' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateSnapshots"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateSnapshots"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateSnapshots")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateSnapshots";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateSnapshots'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateSnapshots'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateSnapshots'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateSnapshots")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateSpotDatafeedSubscription
{{baseUrl}}/#Action=CreateSpotDatafeedSubscription
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateSpotDatafeedSubscription");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateSpotDatafeedSubscription" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateSpotDatafeedSubscription"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateSpotDatafeedSubscription"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateSpotDatafeedSubscription");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateSpotDatafeedSubscription"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateSpotDatafeedSubscription")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateSpotDatafeedSubscription"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateSpotDatafeedSubscription")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateSpotDatafeedSubscription")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateSpotDatafeedSubscription');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateSpotDatafeedSubscription',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateSpotDatafeedSubscription';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateSpotDatafeedSubscription',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateSpotDatafeedSubscription")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateSpotDatafeedSubscription',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateSpotDatafeedSubscription');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateSpotDatafeedSubscription',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateSpotDatafeedSubscription';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateSpotDatafeedSubscription"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateSpotDatafeedSubscription" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateSpotDatafeedSubscription",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateSpotDatafeedSubscription');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateSpotDatafeedSubscription');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateSpotDatafeedSubscription');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateSpotDatafeedSubscription' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateSpotDatafeedSubscription' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateSpotDatafeedSubscription"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateSpotDatafeedSubscription"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateSpotDatafeedSubscription")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateSpotDatafeedSubscription";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateSpotDatafeedSubscription'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateSpotDatafeedSubscription'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateSpotDatafeedSubscription'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateSpotDatafeedSubscription")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"SpotDatafeedSubscription": {
"Bucket": "my-s3-bucket",
"OwnerId": "123456789012",
"Prefix": "spotdata",
"State": "Active"
}
}
POST
POST_CreateStoreImageTask
{{baseUrl}}/#Action=CreateStoreImageTask
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateStoreImageTask");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateStoreImageTask" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateStoreImageTask"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateStoreImageTask"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateStoreImageTask");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateStoreImageTask"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateStoreImageTask")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateStoreImageTask"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateStoreImageTask")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateStoreImageTask")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateStoreImageTask');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateStoreImageTask',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateStoreImageTask';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateStoreImageTask',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateStoreImageTask")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateStoreImageTask',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateStoreImageTask');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateStoreImageTask',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateStoreImageTask';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateStoreImageTask"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateStoreImageTask" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateStoreImageTask",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateStoreImageTask');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateStoreImageTask');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateStoreImageTask');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateStoreImageTask' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateStoreImageTask' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateStoreImageTask"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateStoreImageTask"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateStoreImageTask")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateStoreImageTask";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateStoreImageTask'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateStoreImageTask'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateStoreImageTask'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateStoreImageTask")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateSubnet
{{baseUrl}}/#Action=CreateSubnet
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateSubnet");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateSubnet" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateSubnet"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateSubnet"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateSubnet");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateSubnet"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateSubnet")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateSubnet"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateSubnet")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateSubnet")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateSubnet');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateSubnet',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateSubnet';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateSubnet',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateSubnet")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateSubnet',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateSubnet');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateSubnet',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateSubnet';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateSubnet"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateSubnet" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateSubnet",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateSubnet');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateSubnet');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateSubnet');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateSubnet' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateSubnet' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateSubnet"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateSubnet"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateSubnet")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateSubnet";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateSubnet'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateSubnet'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateSubnet'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateSubnet")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"Subnet": {
"AvailabilityZone": "us-west-2c",
"AvailableIpAddressCount": 251,
"CidrBlock": "10.0.1.0/24",
"State": "pending",
"SubnetId": "subnet-9d4a7b6c",
"VpcId": "vpc-a01106c2"
}
}
POST
POST_CreateSubnetCidrReservation
{{baseUrl}}/#Action=CreateSubnetCidrReservation
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateSubnetCidrReservation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateSubnetCidrReservation" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateSubnetCidrReservation"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateSubnetCidrReservation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateSubnetCidrReservation");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateSubnetCidrReservation"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateSubnetCidrReservation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateSubnetCidrReservation"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateSubnetCidrReservation")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateSubnetCidrReservation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateSubnetCidrReservation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateSubnetCidrReservation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateSubnetCidrReservation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateSubnetCidrReservation',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateSubnetCidrReservation")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateSubnetCidrReservation',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateSubnetCidrReservation');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateSubnetCidrReservation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateSubnetCidrReservation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateSubnetCidrReservation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateSubnetCidrReservation" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateSubnetCidrReservation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateSubnetCidrReservation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateSubnetCidrReservation');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateSubnetCidrReservation');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateSubnetCidrReservation' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateSubnetCidrReservation' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateSubnetCidrReservation"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateSubnetCidrReservation"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateSubnetCidrReservation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateSubnetCidrReservation";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateSubnetCidrReservation'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateSubnetCidrReservation'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateSubnetCidrReservation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateSubnetCidrReservation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateTags
{{baseUrl}}/#Action=CreateTags
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateTags");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateTags" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateTags"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateTags"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateTags");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateTags"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateTags")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateTags"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTags")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateTags")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTags');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTags',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTags';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateTags',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTags")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTags',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateTags');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTags',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTags';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateTags"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateTags" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateTags",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTags');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTags');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTags');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTags' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTags' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTags"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTags"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateTags")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTags";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateTags'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateTags'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateTags'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateTags")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateTrafficMirrorFilter
{{baseUrl}}/#Action=CreateTrafficMirrorFilter
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateTrafficMirrorFilter" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTrafficMirrorFilter',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTrafficMirrorFilter',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateTrafficMirrorFilter');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTrafficMirrorFilter',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTrafficMirrorFilter');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTrafficMirrorFilter');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTrafficMirrorFilter"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTrafficMirrorFilter"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTrafficMirrorFilter";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilter")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateTrafficMirrorFilterRule
{{baseUrl}}/#Action=CreateTrafficMirrorFilterRule
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilterRule");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateTrafficMirrorFilterRule" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilterRule"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilterRule"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilterRule");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilterRule"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilterRule")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilterRule"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilterRule")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilterRule")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilterRule');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTrafficMirrorFilterRule',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilterRule';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilterRule',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilterRule")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTrafficMirrorFilterRule',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateTrafficMirrorFilterRule');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTrafficMirrorFilterRule',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilterRule';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilterRule"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilterRule" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilterRule",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilterRule');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTrafficMirrorFilterRule');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTrafficMirrorFilterRule');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilterRule' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilterRule' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTrafficMirrorFilterRule"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTrafficMirrorFilterRule"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilterRule")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTrafficMirrorFilterRule";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilterRule'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilterRule'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilterRule'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorFilterRule")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateTrafficMirrorSession
{{baseUrl}}/#Action=CreateTrafficMirrorSession
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorSession");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateTrafficMirrorSession" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorSession"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorSession"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorSession");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorSession"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorSession")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorSession"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorSession")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorSession")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorSession');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTrafficMirrorSession',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorSession';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorSession',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorSession")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTrafficMirrorSession',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateTrafficMirrorSession');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTrafficMirrorSession',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorSession';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorSession"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorSession" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorSession",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorSession');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTrafficMirrorSession');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTrafficMirrorSession');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorSession' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorSession' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTrafficMirrorSession"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTrafficMirrorSession"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorSession")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTrafficMirrorSession";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorSession'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorSession'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorSession'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorSession")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateTrafficMirrorTarget
{{baseUrl}}/#Action=CreateTrafficMirrorTarget
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateTrafficMirrorTarget" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTrafficMirrorTarget',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTrafficMirrorTarget',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateTrafficMirrorTarget');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTrafficMirrorTarget',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTrafficMirrorTarget');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTrafficMirrorTarget');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTrafficMirrorTarget"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTrafficMirrorTarget"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTrafficMirrorTarget";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateTrafficMirrorTarget")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateTransitGateway
{{baseUrl}}/#Action=CreateTransitGateway
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateTransitGateway" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGateway',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateTransitGateway');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTransitGateway');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTransitGateway');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTransitGateway"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTransitGateway"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTransitGateway";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateTransitGatewayConnect
{{baseUrl}}/#Action=CreateTransitGatewayConnect
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnect");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateTransitGatewayConnect" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnect"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnect"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnect");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnect"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnect")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnect"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnect")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnect")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnect');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayConnect',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnect';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnect',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnect")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayConnect',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateTransitGatewayConnect');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayConnect',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnect';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnect"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnect" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnect",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnect');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTransitGatewayConnect');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTransitGatewayConnect');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnect' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnect' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTransitGatewayConnect"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTransitGatewayConnect"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnect")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTransitGatewayConnect";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnect'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnect'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnect'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnect")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateTransitGatewayConnectPeer
{{baseUrl}}/#Action=CreateTransitGatewayConnectPeer
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnectPeer");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateTransitGatewayConnectPeer" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnectPeer"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnectPeer"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnectPeer");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnectPeer"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnectPeer")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnectPeer"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnectPeer")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnectPeer")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnectPeer');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayConnectPeer',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnectPeer';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnectPeer',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnectPeer")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayConnectPeer',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateTransitGatewayConnectPeer');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayConnectPeer',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnectPeer';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnectPeer"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnectPeer" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnectPeer",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnectPeer');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTransitGatewayConnectPeer');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTransitGatewayConnectPeer');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnectPeer' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnectPeer' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTransitGatewayConnectPeer"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTransitGatewayConnectPeer"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnectPeer")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTransitGatewayConnectPeer";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnectPeer'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnectPeer'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnectPeer'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayConnectPeer")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateTransitGatewayMulticastDomain
{{baseUrl}}/#Action=CreateTransitGatewayMulticastDomain
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayMulticastDomain");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateTransitGatewayMulticastDomain" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayMulticastDomain"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayMulticastDomain"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayMulticastDomain");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayMulticastDomain"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayMulticastDomain")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayMulticastDomain"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayMulticastDomain")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayMulticastDomain")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayMulticastDomain');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayMulticastDomain',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayMulticastDomain';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayMulticastDomain',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayMulticastDomain")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayMulticastDomain',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateTransitGatewayMulticastDomain');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayMulticastDomain',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayMulticastDomain';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayMulticastDomain"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayMulticastDomain" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayMulticastDomain",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayMulticastDomain');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTransitGatewayMulticastDomain');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTransitGatewayMulticastDomain');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayMulticastDomain' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayMulticastDomain' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTransitGatewayMulticastDomain"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTransitGatewayMulticastDomain"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayMulticastDomain")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTransitGatewayMulticastDomain";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayMulticastDomain'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayMulticastDomain'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayMulticastDomain'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayMulticastDomain")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateTransitGatewayPeeringAttachment
{{baseUrl}}/#Action=CreateTransitGatewayPeeringAttachment
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPeeringAttachment");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateTransitGatewayPeeringAttachment" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPeeringAttachment"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPeeringAttachment"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPeeringAttachment");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPeeringAttachment"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPeeringAttachment")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPeeringAttachment"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPeeringAttachment")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPeeringAttachment")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPeeringAttachment');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayPeeringAttachment',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPeeringAttachment';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPeeringAttachment',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPeeringAttachment")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayPeeringAttachment',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateTransitGatewayPeeringAttachment');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayPeeringAttachment',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPeeringAttachment';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPeeringAttachment"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPeeringAttachment" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPeeringAttachment",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPeeringAttachment');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTransitGatewayPeeringAttachment');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTransitGatewayPeeringAttachment');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPeeringAttachment' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPeeringAttachment' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTransitGatewayPeeringAttachment"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTransitGatewayPeeringAttachment"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPeeringAttachment")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTransitGatewayPeeringAttachment";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPeeringAttachment'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPeeringAttachment'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPeeringAttachment'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPeeringAttachment")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateTransitGatewayPolicyTable
{{baseUrl}}/#Action=CreateTransitGatewayPolicyTable
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPolicyTable");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateTransitGatewayPolicyTable" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPolicyTable"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPolicyTable"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPolicyTable");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPolicyTable"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPolicyTable")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPolicyTable"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPolicyTable")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPolicyTable")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPolicyTable');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayPolicyTable',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPolicyTable';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPolicyTable',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPolicyTable")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayPolicyTable',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateTransitGatewayPolicyTable');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayPolicyTable',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPolicyTable';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPolicyTable"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPolicyTable" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPolicyTable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPolicyTable');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTransitGatewayPolicyTable');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTransitGatewayPolicyTable');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPolicyTable' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPolicyTable' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTransitGatewayPolicyTable"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTransitGatewayPolicyTable"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPolicyTable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTransitGatewayPolicyTable";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPolicyTable'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPolicyTable'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPolicyTable'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPolicyTable")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateTransitGatewayPrefixListReference
{{baseUrl}}/#Action=CreateTransitGatewayPrefixListReference
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPrefixListReference");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateTransitGatewayPrefixListReference" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPrefixListReference"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPrefixListReference"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPrefixListReference");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPrefixListReference"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPrefixListReference")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPrefixListReference"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPrefixListReference")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPrefixListReference")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPrefixListReference');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayPrefixListReference',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPrefixListReference';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPrefixListReference',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPrefixListReference")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayPrefixListReference',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateTransitGatewayPrefixListReference');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayPrefixListReference',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPrefixListReference';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPrefixListReference"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPrefixListReference" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPrefixListReference",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPrefixListReference');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTransitGatewayPrefixListReference');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTransitGatewayPrefixListReference');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPrefixListReference' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPrefixListReference' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTransitGatewayPrefixListReference"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTransitGatewayPrefixListReference"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPrefixListReference")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTransitGatewayPrefixListReference";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPrefixListReference'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPrefixListReference'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPrefixListReference'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayPrefixListReference")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateTransitGatewayRoute
{{baseUrl}}/#Action=CreateTransitGatewayRoute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRoute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateTransitGatewayRoute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRoute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRoute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRoute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRoute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRoute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRoute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRoute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRoute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRoute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayRoute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRoute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRoute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRoute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayRoute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateTransitGatewayRoute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayRoute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRoute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRoute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRoute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRoute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRoute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTransitGatewayRoute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTransitGatewayRoute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRoute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRoute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTransitGatewayRoute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTransitGatewayRoute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRoute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTransitGatewayRoute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRoute'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRoute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRoute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRoute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateTransitGatewayRouteTable
{{baseUrl}}/#Action=CreateTransitGatewayRouteTable
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTable");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateTransitGatewayRouteTable" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTable"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTable"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTable");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTable"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTable")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTable"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTable")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTable")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTable');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayRouteTable',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTable';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTable',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTable")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayRouteTable',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateTransitGatewayRouteTable');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayRouteTable',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTable';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTable"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTable" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTable');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTransitGatewayRouteTable');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTransitGatewayRouteTable');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTable' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTable' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTransitGatewayRouteTable"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTransitGatewayRouteTable"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTransitGatewayRouteTable";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTable'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTable'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTable'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTable")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateTransitGatewayRouteTableAnnouncement
{{baseUrl}}/#Action=CreateTransitGatewayRouteTableAnnouncement
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateTransitGatewayRouteTableAnnouncement" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayRouteTableAnnouncement',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayRouteTableAnnouncement',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateTransitGatewayRouteTableAnnouncement');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayRouteTableAnnouncement',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTransitGatewayRouteTableAnnouncement');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTransitGatewayRouteTableAnnouncement');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTransitGatewayRouteTableAnnouncement"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTransitGatewayRouteTableAnnouncement"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTransitGatewayRouteTableAnnouncement";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayRouteTableAnnouncement")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateTransitGatewayVpcAttachment
{{baseUrl}}/#Action=CreateTransitGatewayVpcAttachment
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayVpcAttachment");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateTransitGatewayVpcAttachment" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayVpcAttachment"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayVpcAttachment"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayVpcAttachment");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayVpcAttachment"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayVpcAttachment")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayVpcAttachment"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayVpcAttachment")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayVpcAttachment")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayVpcAttachment');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayVpcAttachment',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayVpcAttachment';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayVpcAttachment',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayVpcAttachment")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayVpcAttachment',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateTransitGatewayVpcAttachment');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateTransitGatewayVpcAttachment',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayVpcAttachment';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayVpcAttachment"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayVpcAttachment" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayVpcAttachment",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayVpcAttachment');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateTransitGatewayVpcAttachment');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateTransitGatewayVpcAttachment');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayVpcAttachment' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayVpcAttachment' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateTransitGatewayVpcAttachment"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateTransitGatewayVpcAttachment"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayVpcAttachment")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateTransitGatewayVpcAttachment";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayVpcAttachment'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayVpcAttachment'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayVpcAttachment'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateTransitGatewayVpcAttachment")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateVerifiedAccessEndpoint
{{baseUrl}}/#Action=CreateVerifiedAccessEndpoint
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessEndpoint");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateVerifiedAccessEndpoint" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessEndpoint"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessEndpoint"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessEndpoint");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessEndpoint"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessEndpoint")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessEndpoint"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessEndpoint")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessEndpoint")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessEndpoint');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVerifiedAccessEndpoint',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessEndpoint';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessEndpoint',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessEndpoint")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVerifiedAccessEndpoint',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateVerifiedAccessEndpoint');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVerifiedAccessEndpoint',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessEndpoint';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessEndpoint"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessEndpoint" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessEndpoint",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessEndpoint');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateVerifiedAccessEndpoint');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateVerifiedAccessEndpoint');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessEndpoint' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessEndpoint' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateVerifiedAccessEndpoint"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateVerifiedAccessEndpoint"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessEndpoint")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateVerifiedAccessEndpoint";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessEndpoint'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessEndpoint'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessEndpoint'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessEndpoint")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateVerifiedAccessGroup
{{baseUrl}}/#Action=CreateVerifiedAccessGroup
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessGroup");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateVerifiedAccessGroup" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessGroup"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessGroup"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessGroup");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessGroup"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessGroup")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessGroup"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessGroup")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessGroup")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessGroup');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVerifiedAccessGroup',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessGroup';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessGroup',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessGroup")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVerifiedAccessGroup',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateVerifiedAccessGroup');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVerifiedAccessGroup',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessGroup';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessGroup"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessGroup" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessGroup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessGroup');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateVerifiedAccessGroup');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateVerifiedAccessGroup');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessGroup' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessGroup' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateVerifiedAccessGroup"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateVerifiedAccessGroup"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessGroup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateVerifiedAccessGroup";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessGroup'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessGroup'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessGroup'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessGroup")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateVerifiedAccessInstance
{{baseUrl}}/#Action=CreateVerifiedAccessInstance
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateVerifiedAccessInstance" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVerifiedAccessInstance',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVerifiedAccessInstance',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateVerifiedAccessInstance');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVerifiedAccessInstance',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateVerifiedAccessInstance');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateVerifiedAccessInstance');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateVerifiedAccessInstance"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateVerifiedAccessInstance"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateVerifiedAccessInstance";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessInstance")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateVerifiedAccessTrustProvider
{{baseUrl}}/#Action=CreateVerifiedAccessTrustProvider
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessTrustProvider");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateVerifiedAccessTrustProvider" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessTrustProvider"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessTrustProvider"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessTrustProvider");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessTrustProvider"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessTrustProvider")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessTrustProvider"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessTrustProvider")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessTrustProvider")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessTrustProvider');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVerifiedAccessTrustProvider',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessTrustProvider';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessTrustProvider',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessTrustProvider")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVerifiedAccessTrustProvider',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateVerifiedAccessTrustProvider');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVerifiedAccessTrustProvider',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessTrustProvider';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessTrustProvider"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessTrustProvider" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessTrustProvider",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessTrustProvider');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateVerifiedAccessTrustProvider');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateVerifiedAccessTrustProvider');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessTrustProvider' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessTrustProvider' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateVerifiedAccessTrustProvider"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateVerifiedAccessTrustProvider"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessTrustProvider")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateVerifiedAccessTrustProvider";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessTrustProvider'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessTrustProvider'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessTrustProvider'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateVerifiedAccessTrustProvider")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateVolume
{{baseUrl}}/#Action=CreateVolume
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateVolume");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateVolume" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateVolume"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateVolume"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateVolume");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateVolume"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateVolume")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateVolume"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVolume")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateVolume")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateVolume');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVolume',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVolume';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateVolume',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVolume")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVolume',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateVolume');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVolume',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVolume';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateVolume"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateVolume" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateVolume",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateVolume');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateVolume');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateVolume');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVolume' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVolume' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateVolume"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateVolume"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateVolume")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateVolume";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateVolume'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateVolume'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateVolume'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateVolume")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"Attachments": [],
"AvailabilityZone": "us-east-1a",
"CreateTime": "2016-08-29T18:52:32.724Z",
"Iops": 1000,
"Size": 500,
"SnapshotId": "snap-066877671789bd71b",
"State": "creating",
"Tags": [],
"VolumeId": "vol-1234567890abcdef0",
"VolumeType": "io1"
}
POST
POST_CreateVpc
{{baseUrl}}/#Action=CreateVpc
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateVpc");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateVpc" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateVpc"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateVpc"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateVpc");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateVpc"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateVpc")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateVpc"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVpc")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateVpc")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateVpc');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVpc',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVpc';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateVpc',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVpc")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVpc',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateVpc');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVpc',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVpc';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateVpc"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateVpc" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateVpc",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateVpc');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateVpc');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateVpc');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVpc' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVpc' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateVpc"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateVpc"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateVpc")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateVpc";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateVpc'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateVpc'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateVpc'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateVpc")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"Vpc": {
"CidrBlock": "10.0.0.0/16",
"DhcpOptionsId": "dopt-7a8b9c2d",
"InstanceTenancy": "default",
"State": "pending",
"VpcId": "vpc-a01106c2"
}
}
POST
POST_CreateVpcEndpoint
{{baseUrl}}/#Action=CreateVpcEndpoint
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpoint");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateVpcEndpoint" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpoint"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpoint"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpoint");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpoint"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpoint")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpoint"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpoint")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpoint")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpoint');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVpcEndpoint',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpoint';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpoint',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpoint")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVpcEndpoint',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateVpcEndpoint');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVpcEndpoint',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpoint';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpoint"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpoint" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpoint",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpoint');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateVpcEndpoint');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateVpcEndpoint');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpoint' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpoint' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateVpcEndpoint"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateVpcEndpoint"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpoint")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateVpcEndpoint";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpoint'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpoint'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpoint'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpoint")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateVpcEndpointConnectionNotification
{{baseUrl}}/#Action=CreateVpcEndpointConnectionNotification
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointConnectionNotification");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateVpcEndpointConnectionNotification" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointConnectionNotification"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointConnectionNotification"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointConnectionNotification");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointConnectionNotification"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointConnectionNotification")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointConnectionNotification"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointConnectionNotification")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointConnectionNotification")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointConnectionNotification');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVpcEndpointConnectionNotification',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointConnectionNotification';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointConnectionNotification',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointConnectionNotification")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVpcEndpointConnectionNotification',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateVpcEndpointConnectionNotification');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVpcEndpointConnectionNotification',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointConnectionNotification';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointConnectionNotification"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointConnectionNotification" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointConnectionNotification",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointConnectionNotification');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateVpcEndpointConnectionNotification');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateVpcEndpointConnectionNotification');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointConnectionNotification' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointConnectionNotification' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateVpcEndpointConnectionNotification"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateVpcEndpointConnectionNotification"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointConnectionNotification")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateVpcEndpointConnectionNotification";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointConnectionNotification'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointConnectionNotification'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointConnectionNotification'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointConnectionNotification")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateVpcEndpointServiceConfiguration
{{baseUrl}}/#Action=CreateVpcEndpointServiceConfiguration
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateVpcEndpointServiceConfiguration" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVpcEndpointServiceConfiguration',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVpcEndpointServiceConfiguration',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateVpcEndpointServiceConfiguration');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVpcEndpointServiceConfiguration',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateVpcEndpointServiceConfiguration');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateVpcEndpointServiceConfiguration');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateVpcEndpointServiceConfiguration"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateVpcEndpointServiceConfiguration"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateVpcEndpointServiceConfiguration";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateVpcEndpointServiceConfiguration")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateVpcPeeringConnection
{{baseUrl}}/#Action=CreateVpcPeeringConnection
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateVpcPeeringConnection");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateVpcPeeringConnection" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateVpcPeeringConnection"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateVpcPeeringConnection"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateVpcPeeringConnection");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateVpcPeeringConnection"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateVpcPeeringConnection")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateVpcPeeringConnection"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVpcPeeringConnection")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateVpcPeeringConnection")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateVpcPeeringConnection');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVpcPeeringConnection',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVpcPeeringConnection';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateVpcPeeringConnection',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVpcPeeringConnection")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVpcPeeringConnection',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateVpcPeeringConnection');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVpcPeeringConnection',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVpcPeeringConnection';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateVpcPeeringConnection"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateVpcPeeringConnection" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateVpcPeeringConnection",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateVpcPeeringConnection');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateVpcPeeringConnection');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateVpcPeeringConnection');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVpcPeeringConnection' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVpcPeeringConnection' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateVpcPeeringConnection"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateVpcPeeringConnection"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateVpcPeeringConnection")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateVpcPeeringConnection";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateVpcPeeringConnection'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateVpcPeeringConnection'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateVpcPeeringConnection'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateVpcPeeringConnection")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateVpnConnection
{{baseUrl}}/#Action=CreateVpnConnection
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnection");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateVpnConnection" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnection"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnection"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnection");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnection"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnection")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnection"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnection")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnection")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnection');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVpnConnection',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnection';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnection',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnection")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVpnConnection',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateVpnConnection');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVpnConnection',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnection';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnection"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnection" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnection",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnection');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateVpnConnection');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateVpnConnection');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnection' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnection' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateVpnConnection"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateVpnConnection"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnection")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateVpnConnection";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnection'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnection'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnection'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnection")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateVpnConnectionRoute
{{baseUrl}}/#Action=CreateVpnConnectionRoute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnectionRoute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateVpnConnectionRoute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnectionRoute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnectionRoute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnectionRoute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnectionRoute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnectionRoute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnectionRoute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnectionRoute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnectionRoute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnectionRoute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVpnConnectionRoute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnectionRoute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnectionRoute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnectionRoute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVpnConnectionRoute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateVpnConnectionRoute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVpnConnectionRoute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnectionRoute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnectionRoute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnectionRoute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnectionRoute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnectionRoute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateVpnConnectionRoute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateVpnConnectionRoute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnectionRoute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnectionRoute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateVpnConnectionRoute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateVpnConnectionRoute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnectionRoute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateVpnConnectionRoute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnectionRoute'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnectionRoute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnectionRoute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateVpnConnectionRoute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_CreateVpnGateway
{{baseUrl}}/#Action=CreateVpnGateway
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=CreateVpnGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=CreateVpnGateway" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=CreateVpnGateway"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=CreateVpnGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=CreateVpnGateway");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=CreateVpnGateway"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=CreateVpnGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=CreateVpnGateway"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVpnGateway")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=CreateVpnGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateVpnGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVpnGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVpnGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=CreateVpnGateway',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=CreateVpnGateway")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVpnGateway',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=CreateVpnGateway');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=CreateVpnGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=CreateVpnGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=CreateVpnGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=CreateVpnGateway" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=CreateVpnGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=CreateVpnGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=CreateVpnGateway');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=CreateVpnGateway');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVpnGateway' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=CreateVpnGateway' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=CreateVpnGateway"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=CreateVpnGateway"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=CreateVpnGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=CreateVpnGateway";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=CreateVpnGateway'
http POST '{{baseUrl}}/?Action=&Version=#Action=CreateVpnGateway'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=CreateVpnGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=CreateVpnGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteCarrierGateway
{{baseUrl}}/#Action=DeleteCarrierGateway
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteCarrierGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteCarrierGateway" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteCarrierGateway"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteCarrierGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteCarrierGateway");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteCarrierGateway"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteCarrierGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteCarrierGateway"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteCarrierGateway")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteCarrierGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteCarrierGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteCarrierGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteCarrierGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteCarrierGateway',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteCarrierGateway")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteCarrierGateway',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteCarrierGateway');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteCarrierGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteCarrierGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteCarrierGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteCarrierGateway" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteCarrierGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteCarrierGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteCarrierGateway');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteCarrierGateway');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteCarrierGateway' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteCarrierGateway' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteCarrierGateway"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteCarrierGateway"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteCarrierGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteCarrierGateway";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteCarrierGateway'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteCarrierGateway'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteCarrierGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteCarrierGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteClientVpnEndpoint
{{baseUrl}}/#Action=DeleteClientVpnEndpoint
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnEndpoint");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteClientVpnEndpoint" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnEndpoint"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnEndpoint"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnEndpoint");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnEndpoint"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnEndpoint")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnEndpoint"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnEndpoint")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnEndpoint")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnEndpoint');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteClientVpnEndpoint',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnEndpoint';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnEndpoint',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnEndpoint")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteClientVpnEndpoint',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteClientVpnEndpoint');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteClientVpnEndpoint',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnEndpoint';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnEndpoint"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnEndpoint" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnEndpoint",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnEndpoint');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteClientVpnEndpoint');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteClientVpnEndpoint');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnEndpoint' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnEndpoint' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteClientVpnEndpoint"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteClientVpnEndpoint"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnEndpoint")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteClientVpnEndpoint";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnEndpoint'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnEndpoint'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnEndpoint'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnEndpoint")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteClientVpnRoute
{{baseUrl}}/#Action=DeleteClientVpnRoute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnRoute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteClientVpnRoute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnRoute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnRoute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnRoute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnRoute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnRoute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnRoute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnRoute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnRoute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnRoute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteClientVpnRoute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnRoute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnRoute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnRoute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteClientVpnRoute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteClientVpnRoute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteClientVpnRoute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnRoute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnRoute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnRoute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnRoute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnRoute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteClientVpnRoute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteClientVpnRoute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnRoute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnRoute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteClientVpnRoute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteClientVpnRoute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnRoute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteClientVpnRoute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnRoute'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnRoute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnRoute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteClientVpnRoute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteCoipCidr
{{baseUrl}}/#Action=DeleteCoipCidr
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteCoipCidr");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteCoipCidr" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteCoipCidr"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteCoipCidr"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteCoipCidr");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteCoipCidr"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteCoipCidr")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteCoipCidr"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteCoipCidr")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteCoipCidr")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteCoipCidr');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteCoipCidr',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteCoipCidr';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteCoipCidr',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteCoipCidr")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteCoipCidr',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteCoipCidr');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteCoipCidr',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteCoipCidr';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteCoipCidr"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteCoipCidr" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteCoipCidr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteCoipCidr');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteCoipCidr');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteCoipCidr');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteCoipCidr' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteCoipCidr' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteCoipCidr"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteCoipCidr"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteCoipCidr")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteCoipCidr";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteCoipCidr'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteCoipCidr'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteCoipCidr'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteCoipCidr")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteCoipPool
{{baseUrl}}/#Action=DeleteCoipPool
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteCoipPool");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteCoipPool" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteCoipPool"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteCoipPool"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteCoipPool");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteCoipPool"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteCoipPool")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteCoipPool"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteCoipPool")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteCoipPool")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteCoipPool');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteCoipPool',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteCoipPool';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteCoipPool',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteCoipPool")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteCoipPool',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteCoipPool');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteCoipPool',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteCoipPool';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteCoipPool"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteCoipPool" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteCoipPool",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteCoipPool');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteCoipPool');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteCoipPool');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteCoipPool' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteCoipPool' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteCoipPool"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteCoipPool"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteCoipPool")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteCoipPool";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteCoipPool'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteCoipPool'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteCoipPool'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteCoipPool")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteCustomerGateway
{{baseUrl}}/#Action=DeleteCustomerGateway
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteCustomerGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteCustomerGateway" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteCustomerGateway"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteCustomerGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteCustomerGateway");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteCustomerGateway"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteCustomerGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteCustomerGateway"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteCustomerGateway")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteCustomerGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteCustomerGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteCustomerGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteCustomerGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteCustomerGateway',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteCustomerGateway")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteCustomerGateway',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteCustomerGateway');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteCustomerGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteCustomerGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteCustomerGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteCustomerGateway" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteCustomerGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteCustomerGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteCustomerGateway');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteCustomerGateway');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteCustomerGateway' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteCustomerGateway' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteCustomerGateway"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteCustomerGateway"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteCustomerGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteCustomerGateway";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteCustomerGateway'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteCustomerGateway'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteCustomerGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteCustomerGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteDhcpOptions
{{baseUrl}}/#Action=DeleteDhcpOptions
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteDhcpOptions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteDhcpOptions" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteDhcpOptions"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteDhcpOptions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteDhcpOptions");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteDhcpOptions"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteDhcpOptions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteDhcpOptions"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteDhcpOptions")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteDhcpOptions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteDhcpOptions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteDhcpOptions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteDhcpOptions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteDhcpOptions',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteDhcpOptions")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteDhcpOptions',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteDhcpOptions');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteDhcpOptions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteDhcpOptions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteDhcpOptions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteDhcpOptions" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteDhcpOptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteDhcpOptions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteDhcpOptions');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteDhcpOptions');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteDhcpOptions' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteDhcpOptions' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteDhcpOptions"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteDhcpOptions"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteDhcpOptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteDhcpOptions";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteDhcpOptions'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteDhcpOptions'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteDhcpOptions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteDhcpOptions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteEgressOnlyInternetGateway
{{baseUrl}}/#Action=DeleteEgressOnlyInternetGateway
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteEgressOnlyInternetGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteEgressOnlyInternetGateway" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteEgressOnlyInternetGateway"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteEgressOnlyInternetGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteEgressOnlyInternetGateway");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteEgressOnlyInternetGateway"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteEgressOnlyInternetGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteEgressOnlyInternetGateway"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteEgressOnlyInternetGateway")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteEgressOnlyInternetGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteEgressOnlyInternetGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteEgressOnlyInternetGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteEgressOnlyInternetGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteEgressOnlyInternetGateway',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteEgressOnlyInternetGateway")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteEgressOnlyInternetGateway',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteEgressOnlyInternetGateway');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteEgressOnlyInternetGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteEgressOnlyInternetGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteEgressOnlyInternetGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteEgressOnlyInternetGateway" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteEgressOnlyInternetGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteEgressOnlyInternetGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteEgressOnlyInternetGateway');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteEgressOnlyInternetGateway');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteEgressOnlyInternetGateway' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteEgressOnlyInternetGateway' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteEgressOnlyInternetGateway"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteEgressOnlyInternetGateway"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteEgressOnlyInternetGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteEgressOnlyInternetGateway";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteEgressOnlyInternetGateway'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteEgressOnlyInternetGateway'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteEgressOnlyInternetGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteEgressOnlyInternetGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteFleets
{{baseUrl}}/#Action=DeleteFleets
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteFleets");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteFleets" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteFleets"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteFleets"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteFleets");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteFleets"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteFleets")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteFleets"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteFleets")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteFleets")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteFleets');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteFleets',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteFleets';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteFleets',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteFleets")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteFleets',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteFleets');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteFleets',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteFleets';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteFleets"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteFleets" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteFleets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteFleets');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteFleets');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteFleets');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteFleets' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteFleets' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteFleets"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteFleets"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteFleets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteFleets";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteFleets'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteFleets'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteFleets'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteFleets")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteFlowLogs
{{baseUrl}}/#Action=DeleteFlowLogs
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteFlowLogs");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteFlowLogs" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteFlowLogs"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteFlowLogs"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteFlowLogs");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteFlowLogs"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteFlowLogs")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteFlowLogs"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteFlowLogs")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteFlowLogs")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteFlowLogs');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteFlowLogs',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteFlowLogs';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteFlowLogs',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteFlowLogs")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteFlowLogs',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteFlowLogs');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteFlowLogs',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteFlowLogs';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteFlowLogs"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteFlowLogs" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteFlowLogs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteFlowLogs');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteFlowLogs');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteFlowLogs');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteFlowLogs' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteFlowLogs' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteFlowLogs"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteFlowLogs"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteFlowLogs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteFlowLogs";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteFlowLogs'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteFlowLogs'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteFlowLogs'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteFlowLogs")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteFpgaImage
{{baseUrl}}/#Action=DeleteFpgaImage
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteFpgaImage");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteFpgaImage" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteFpgaImage"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteFpgaImage"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteFpgaImage");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteFpgaImage"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteFpgaImage")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteFpgaImage"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteFpgaImage")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteFpgaImage")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteFpgaImage');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteFpgaImage',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteFpgaImage';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteFpgaImage',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteFpgaImage")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteFpgaImage',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteFpgaImage');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteFpgaImage',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteFpgaImage';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteFpgaImage"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteFpgaImage" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteFpgaImage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteFpgaImage');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteFpgaImage');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteFpgaImage');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteFpgaImage' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteFpgaImage' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteFpgaImage"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteFpgaImage"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteFpgaImage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteFpgaImage";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteFpgaImage'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteFpgaImage'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteFpgaImage'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteFpgaImage")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteInstanceEventWindow
{{baseUrl}}/#Action=DeleteInstanceEventWindow
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteInstanceEventWindow");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteInstanceEventWindow" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteInstanceEventWindow"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteInstanceEventWindow"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteInstanceEventWindow");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteInstanceEventWindow"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteInstanceEventWindow")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteInstanceEventWindow"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteInstanceEventWindow")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteInstanceEventWindow")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteInstanceEventWindow');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteInstanceEventWindow',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteInstanceEventWindow';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteInstanceEventWindow',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteInstanceEventWindow")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteInstanceEventWindow',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteInstanceEventWindow');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteInstanceEventWindow',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteInstanceEventWindow';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteInstanceEventWindow"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteInstanceEventWindow" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteInstanceEventWindow",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteInstanceEventWindow');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteInstanceEventWindow');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteInstanceEventWindow');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteInstanceEventWindow' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteInstanceEventWindow' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteInstanceEventWindow"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteInstanceEventWindow"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteInstanceEventWindow")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteInstanceEventWindow";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteInstanceEventWindow'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteInstanceEventWindow'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteInstanceEventWindow'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteInstanceEventWindow")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteInternetGateway
{{baseUrl}}/#Action=DeleteInternetGateway
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteInternetGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteInternetGateway" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteInternetGateway"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteInternetGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteInternetGateway");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteInternetGateway"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteInternetGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteInternetGateway"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteInternetGateway")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteInternetGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteInternetGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteInternetGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteInternetGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteInternetGateway',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteInternetGateway")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteInternetGateway',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteInternetGateway');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteInternetGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteInternetGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteInternetGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteInternetGateway" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteInternetGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteInternetGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteInternetGateway');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteInternetGateway');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteInternetGateway' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteInternetGateway' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteInternetGateway"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteInternetGateway"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteInternetGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteInternetGateway";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteInternetGateway'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteInternetGateway'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteInternetGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteInternetGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteIpam
{{baseUrl}}/#Action=DeleteIpam
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteIpam");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteIpam" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteIpam"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteIpam"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteIpam");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteIpam"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteIpam")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteIpam"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteIpam")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteIpam")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteIpam');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteIpam',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteIpam';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteIpam',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteIpam")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteIpam',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteIpam');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteIpam',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteIpam';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteIpam"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteIpam" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteIpam",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteIpam');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteIpam');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteIpam');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteIpam' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteIpam' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteIpam"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteIpam"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteIpam")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteIpam";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteIpam'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteIpam'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteIpam'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteIpam")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteIpamPool
{{baseUrl}}/#Action=DeleteIpamPool
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteIpamPool");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteIpamPool" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteIpamPool"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteIpamPool"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteIpamPool");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteIpamPool"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteIpamPool")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteIpamPool"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteIpamPool")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteIpamPool")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamPool');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteIpamPool',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamPool';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamPool',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteIpamPool")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteIpamPool',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteIpamPool');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteIpamPool',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamPool';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteIpamPool"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteIpamPool" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteIpamPool",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamPool');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteIpamPool');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteIpamPool');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamPool' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamPool' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteIpamPool"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteIpamPool"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteIpamPool")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteIpamPool";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamPool'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamPool'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamPool'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteIpamPool")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteIpamResourceDiscovery
{{baseUrl}}/#Action=DeleteIpamResourceDiscovery
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteIpamResourceDiscovery");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteIpamResourceDiscovery" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteIpamResourceDiscovery"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteIpamResourceDiscovery"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteIpamResourceDiscovery");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteIpamResourceDiscovery"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteIpamResourceDiscovery")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteIpamResourceDiscovery"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteIpamResourceDiscovery")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteIpamResourceDiscovery")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamResourceDiscovery');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteIpamResourceDiscovery',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamResourceDiscovery';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamResourceDiscovery',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteIpamResourceDiscovery")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteIpamResourceDiscovery',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteIpamResourceDiscovery');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteIpamResourceDiscovery',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamResourceDiscovery';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteIpamResourceDiscovery"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteIpamResourceDiscovery" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteIpamResourceDiscovery",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamResourceDiscovery');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteIpamResourceDiscovery');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteIpamResourceDiscovery');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamResourceDiscovery' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamResourceDiscovery' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteIpamResourceDiscovery"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteIpamResourceDiscovery"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteIpamResourceDiscovery")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteIpamResourceDiscovery";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamResourceDiscovery'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamResourceDiscovery'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamResourceDiscovery'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteIpamResourceDiscovery")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteIpamScope
{{baseUrl}}/#Action=DeleteIpamScope
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteIpamScope");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteIpamScope" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteIpamScope"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteIpamScope"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteIpamScope");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteIpamScope"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteIpamScope")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteIpamScope"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteIpamScope")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteIpamScope")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamScope');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteIpamScope',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamScope';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamScope',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteIpamScope")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteIpamScope',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteIpamScope');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteIpamScope',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamScope';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteIpamScope"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteIpamScope" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteIpamScope",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamScope');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteIpamScope');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteIpamScope');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamScope' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamScope' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteIpamScope"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteIpamScope"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteIpamScope")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteIpamScope";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamScope'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamScope'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteIpamScope'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteIpamScope")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteKeyPair
{{baseUrl}}/#Action=DeleteKeyPair
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteKeyPair" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteKeyPair',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteKeyPair',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteKeyPair');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteKeyPair',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteKeyPair');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteKeyPair');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteKeyPair"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteKeyPair"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteKeyPair";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteKeyPair")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteLaunchTemplate
{{baseUrl}}/#Action=DeleteLaunchTemplate
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteLaunchTemplate" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteLaunchTemplate',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteLaunchTemplate',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteLaunchTemplate');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteLaunchTemplate',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteLaunchTemplate');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteLaunchTemplate');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteLaunchTemplate"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteLaunchTemplate"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteLaunchTemplate";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplate")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"LaunchTemplate": {
"CreateTime": "2017-11-23T16:46:25.000Z",
"CreatedBy": "arn:aws:iam::123456789012:root",
"DefaultVersionNumber": 2,
"LatestVersionNumber": 2,
"LaunchTemplateId": "lt-0abcd290751193123",
"LaunchTemplateName": "my-template"
}
}
POST
POST_DeleteLaunchTemplateVersions
{{baseUrl}}/#Action=DeleteLaunchTemplateVersions
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplateVersions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteLaunchTemplateVersions" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplateVersions"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplateVersions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplateVersions");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplateVersions"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplateVersions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplateVersions"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplateVersions")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplateVersions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplateVersions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteLaunchTemplateVersions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplateVersions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplateVersions',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplateVersions")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteLaunchTemplateVersions',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteLaunchTemplateVersions');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteLaunchTemplateVersions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplateVersions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplateVersions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplateVersions" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplateVersions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplateVersions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteLaunchTemplateVersions');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteLaunchTemplateVersions');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplateVersions' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplateVersions' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteLaunchTemplateVersions"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteLaunchTemplateVersions"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplateVersions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteLaunchTemplateVersions";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplateVersions'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplateVersions'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplateVersions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteLaunchTemplateVersions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"SuccessfullyDeletedLaunchTemplateVersions": [
{
"LaunchTemplateId": "lt-0abcd290751193123",
"LaunchTemplateName": "my-template",
"VersionNumber": 1
}
],
"UnsuccessfullyDeletedLaunchTemplateVersions": []
}
POST
POST_DeleteLocalGatewayRoute
{{baseUrl}}/#Action=DeleteLocalGatewayRoute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRoute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteLocalGatewayRoute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRoute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRoute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRoute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRoute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRoute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRoute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRoute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRoute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRoute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteLocalGatewayRoute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRoute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRoute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRoute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteLocalGatewayRoute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteLocalGatewayRoute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteLocalGatewayRoute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRoute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRoute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRoute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRoute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRoute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteLocalGatewayRoute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteLocalGatewayRoute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRoute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRoute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteLocalGatewayRoute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteLocalGatewayRoute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRoute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteLocalGatewayRoute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRoute'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRoute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRoute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRoute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteLocalGatewayRouteTable
{{baseUrl}}/#Action=DeleteLocalGatewayRouteTable
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTable");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteLocalGatewayRouteTable" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTable"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTable"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTable");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTable"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTable")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTable"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTable")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTable")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTable');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteLocalGatewayRouteTable',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTable';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTable',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTable")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteLocalGatewayRouteTable',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteLocalGatewayRouteTable');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteLocalGatewayRouteTable',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTable';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTable"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTable" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTable');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteLocalGatewayRouteTable');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteLocalGatewayRouteTable');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTable' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTable' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteLocalGatewayRouteTable"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteLocalGatewayRouteTable"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteLocalGatewayRouteTable";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTable'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTable'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTable'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTable")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation
{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteLocalGatewayRouteTableVpcAssociation
{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVpcAssociation
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVpcAssociation" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVpcAssociation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVpcAssociation',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVpcAssociation');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVpcAssociation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVpcAssociation');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVpcAssociation');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVpcAssociation"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVpcAssociation"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteLocalGatewayRouteTableVpcAssociation";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteLocalGatewayRouteTableVpcAssociation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteManagedPrefixList
{{baseUrl}}/#Action=DeleteManagedPrefixList
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteManagedPrefixList");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteManagedPrefixList" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteManagedPrefixList"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteManagedPrefixList"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteManagedPrefixList");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteManagedPrefixList"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteManagedPrefixList")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteManagedPrefixList"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteManagedPrefixList")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteManagedPrefixList")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteManagedPrefixList');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteManagedPrefixList',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteManagedPrefixList';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteManagedPrefixList',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteManagedPrefixList")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteManagedPrefixList',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteManagedPrefixList');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteManagedPrefixList',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteManagedPrefixList';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteManagedPrefixList"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteManagedPrefixList" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteManagedPrefixList",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteManagedPrefixList');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteManagedPrefixList');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteManagedPrefixList');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteManagedPrefixList' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteManagedPrefixList' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteManagedPrefixList"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteManagedPrefixList"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteManagedPrefixList")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteManagedPrefixList";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteManagedPrefixList'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteManagedPrefixList'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteManagedPrefixList'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteManagedPrefixList")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteNatGateway
{{baseUrl}}/#Action=DeleteNatGateway
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteNatGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteNatGateway" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteNatGateway"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteNatGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteNatGateway");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteNatGateway"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteNatGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteNatGateway"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteNatGateway")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteNatGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteNatGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteNatGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteNatGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteNatGateway',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteNatGateway")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteNatGateway',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteNatGateway');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteNatGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteNatGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteNatGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteNatGateway" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteNatGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteNatGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteNatGateway');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteNatGateway');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteNatGateway' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteNatGateway' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteNatGateway"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteNatGateway"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteNatGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteNatGateway";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteNatGateway'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteNatGateway'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteNatGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteNatGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"NatGatewayId": "nat-04ae55e711cec5680"
}
POST
POST_DeleteNetworkAcl
{{baseUrl}}/#Action=DeleteNetworkAcl
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAcl");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteNetworkAcl" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAcl"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAcl"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAcl");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAcl"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAcl")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAcl"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAcl")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAcl")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAcl');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteNetworkAcl',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAcl';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAcl',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAcl")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteNetworkAcl',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteNetworkAcl');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteNetworkAcl',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAcl';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAcl"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAcl" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAcl",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAcl');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteNetworkAcl');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteNetworkAcl');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAcl' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAcl' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteNetworkAcl"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteNetworkAcl"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAcl")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteNetworkAcl";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAcl'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAcl'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAcl'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAcl")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteNetworkAclEntry
{{baseUrl}}/#Action=DeleteNetworkAclEntry
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAclEntry");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteNetworkAclEntry" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAclEntry"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAclEntry"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAclEntry");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAclEntry"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAclEntry")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAclEntry"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAclEntry")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAclEntry")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAclEntry');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteNetworkAclEntry',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAclEntry';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAclEntry',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAclEntry")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteNetworkAclEntry',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteNetworkAclEntry');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteNetworkAclEntry',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAclEntry';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAclEntry"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAclEntry" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAclEntry",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAclEntry');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteNetworkAclEntry');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteNetworkAclEntry');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAclEntry' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAclEntry' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteNetworkAclEntry"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteNetworkAclEntry"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAclEntry")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteNetworkAclEntry";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAclEntry'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAclEntry'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAclEntry'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkAclEntry")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteNetworkInsightsAccessScope
{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScope
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScope");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScope" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScope"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScope"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScope");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScope"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScope")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScope"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScope")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScope")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScope');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScope',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScope';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScope',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScope")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScope',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScope');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScope',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScope';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScope"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScope" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScope",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScope');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScope');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScope');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScope' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScope' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScope"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScope"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScope")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScope";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScope'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScope'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScope'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScope")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteNetworkInsightsAccessScopeAnalysis
{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScopeAnalysis
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScopeAnalysis" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScopeAnalysis',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScopeAnalysis',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScopeAnalysis');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScopeAnalysis',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScopeAnalysis');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScopeAnalysis');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScopeAnalysis"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScopeAnalysis"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteNetworkInsightsAccessScopeAnalysis";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAccessScopeAnalysis")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteNetworkInsightsAnalysis
{{baseUrl}}/#Action=DeleteNetworkInsightsAnalysis
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAnalysis");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteNetworkInsightsAnalysis" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAnalysis"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAnalysis"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAnalysis");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAnalysis"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAnalysis")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAnalysis"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAnalysis")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAnalysis")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAnalysis');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteNetworkInsightsAnalysis',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAnalysis';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAnalysis',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAnalysis")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteNetworkInsightsAnalysis',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteNetworkInsightsAnalysis');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteNetworkInsightsAnalysis',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAnalysis';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAnalysis"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAnalysis" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAnalysis",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAnalysis');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteNetworkInsightsAnalysis');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteNetworkInsightsAnalysis');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAnalysis' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAnalysis' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteNetworkInsightsAnalysis"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteNetworkInsightsAnalysis"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAnalysis")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteNetworkInsightsAnalysis";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAnalysis'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAnalysis'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAnalysis'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsAnalysis")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteNetworkInsightsPath
{{baseUrl}}/#Action=DeleteNetworkInsightsPath
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsPath");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteNetworkInsightsPath" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsPath"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsPath"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsPath");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsPath"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsPath")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsPath"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsPath")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsPath")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsPath');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteNetworkInsightsPath',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsPath';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsPath',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsPath")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteNetworkInsightsPath',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteNetworkInsightsPath');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteNetworkInsightsPath',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsPath';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsPath"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsPath" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsPath",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsPath');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteNetworkInsightsPath');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteNetworkInsightsPath');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsPath' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsPath' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteNetworkInsightsPath"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteNetworkInsightsPath"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsPath")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteNetworkInsightsPath";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsPath'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsPath'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsPath'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInsightsPath")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteNetworkInterface
{{baseUrl}}/#Action=DeleteNetworkInterface
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterface");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteNetworkInterface" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterface"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterface"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterface");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterface"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterface")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterface"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterface")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterface")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterface');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteNetworkInterface',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterface';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterface',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterface")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteNetworkInterface',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteNetworkInterface');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteNetworkInterface',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterface';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterface"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterface" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterface",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterface');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteNetworkInterface');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteNetworkInterface');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterface' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterface' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteNetworkInterface"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteNetworkInterface"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterface")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteNetworkInterface";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterface'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterface'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterface'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterface")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteNetworkInterfacePermission
{{baseUrl}}/#Action=DeleteNetworkInterfacePermission
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterfacePermission");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteNetworkInterfacePermission" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterfacePermission"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterfacePermission"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterfacePermission");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterfacePermission"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterfacePermission")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterfacePermission"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterfacePermission")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterfacePermission")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterfacePermission');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteNetworkInterfacePermission',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterfacePermission';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterfacePermission',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterfacePermission")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteNetworkInterfacePermission',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteNetworkInterfacePermission');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteNetworkInterfacePermission',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterfacePermission';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterfacePermission"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterfacePermission" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterfacePermission",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterfacePermission');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteNetworkInterfacePermission');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteNetworkInterfacePermission');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterfacePermission' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterfacePermission' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteNetworkInterfacePermission"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteNetworkInterfacePermission"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterfacePermission")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteNetworkInterfacePermission";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterfacePermission'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterfacePermission'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterfacePermission'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteNetworkInterfacePermission")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeletePlacementGroup
{{baseUrl}}/#Action=DeletePlacementGroup
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeletePlacementGroup");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeletePlacementGroup" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeletePlacementGroup"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeletePlacementGroup"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeletePlacementGroup");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeletePlacementGroup"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeletePlacementGroup")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeletePlacementGroup"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeletePlacementGroup")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeletePlacementGroup")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeletePlacementGroup');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeletePlacementGroup',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeletePlacementGroup';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeletePlacementGroup',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeletePlacementGroup")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeletePlacementGroup',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeletePlacementGroup');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeletePlacementGroup',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeletePlacementGroup';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeletePlacementGroup"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeletePlacementGroup" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeletePlacementGroup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeletePlacementGroup');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeletePlacementGroup');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeletePlacementGroup');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeletePlacementGroup' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeletePlacementGroup' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeletePlacementGroup"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeletePlacementGroup"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeletePlacementGroup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeletePlacementGroup";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeletePlacementGroup'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeletePlacementGroup'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeletePlacementGroup'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeletePlacementGroup")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeletePublicIpv4Pool
{{baseUrl}}/#Action=DeletePublicIpv4Pool
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeletePublicIpv4Pool");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeletePublicIpv4Pool" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeletePublicIpv4Pool"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeletePublicIpv4Pool"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeletePublicIpv4Pool");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeletePublicIpv4Pool"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeletePublicIpv4Pool")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeletePublicIpv4Pool"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeletePublicIpv4Pool")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeletePublicIpv4Pool")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeletePublicIpv4Pool');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeletePublicIpv4Pool',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeletePublicIpv4Pool';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeletePublicIpv4Pool',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeletePublicIpv4Pool")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeletePublicIpv4Pool',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeletePublicIpv4Pool');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeletePublicIpv4Pool',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeletePublicIpv4Pool';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeletePublicIpv4Pool"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeletePublicIpv4Pool" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeletePublicIpv4Pool",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeletePublicIpv4Pool');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeletePublicIpv4Pool');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeletePublicIpv4Pool');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeletePublicIpv4Pool' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeletePublicIpv4Pool' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeletePublicIpv4Pool"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeletePublicIpv4Pool"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeletePublicIpv4Pool")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeletePublicIpv4Pool";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeletePublicIpv4Pool'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeletePublicIpv4Pool'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeletePublicIpv4Pool'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeletePublicIpv4Pool")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteQueuedReservedInstances
{{baseUrl}}/#Action=DeleteQueuedReservedInstances
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteQueuedReservedInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteQueuedReservedInstances" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteQueuedReservedInstances"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteQueuedReservedInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteQueuedReservedInstances");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteQueuedReservedInstances"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteQueuedReservedInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteQueuedReservedInstances"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteQueuedReservedInstances")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteQueuedReservedInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteQueuedReservedInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteQueuedReservedInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteQueuedReservedInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteQueuedReservedInstances',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteQueuedReservedInstances")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteQueuedReservedInstances',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteQueuedReservedInstances');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteQueuedReservedInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteQueuedReservedInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteQueuedReservedInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteQueuedReservedInstances" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteQueuedReservedInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteQueuedReservedInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteQueuedReservedInstances');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteQueuedReservedInstances');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteQueuedReservedInstances' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteQueuedReservedInstances' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteQueuedReservedInstances"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteQueuedReservedInstances"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteQueuedReservedInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteQueuedReservedInstances";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteQueuedReservedInstances'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteQueuedReservedInstances'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteQueuedReservedInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteQueuedReservedInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteRoute
{{baseUrl}}/#Action=DeleteRoute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteRoute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteRoute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteRoute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteRoute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteRoute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteRoute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteRoute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteRoute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteRoute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteRoute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteRoute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteRoute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteRoute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteRoute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteRoute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteRoute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteRoute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteRoute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteRoute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteRoute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteRoute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteRoute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteRoute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteRoute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteRoute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteRoute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteRoute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteRoute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteRoute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteRoute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteRoute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteRoute'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteRoute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteRoute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteRoute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteRouteTable
{{baseUrl}}/#Action=DeleteRouteTable
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteRouteTable");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteRouteTable" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteRouteTable"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteRouteTable"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteRouteTable");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteRouteTable"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteRouteTable")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteRouteTable"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteRouteTable")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteRouteTable")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteRouteTable');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteRouteTable',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteRouteTable';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteRouteTable',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteRouteTable")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteRouteTable',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteRouteTable');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteRouteTable',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteRouteTable';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteRouteTable"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteRouteTable" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteRouteTable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteRouteTable');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteRouteTable');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteRouteTable');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteRouteTable' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteRouteTable' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteRouteTable"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteRouteTable"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteRouteTable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteRouteTable";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteRouteTable'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteRouteTable'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteRouteTable'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteRouteTable")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteSecurityGroup
{{baseUrl}}/#Action=DeleteSecurityGroup
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteSecurityGroup" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteSecurityGroup',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteSecurityGroup',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteSecurityGroup');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteSecurityGroup',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteSecurityGroup');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteSecurityGroup');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteSecurityGroup"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteSecurityGroup"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteSecurityGroup";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteSecurityGroup")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteSnapshot
{{baseUrl}}/#Action=DeleteSnapshot
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteSnapshot");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteSnapshot" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteSnapshot"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteSnapshot"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteSnapshot");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteSnapshot"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteSnapshot")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteSnapshot"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteSnapshot")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteSnapshot")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteSnapshot');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteSnapshot',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteSnapshot';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteSnapshot',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteSnapshot")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteSnapshot',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteSnapshot');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteSnapshot',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteSnapshot';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteSnapshot"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteSnapshot" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteSnapshot",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteSnapshot');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteSnapshot');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteSnapshot');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteSnapshot' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteSnapshot' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteSnapshot"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteSnapshot"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteSnapshot")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteSnapshot";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteSnapshot'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteSnapshot'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteSnapshot'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteSnapshot")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteSpotDatafeedSubscription
{{baseUrl}}/#Action=DeleteSpotDatafeedSubscription
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteSpotDatafeedSubscription" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteSpotDatafeedSubscription',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteSpotDatafeedSubscription',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteSpotDatafeedSubscription');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteSpotDatafeedSubscription',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteSpotDatafeedSubscription');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteSpotDatafeedSubscription');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteSpotDatafeedSubscription"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteSpotDatafeedSubscription"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteSpotDatafeedSubscription";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteSpotDatafeedSubscription")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteSubnet
{{baseUrl}}/#Action=DeleteSubnet
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteSubnet");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteSubnet" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteSubnet"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteSubnet"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteSubnet");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteSubnet"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteSubnet")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteSubnet"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteSubnet")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteSubnet")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteSubnet');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteSubnet',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteSubnet';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteSubnet',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteSubnet")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteSubnet',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteSubnet');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteSubnet',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteSubnet';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteSubnet"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteSubnet" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteSubnet",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteSubnet');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteSubnet');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteSubnet');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteSubnet' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteSubnet' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteSubnet"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteSubnet"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteSubnet")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteSubnet";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteSubnet'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteSubnet'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteSubnet'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteSubnet")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteSubnetCidrReservation
{{baseUrl}}/#Action=DeleteSubnetCidrReservation
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteSubnetCidrReservation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteSubnetCidrReservation" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteSubnetCidrReservation"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteSubnetCidrReservation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteSubnetCidrReservation");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteSubnetCidrReservation"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteSubnetCidrReservation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteSubnetCidrReservation"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteSubnetCidrReservation")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteSubnetCidrReservation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteSubnetCidrReservation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteSubnetCidrReservation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteSubnetCidrReservation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteSubnetCidrReservation',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteSubnetCidrReservation")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteSubnetCidrReservation',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteSubnetCidrReservation');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteSubnetCidrReservation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteSubnetCidrReservation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteSubnetCidrReservation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteSubnetCidrReservation" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteSubnetCidrReservation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteSubnetCidrReservation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteSubnetCidrReservation');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteSubnetCidrReservation');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteSubnetCidrReservation' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteSubnetCidrReservation' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteSubnetCidrReservation"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteSubnetCidrReservation"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteSubnetCidrReservation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteSubnetCidrReservation";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteSubnetCidrReservation'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteSubnetCidrReservation'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteSubnetCidrReservation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteSubnetCidrReservation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteTags
{{baseUrl}}/#Action=DeleteTags
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteTags");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteTags" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteTags"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteTags"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteTags");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteTags"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteTags")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteTags"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTags")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteTags")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTags');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTags',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTags';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteTags',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTags")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTags',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteTags');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTags',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTags';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteTags"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteTags" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteTags",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTags');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTags');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTags');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTags' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTags' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTags"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTags"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteTags")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTags";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteTags'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteTags'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteTags'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteTags")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteTrafficMirrorFilter
{{baseUrl}}/#Action=DeleteTrafficMirrorFilter
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilter");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteTrafficMirrorFilter" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilter"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilter"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilter");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilter"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilter")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilter"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilter")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilter")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilter');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTrafficMirrorFilter',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilter';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilter',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilter")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTrafficMirrorFilter',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteTrafficMirrorFilter');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTrafficMirrorFilter',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilter';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilter"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilter" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilter",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilter');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTrafficMirrorFilter');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTrafficMirrorFilter');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilter' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilter' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTrafficMirrorFilter"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTrafficMirrorFilter"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilter")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTrafficMirrorFilter";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilter'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilter'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilter'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilter")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteTrafficMirrorFilterRule
{{baseUrl}}/#Action=DeleteTrafficMirrorFilterRule
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilterRule");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteTrafficMirrorFilterRule" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilterRule"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilterRule"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilterRule");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilterRule"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilterRule")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilterRule"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilterRule")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilterRule")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilterRule');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTrafficMirrorFilterRule',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilterRule';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilterRule',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilterRule")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTrafficMirrorFilterRule',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteTrafficMirrorFilterRule');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTrafficMirrorFilterRule',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilterRule';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilterRule"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilterRule" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilterRule",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilterRule');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTrafficMirrorFilterRule');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTrafficMirrorFilterRule');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilterRule' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilterRule' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTrafficMirrorFilterRule"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTrafficMirrorFilterRule"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilterRule")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTrafficMirrorFilterRule";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilterRule'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilterRule'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilterRule'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorFilterRule")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteTrafficMirrorSession
{{baseUrl}}/#Action=DeleteTrafficMirrorSession
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorSession");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteTrafficMirrorSession" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorSession"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorSession"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorSession");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorSession"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorSession")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorSession"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorSession")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorSession")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorSession');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTrafficMirrorSession',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorSession';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorSession',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorSession")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTrafficMirrorSession',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteTrafficMirrorSession');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTrafficMirrorSession',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorSession';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorSession"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorSession" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorSession",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorSession');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTrafficMirrorSession');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTrafficMirrorSession');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorSession' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorSession' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTrafficMirrorSession"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTrafficMirrorSession"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorSession")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTrafficMirrorSession";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorSession'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorSession'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorSession'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorSession")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteTrafficMirrorTarget
{{baseUrl}}/#Action=DeleteTrafficMirrorTarget
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorTarget");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteTrafficMirrorTarget" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorTarget"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorTarget"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorTarget");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorTarget"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorTarget")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorTarget"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorTarget")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorTarget")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorTarget');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTrafficMirrorTarget',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorTarget';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorTarget',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorTarget")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTrafficMirrorTarget',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteTrafficMirrorTarget');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTrafficMirrorTarget',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorTarget';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorTarget"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorTarget" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorTarget",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorTarget');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTrafficMirrorTarget');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTrafficMirrorTarget');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorTarget' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorTarget' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTrafficMirrorTarget"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTrafficMirrorTarget"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorTarget")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTrafficMirrorTarget";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorTarget'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorTarget'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorTarget'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteTrafficMirrorTarget")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteTransitGateway
{{baseUrl}}/#Action=DeleteTransitGateway
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteTransitGateway" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGateway"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGateway");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGateway"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGateway"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGateway")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGateway',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGateway")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGateway',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteTransitGateway');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGateway" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTransitGateway');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTransitGateway');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGateway' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGateway' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTransitGateway"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTransitGateway"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTransitGateway";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGateway'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGateway'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteTransitGatewayConnect
{{baseUrl}}/#Action=DeleteTransitGatewayConnect
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnect");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteTransitGatewayConnect" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnect"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnect"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnect");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnect"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnect")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnect"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnect")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnect")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnect');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayConnect',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnect';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnect',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnect")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayConnect',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteTransitGatewayConnect');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayConnect',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnect';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnect"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnect" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnect",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnect');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTransitGatewayConnect');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTransitGatewayConnect');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnect' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnect' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTransitGatewayConnect"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTransitGatewayConnect"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnect")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTransitGatewayConnect";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnect'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnect'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnect'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnect")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteTransitGatewayConnectPeer
{{baseUrl}}/#Action=DeleteTransitGatewayConnectPeer
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnectPeer");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteTransitGatewayConnectPeer" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnectPeer"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnectPeer"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnectPeer");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnectPeer"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnectPeer")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnectPeer"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnectPeer")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnectPeer")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnectPeer');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayConnectPeer',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnectPeer';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnectPeer',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnectPeer")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayConnectPeer',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteTransitGatewayConnectPeer');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayConnectPeer',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnectPeer';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnectPeer"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnectPeer" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnectPeer",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnectPeer');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTransitGatewayConnectPeer');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTransitGatewayConnectPeer');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnectPeer' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnectPeer' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTransitGatewayConnectPeer"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTransitGatewayConnectPeer"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnectPeer")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTransitGatewayConnectPeer";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnectPeer'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnectPeer'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnectPeer'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayConnectPeer")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteTransitGatewayMulticastDomain
{{baseUrl}}/#Action=DeleteTransitGatewayMulticastDomain
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayMulticastDomain");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteTransitGatewayMulticastDomain" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayMulticastDomain"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayMulticastDomain"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayMulticastDomain");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayMulticastDomain"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayMulticastDomain")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayMulticastDomain"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayMulticastDomain")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayMulticastDomain")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayMulticastDomain');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayMulticastDomain',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayMulticastDomain';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayMulticastDomain',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayMulticastDomain")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayMulticastDomain',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteTransitGatewayMulticastDomain');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayMulticastDomain',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayMulticastDomain';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayMulticastDomain"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayMulticastDomain" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayMulticastDomain",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayMulticastDomain');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTransitGatewayMulticastDomain');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTransitGatewayMulticastDomain');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayMulticastDomain' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayMulticastDomain' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTransitGatewayMulticastDomain"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTransitGatewayMulticastDomain"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayMulticastDomain")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTransitGatewayMulticastDomain";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayMulticastDomain'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayMulticastDomain'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayMulticastDomain'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayMulticastDomain")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteTransitGatewayPeeringAttachment
{{baseUrl}}/#Action=DeleteTransitGatewayPeeringAttachment
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteTransitGatewayPeeringAttachment" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayPeeringAttachment',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayPeeringAttachment',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteTransitGatewayPeeringAttachment');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayPeeringAttachment',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTransitGatewayPeeringAttachment');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTransitGatewayPeeringAttachment');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTransitGatewayPeeringAttachment"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTransitGatewayPeeringAttachment"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTransitGatewayPeeringAttachment";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPeeringAttachment")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteTransitGatewayPolicyTable
{{baseUrl}}/#Action=DeleteTransitGatewayPolicyTable
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPolicyTable");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteTransitGatewayPolicyTable" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPolicyTable"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPolicyTable"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPolicyTable");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPolicyTable"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPolicyTable")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPolicyTable"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPolicyTable")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPolicyTable")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPolicyTable');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayPolicyTable',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPolicyTable';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPolicyTable',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPolicyTable")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayPolicyTable',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteTransitGatewayPolicyTable');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayPolicyTable',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPolicyTable';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPolicyTable"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPolicyTable" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPolicyTable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPolicyTable');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTransitGatewayPolicyTable');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTransitGatewayPolicyTable');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPolicyTable' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPolicyTable' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTransitGatewayPolicyTable"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTransitGatewayPolicyTable"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPolicyTable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTransitGatewayPolicyTable";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPolicyTable'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPolicyTable'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPolicyTable'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPolicyTable")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteTransitGatewayPrefixListReference
{{baseUrl}}/#Action=DeleteTransitGatewayPrefixListReference
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPrefixListReference");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteTransitGatewayPrefixListReference" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPrefixListReference"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPrefixListReference"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPrefixListReference");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPrefixListReference"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPrefixListReference")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPrefixListReference"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPrefixListReference")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPrefixListReference")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPrefixListReference');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayPrefixListReference',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPrefixListReference';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPrefixListReference',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPrefixListReference")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayPrefixListReference',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteTransitGatewayPrefixListReference');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayPrefixListReference',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPrefixListReference';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPrefixListReference"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPrefixListReference" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPrefixListReference",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPrefixListReference');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTransitGatewayPrefixListReference');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTransitGatewayPrefixListReference');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPrefixListReference' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPrefixListReference' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTransitGatewayPrefixListReference"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTransitGatewayPrefixListReference"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPrefixListReference")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTransitGatewayPrefixListReference";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPrefixListReference'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPrefixListReference'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPrefixListReference'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayPrefixListReference")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteTransitGatewayRoute
{{baseUrl}}/#Action=DeleteTransitGatewayRoute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRoute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteTransitGatewayRoute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRoute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRoute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRoute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRoute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRoute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRoute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRoute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRoute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRoute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayRoute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRoute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRoute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRoute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayRoute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteTransitGatewayRoute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayRoute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRoute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRoute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRoute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRoute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRoute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTransitGatewayRoute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTransitGatewayRoute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRoute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRoute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTransitGatewayRoute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTransitGatewayRoute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRoute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTransitGatewayRoute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRoute'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRoute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRoute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRoute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteTransitGatewayRouteTable
{{baseUrl}}/#Action=DeleteTransitGatewayRouteTable
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTable");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteTransitGatewayRouteTable" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTable"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTable"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTable");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTable"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTable")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTable"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTable")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTable")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTable');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayRouteTable',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTable';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTable',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTable")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayRouteTable',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteTransitGatewayRouteTable');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayRouteTable',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTable';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTable"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTable" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTable');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTransitGatewayRouteTable');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTransitGatewayRouteTable');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTable' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTable' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTransitGatewayRouteTable"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTransitGatewayRouteTable"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTransitGatewayRouteTable";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTable'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTable'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTable'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTable")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteTransitGatewayRouteTableAnnouncement
{{baseUrl}}/#Action=DeleteTransitGatewayRouteTableAnnouncement
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteTransitGatewayRouteTableAnnouncement" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayRouteTableAnnouncement',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayRouteTableAnnouncement',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteTransitGatewayRouteTableAnnouncement');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayRouteTableAnnouncement',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTransitGatewayRouteTableAnnouncement');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTransitGatewayRouteTableAnnouncement');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTransitGatewayRouteTableAnnouncement"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTransitGatewayRouteTableAnnouncement"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTransitGatewayRouteTableAnnouncement";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayRouteTableAnnouncement")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteTransitGatewayVpcAttachment
{{baseUrl}}/#Action=DeleteTransitGatewayVpcAttachment
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayVpcAttachment");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteTransitGatewayVpcAttachment" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayVpcAttachment"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayVpcAttachment"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayVpcAttachment");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayVpcAttachment"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayVpcAttachment")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayVpcAttachment"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayVpcAttachment")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayVpcAttachment")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayVpcAttachment');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayVpcAttachment',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayVpcAttachment';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayVpcAttachment',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayVpcAttachment")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayVpcAttachment',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteTransitGatewayVpcAttachment');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteTransitGatewayVpcAttachment',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayVpcAttachment';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayVpcAttachment"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayVpcAttachment" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayVpcAttachment",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayVpcAttachment');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteTransitGatewayVpcAttachment');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteTransitGatewayVpcAttachment');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayVpcAttachment' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayVpcAttachment' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteTransitGatewayVpcAttachment"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteTransitGatewayVpcAttachment"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayVpcAttachment")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteTransitGatewayVpcAttachment";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayVpcAttachment'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayVpcAttachment'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayVpcAttachment'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteTransitGatewayVpcAttachment")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteVerifiedAccessEndpoint
{{baseUrl}}/#Action=DeleteVerifiedAccessEndpoint
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessEndpoint");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteVerifiedAccessEndpoint" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessEndpoint"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessEndpoint"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessEndpoint");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessEndpoint"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessEndpoint")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessEndpoint"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessEndpoint")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessEndpoint")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessEndpoint');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVerifiedAccessEndpoint',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessEndpoint';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessEndpoint',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessEndpoint")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVerifiedAccessEndpoint',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteVerifiedAccessEndpoint');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVerifiedAccessEndpoint',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessEndpoint';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessEndpoint"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessEndpoint" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessEndpoint",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessEndpoint');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteVerifiedAccessEndpoint');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteVerifiedAccessEndpoint');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessEndpoint' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessEndpoint' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteVerifiedAccessEndpoint"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteVerifiedAccessEndpoint"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessEndpoint")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteVerifiedAccessEndpoint";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessEndpoint'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessEndpoint'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessEndpoint'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessEndpoint")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteVerifiedAccessGroup
{{baseUrl}}/#Action=DeleteVerifiedAccessGroup
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessGroup");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteVerifiedAccessGroup" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessGroup"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessGroup"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessGroup");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessGroup"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessGroup")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessGroup"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessGroup")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessGroup")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessGroup');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVerifiedAccessGroup',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessGroup';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessGroup',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessGroup")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVerifiedAccessGroup',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteVerifiedAccessGroup');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVerifiedAccessGroup',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessGroup';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessGroup"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessGroup" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessGroup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessGroup');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteVerifiedAccessGroup');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteVerifiedAccessGroup');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessGroup' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessGroup' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteVerifiedAccessGroup"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteVerifiedAccessGroup"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessGroup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteVerifiedAccessGroup";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessGroup'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessGroup'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessGroup'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessGroup")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteVerifiedAccessInstance
{{baseUrl}}/#Action=DeleteVerifiedAccessInstance
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessInstance");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteVerifiedAccessInstance" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessInstance"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessInstance"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessInstance");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessInstance"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessInstance")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessInstance"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessInstance")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessInstance")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessInstance');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVerifiedAccessInstance',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessInstance';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessInstance',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessInstance")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVerifiedAccessInstance',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteVerifiedAccessInstance');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVerifiedAccessInstance',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessInstance';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessInstance"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessInstance" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessInstance",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessInstance');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteVerifiedAccessInstance');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteVerifiedAccessInstance');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessInstance' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessInstance' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteVerifiedAccessInstance"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteVerifiedAccessInstance"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessInstance")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteVerifiedAccessInstance";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessInstance'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessInstance'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessInstance'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessInstance")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteVerifiedAccessTrustProvider
{{baseUrl}}/#Action=DeleteVerifiedAccessTrustProvider
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessTrustProvider");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteVerifiedAccessTrustProvider" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessTrustProvider"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessTrustProvider"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessTrustProvider");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessTrustProvider"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessTrustProvider")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessTrustProvider"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessTrustProvider")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessTrustProvider")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessTrustProvider');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVerifiedAccessTrustProvider',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessTrustProvider';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessTrustProvider',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessTrustProvider")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVerifiedAccessTrustProvider',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteVerifiedAccessTrustProvider');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVerifiedAccessTrustProvider',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessTrustProvider';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessTrustProvider"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessTrustProvider" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessTrustProvider",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessTrustProvider');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteVerifiedAccessTrustProvider');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteVerifiedAccessTrustProvider');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessTrustProvider' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessTrustProvider' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteVerifiedAccessTrustProvider"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteVerifiedAccessTrustProvider"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessTrustProvider")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteVerifiedAccessTrustProvider";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessTrustProvider'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessTrustProvider'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessTrustProvider'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteVerifiedAccessTrustProvider")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteVolume
{{baseUrl}}/#Action=DeleteVolume
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteVolume");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteVolume" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteVolume"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteVolume"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteVolume");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteVolume"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteVolume")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteVolume"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteVolume")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteVolume")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteVolume');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVolume',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteVolume';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteVolume',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteVolume")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVolume',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteVolume');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVolume',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteVolume';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteVolume"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteVolume" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteVolume",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteVolume');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteVolume');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteVolume');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteVolume' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteVolume' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteVolume"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteVolume"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteVolume")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteVolume";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteVolume'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteVolume'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteVolume'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteVolume")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteVpc
{{baseUrl}}/#Action=DeleteVpc
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteVpc");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteVpc" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteVpc"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteVpc"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteVpc");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteVpc"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteVpc")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteVpc"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteVpc")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteVpc")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteVpc');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVpc',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteVpc';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteVpc',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteVpc")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVpc',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteVpc');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVpc',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteVpc';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteVpc"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteVpc" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteVpc",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteVpc');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteVpc');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteVpc');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteVpc' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteVpc' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteVpc"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteVpc"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteVpc")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteVpc";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteVpc'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteVpc'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteVpc'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteVpc")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteVpcEndpointConnectionNotifications
{{baseUrl}}/#Action=DeleteVpcEndpointConnectionNotifications
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteVpcEndpointConnectionNotifications" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVpcEndpointConnectionNotifications',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVpcEndpointConnectionNotifications',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteVpcEndpointConnectionNotifications');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVpcEndpointConnectionNotifications',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteVpcEndpointConnectionNotifications');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteVpcEndpointConnectionNotifications');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteVpcEndpointConnectionNotifications"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteVpcEndpointConnectionNotifications"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteVpcEndpointConnectionNotifications";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointConnectionNotifications")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteVpcEndpointServiceConfigurations
{{baseUrl}}/#Action=DeleteVpcEndpointServiceConfigurations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteVpcEndpointServiceConfigurations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVpcEndpointServiceConfigurations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVpcEndpointServiceConfigurations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteVpcEndpointServiceConfigurations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVpcEndpointServiceConfigurations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteVpcEndpointServiceConfigurations');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteVpcEndpointServiceConfigurations');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteVpcEndpointServiceConfigurations"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteVpcEndpointServiceConfigurations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteVpcEndpointServiceConfigurations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpointServiceConfigurations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteVpcEndpoints
{{baseUrl}}/#Action=DeleteVpcEndpoints
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpoints");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteVpcEndpoints" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpoints"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpoints"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpoints");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpoints"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpoints")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpoints"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpoints")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpoints")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpoints');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVpcEndpoints',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpoints';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpoints',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpoints")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVpcEndpoints',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteVpcEndpoints');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVpcEndpoints',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpoints';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpoints"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpoints" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpoints",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpoints');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteVpcEndpoints');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteVpcEndpoints');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpoints' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpoints' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteVpcEndpoints"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteVpcEndpoints"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpoints")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteVpcEndpoints";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpoints'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpoints'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpoints'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteVpcEndpoints")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteVpcPeeringConnection
{{baseUrl}}/#Action=DeleteVpcPeeringConnection
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteVpcPeeringConnection");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteVpcPeeringConnection" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteVpcPeeringConnection"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteVpcPeeringConnection"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteVpcPeeringConnection");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteVpcPeeringConnection"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteVpcPeeringConnection")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteVpcPeeringConnection"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteVpcPeeringConnection")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteVpcPeeringConnection")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcPeeringConnection');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVpcPeeringConnection',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcPeeringConnection';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcPeeringConnection',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteVpcPeeringConnection")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVpcPeeringConnection',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteVpcPeeringConnection');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVpcPeeringConnection',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcPeeringConnection';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteVpcPeeringConnection"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteVpcPeeringConnection" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteVpcPeeringConnection",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcPeeringConnection');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteVpcPeeringConnection');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteVpcPeeringConnection');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcPeeringConnection' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcPeeringConnection' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteVpcPeeringConnection"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteVpcPeeringConnection"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteVpcPeeringConnection")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteVpcPeeringConnection";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcPeeringConnection'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcPeeringConnection'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteVpcPeeringConnection'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteVpcPeeringConnection")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteVpnConnection
{{baseUrl}}/#Action=DeleteVpnConnection
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnection");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteVpnConnection" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnection"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnection"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnection");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnection"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnection")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnection"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnection")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnection")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnection');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVpnConnection',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnection';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnection',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnection")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVpnConnection',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteVpnConnection');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVpnConnection',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnection';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnection"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnection" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnection",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnection');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteVpnConnection');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteVpnConnection');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnection' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnection' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteVpnConnection"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteVpnConnection"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnection")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteVpnConnection";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnection'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnection'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnection'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnection")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteVpnConnectionRoute
{{baseUrl}}/#Action=DeleteVpnConnectionRoute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnectionRoute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteVpnConnectionRoute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnectionRoute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnectionRoute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnectionRoute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnectionRoute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnectionRoute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnectionRoute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnectionRoute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnectionRoute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnectionRoute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVpnConnectionRoute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnectionRoute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnectionRoute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnectionRoute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVpnConnectionRoute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteVpnConnectionRoute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVpnConnectionRoute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnectionRoute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnectionRoute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnectionRoute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnectionRoute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnectionRoute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteVpnConnectionRoute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteVpnConnectionRoute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnectionRoute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnectionRoute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteVpnConnectionRoute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteVpnConnectionRoute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnectionRoute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteVpnConnectionRoute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnectionRoute'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnectionRoute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnectionRoute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteVpnConnectionRoute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeleteVpnGateway
{{baseUrl}}/#Action=DeleteVpnGateway
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeleteVpnGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeleteVpnGateway" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeleteVpnGateway"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeleteVpnGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeleteVpnGateway");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeleteVpnGateway"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeleteVpnGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeleteVpnGateway"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteVpnGateway")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeleteVpnGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVpnGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnGateway',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeleteVpnGateway")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVpnGateway',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeleteVpnGateway');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeleteVpnGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeleteVpnGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeleteVpnGateway" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeleteVpnGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeleteVpnGateway');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeleteVpnGateway');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnGateway' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnGateway' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeleteVpnGateway"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeleteVpnGateway"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeleteVpnGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeleteVpnGateway";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnGateway'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnGateway'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeleteVpnGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeleteVpnGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeprovisionByoipCidr
{{baseUrl}}/#Action=DeprovisionByoipCidr
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeprovisionByoipCidr");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeprovisionByoipCidr" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeprovisionByoipCidr"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeprovisionByoipCidr"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeprovisionByoipCidr");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeprovisionByoipCidr"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeprovisionByoipCidr")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeprovisionByoipCidr"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeprovisionByoipCidr")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeprovisionByoipCidr")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeprovisionByoipCidr');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeprovisionByoipCidr',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeprovisionByoipCidr';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeprovisionByoipCidr',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeprovisionByoipCidr")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeprovisionByoipCidr',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeprovisionByoipCidr');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeprovisionByoipCidr',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeprovisionByoipCidr';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeprovisionByoipCidr"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeprovisionByoipCidr" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeprovisionByoipCidr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeprovisionByoipCidr');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeprovisionByoipCidr');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeprovisionByoipCidr');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeprovisionByoipCidr' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeprovisionByoipCidr' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeprovisionByoipCidr"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeprovisionByoipCidr"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeprovisionByoipCidr")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeprovisionByoipCidr";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeprovisionByoipCidr'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeprovisionByoipCidr'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeprovisionByoipCidr'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeprovisionByoipCidr")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeprovisionIpamPoolCidr
{{baseUrl}}/#Action=DeprovisionIpamPoolCidr
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeprovisionIpamPoolCidr");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeprovisionIpamPoolCidr" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeprovisionIpamPoolCidr"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeprovisionIpamPoolCidr"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeprovisionIpamPoolCidr");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeprovisionIpamPoolCidr"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeprovisionIpamPoolCidr")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeprovisionIpamPoolCidr"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeprovisionIpamPoolCidr")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeprovisionIpamPoolCidr")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeprovisionIpamPoolCidr');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeprovisionIpamPoolCidr',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeprovisionIpamPoolCidr';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeprovisionIpamPoolCidr',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeprovisionIpamPoolCidr")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeprovisionIpamPoolCidr',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeprovisionIpamPoolCidr');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeprovisionIpamPoolCidr',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeprovisionIpamPoolCidr';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeprovisionIpamPoolCidr"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeprovisionIpamPoolCidr" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeprovisionIpamPoolCidr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeprovisionIpamPoolCidr');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeprovisionIpamPoolCidr');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeprovisionIpamPoolCidr');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeprovisionIpamPoolCidr' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeprovisionIpamPoolCidr' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeprovisionIpamPoolCidr"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeprovisionIpamPoolCidr"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeprovisionIpamPoolCidr")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeprovisionIpamPoolCidr";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeprovisionIpamPoolCidr'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeprovisionIpamPoolCidr'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeprovisionIpamPoolCidr'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeprovisionIpamPoolCidr")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeprovisionPublicIpv4PoolCidr
{{baseUrl}}/#Action=DeprovisionPublicIpv4PoolCidr
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeprovisionPublicIpv4PoolCidr" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeprovisionPublicIpv4PoolCidr',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeprovisionPublicIpv4PoolCidr',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeprovisionPublicIpv4PoolCidr');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeprovisionPublicIpv4PoolCidr',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeprovisionPublicIpv4PoolCidr');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeprovisionPublicIpv4PoolCidr');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeprovisionPublicIpv4PoolCidr"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeprovisionPublicIpv4PoolCidr"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeprovisionPublicIpv4PoolCidr";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeprovisionPublicIpv4PoolCidr")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeregisterImage
{{baseUrl}}/#Action=DeregisterImage
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeregisterImage");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeregisterImage" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeregisterImage"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeregisterImage"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeregisterImage");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeregisterImage"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeregisterImage")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeregisterImage"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeregisterImage")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeregisterImage")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeregisterImage');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeregisterImage',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeregisterImage';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeregisterImage',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeregisterImage")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeregisterImage',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeregisterImage');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeregisterImage',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeregisterImage';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeregisterImage"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeregisterImage" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeregisterImage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeregisterImage');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeregisterImage');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeregisterImage');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeregisterImage' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeregisterImage' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeregisterImage"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeregisterImage"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeregisterImage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeregisterImage";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeregisterImage'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeregisterImage'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeregisterImage'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeregisterImage")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeregisterInstanceEventNotificationAttributes
{{baseUrl}}/#Action=DeregisterInstanceEventNotificationAttributes
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeregisterInstanceEventNotificationAttributes" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeregisterInstanceEventNotificationAttributes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeregisterInstanceEventNotificationAttributes',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeregisterInstanceEventNotificationAttributes');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeregisterInstanceEventNotificationAttributes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeregisterInstanceEventNotificationAttributes');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeregisterInstanceEventNotificationAttributes');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeregisterInstanceEventNotificationAttributes"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeregisterInstanceEventNotificationAttributes"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeregisterInstanceEventNotificationAttributes";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeregisterInstanceEventNotificationAttributes")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeregisterTransitGatewayMulticastGroupMembers
{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupMembers
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupMembers" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupMembers',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupMembers',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupMembers');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupMembers',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupMembers');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupMembers');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupMembers"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupMembers"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupMembers";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupMembers")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DeregisterTransitGatewayMulticastGroupSources
{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupSources
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupSources" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupSources',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupSources',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupSources');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupSources',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupSources');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupSources');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupSources"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupSources"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DeregisterTransitGatewayMulticastGroupSources";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources'
http POST '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DeregisterTransitGatewayMulticastGroupSources")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeAccountAttributes
{{baseUrl}}/#Action=DescribeAccountAttributes
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeAccountAttributes" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeAccountAttributes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeAccountAttributes',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeAccountAttributes');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeAccountAttributes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeAccountAttributes');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeAccountAttributes');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeAccountAttributes"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeAccountAttributes"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeAccountAttributes";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeAccountAttributes")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"AccountAttributes": [
{
"AttributeName": "supported-platforms",
"AttributeValues": [
{
"AttributeValue": "EC2"
},
{
"AttributeValue": "VPC"
}
]
},
{
"AttributeName": "vpc-max-security-groups-per-interface",
"AttributeValues": [
{
"AttributeValue": "5"
}
]
},
{
"AttributeName": "max-elastic-ips",
"AttributeValues": [
{
"AttributeValue": "5"
}
]
},
{
"AttributeName": "max-instances",
"AttributeValues": [
{
"AttributeValue": "20"
}
]
},
{
"AttributeName": "vpc-max-elastic-ips",
"AttributeValues": [
{
"AttributeValue": "5"
}
]
},
{
"AttributeName": "default-vpc",
"AttributeValues": [
{
"AttributeValue": "none"
}
]
}
]
}
POST
POST_DescribeAddressTransfers
{{baseUrl}}/#Action=DescribeAddressTransfers
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeAddressTransfers" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeAddressTransfers',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeAddressTransfers',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeAddressTransfers');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeAddressTransfers',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeAddressTransfers');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeAddressTransfers');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeAddressTransfers"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeAddressTransfers"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeAddressTransfers";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeAddressTransfers")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeAddresses
{{baseUrl}}/#Action=DescribeAddresses
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeAddresses" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeAddresses',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeAddresses',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeAddresses');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeAddresses',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeAddresses');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeAddresses');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeAddresses"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeAddresses"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeAddresses";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeAddresses")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"Addresses": [
{
"Domain": "standard",
"InstanceId": "i-1234567890abcdef0",
"PublicIp": "198.51.100.0"
}
]
}
POST
POST_DescribeAddressesAttribute
{{baseUrl}}/#Action=DescribeAddressesAttribute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeAddressesAttribute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeAddressesAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeAddressesAttribute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeAddressesAttribute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeAddressesAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeAddressesAttribute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeAddressesAttribute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeAddressesAttribute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeAddressesAttribute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeAddressesAttribute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeAddressesAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeAggregateIdFormat
{{baseUrl}}/#Action=DescribeAggregateIdFormat
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeAggregateIdFormat" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeAggregateIdFormat',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeAggregateIdFormat',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeAggregateIdFormat');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeAggregateIdFormat',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeAggregateIdFormat');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeAggregateIdFormat');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeAggregateIdFormat"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeAggregateIdFormat"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeAggregateIdFormat";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeAggregateIdFormat")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeAvailabilityZones
{{baseUrl}}/#Action=DescribeAvailabilityZones
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeAvailabilityZones" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeAvailabilityZones',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeAvailabilityZones',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeAvailabilityZones');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeAvailabilityZones',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeAvailabilityZones');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeAvailabilityZones');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeAvailabilityZones"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeAvailabilityZones"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeAvailabilityZones";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeAvailabilityZones")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"AvailabilityZones": [
{
"Messages": [],
"RegionName": "us-east-1",
"State": "available",
"ZoneName": "us-east-1b"
},
{
"Messages": [],
"RegionName": "us-east-1",
"State": "available",
"ZoneName": "us-east-1c"
},
{
"Messages": [],
"RegionName": "us-east-1",
"State": "available",
"ZoneName": "us-east-1d"
},
{
"Messages": [],
"RegionName": "us-east-1",
"State": "available",
"ZoneName": "us-east-1e"
}
]
}
POST
POST_DescribeAwsNetworkPerformanceMetricSubscriptions
{{baseUrl}}/#Action=DescribeAwsNetworkPerformanceMetricSubscriptions
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeAwsNetworkPerformanceMetricSubscriptions" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeAwsNetworkPerformanceMetricSubscriptions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeAwsNetworkPerformanceMetricSubscriptions',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeAwsNetworkPerformanceMetricSubscriptions');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeAwsNetworkPerformanceMetricSubscriptions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeAwsNetworkPerformanceMetricSubscriptions');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeAwsNetworkPerformanceMetricSubscriptions');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeAwsNetworkPerformanceMetricSubscriptions"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeAwsNetworkPerformanceMetricSubscriptions"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeAwsNetworkPerformanceMetricSubscriptions";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeAwsNetworkPerformanceMetricSubscriptions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeBundleTasks
{{baseUrl}}/#Action=DescribeBundleTasks
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeBundleTasks" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeBundleTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeBundleTasks',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeBundleTasks');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeBundleTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeBundleTasks');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeBundleTasks');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeBundleTasks"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeBundleTasks"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeBundleTasks";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeBundleTasks")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeByoipCidrs
{{baseUrl}}/#Action=DescribeByoipCidrs
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeByoipCidrs");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeByoipCidrs" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeByoipCidrs"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeByoipCidrs"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeByoipCidrs");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeByoipCidrs"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeByoipCidrs")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeByoipCidrs"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeByoipCidrs")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeByoipCidrs")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeByoipCidrs');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeByoipCidrs',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeByoipCidrs';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeByoipCidrs',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeByoipCidrs")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeByoipCidrs',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeByoipCidrs');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeByoipCidrs',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeByoipCidrs';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeByoipCidrs"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeByoipCidrs" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeByoipCidrs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeByoipCidrs');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeByoipCidrs');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeByoipCidrs');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeByoipCidrs' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeByoipCidrs' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeByoipCidrs"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeByoipCidrs"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeByoipCidrs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeByoipCidrs";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeByoipCidrs'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeByoipCidrs'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeByoipCidrs'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeByoipCidrs")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeCapacityReservationFleets
{{baseUrl}}/#Action=DescribeCapacityReservationFleets
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeCapacityReservationFleets" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeCapacityReservationFleets',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeCapacityReservationFleets',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeCapacityReservationFleets');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeCapacityReservationFleets',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeCapacityReservationFleets');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeCapacityReservationFleets');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeCapacityReservationFleets"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeCapacityReservationFleets"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeCapacityReservationFleets";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservationFleets")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeCapacityReservations
{{baseUrl}}/#Action=DescribeCapacityReservations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeCapacityReservations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeCapacityReservations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeCapacityReservations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeCapacityReservations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeCapacityReservations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeCapacityReservations');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeCapacityReservations');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeCapacityReservations"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeCapacityReservations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeCapacityReservations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeCapacityReservations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeCarrierGateways
{{baseUrl}}/#Action=DescribeCarrierGateways
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeCarrierGateways" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeCarrierGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeCarrierGateways',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeCarrierGateways');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeCarrierGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeCarrierGateways');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeCarrierGateways');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeCarrierGateways"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeCarrierGateways"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeCarrierGateways";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeCarrierGateways")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeClassicLinkInstances
{{baseUrl}}/#Action=DescribeClassicLinkInstances
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeClassicLinkInstances" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeClassicLinkInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeClassicLinkInstances',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeClassicLinkInstances');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeClassicLinkInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeClassicLinkInstances');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeClassicLinkInstances');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeClassicLinkInstances"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeClassicLinkInstances"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeClassicLinkInstances";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeClassicLinkInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeClientVpnAuthorizationRules
{{baseUrl}}/#Action=DescribeClientVpnAuthorizationRules
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnAuthorizationRules");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeClientVpnAuthorizationRules" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnAuthorizationRules"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnAuthorizationRules"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnAuthorizationRules");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnAuthorizationRules"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnAuthorizationRules")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnAuthorizationRules"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnAuthorizationRules")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnAuthorizationRules")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnAuthorizationRules');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeClientVpnAuthorizationRules',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnAuthorizationRules';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnAuthorizationRules',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnAuthorizationRules")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeClientVpnAuthorizationRules',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeClientVpnAuthorizationRules');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeClientVpnAuthorizationRules',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnAuthorizationRules';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnAuthorizationRules"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnAuthorizationRules" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnAuthorizationRules",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnAuthorizationRules');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeClientVpnAuthorizationRules');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeClientVpnAuthorizationRules');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnAuthorizationRules' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnAuthorizationRules' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeClientVpnAuthorizationRules"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeClientVpnAuthorizationRules"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnAuthorizationRules")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeClientVpnAuthorizationRules";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnAuthorizationRules'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnAuthorizationRules'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnAuthorizationRules'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnAuthorizationRules")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeClientVpnConnections
{{baseUrl}}/#Action=DescribeClientVpnConnections
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnConnections");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeClientVpnConnections" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnConnections"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnConnections"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnConnections");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnConnections"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnConnections")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnConnections"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnConnections")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnConnections")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnConnections');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeClientVpnConnections',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnConnections';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnConnections',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnConnections")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeClientVpnConnections',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeClientVpnConnections');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeClientVpnConnections',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnConnections';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnConnections"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnConnections" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnConnections",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnConnections');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeClientVpnConnections');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeClientVpnConnections');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnConnections' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnConnections' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeClientVpnConnections"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeClientVpnConnections"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnConnections")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeClientVpnConnections";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnConnections'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnConnections'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnConnections'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnConnections")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeClientVpnEndpoints
{{baseUrl}}/#Action=DescribeClientVpnEndpoints
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeClientVpnEndpoints" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeClientVpnEndpoints',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeClientVpnEndpoints',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeClientVpnEndpoints');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeClientVpnEndpoints',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeClientVpnEndpoints');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeClientVpnEndpoints');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeClientVpnEndpoints"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeClientVpnEndpoints"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeClientVpnEndpoints";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnEndpoints")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeClientVpnRoutes
{{baseUrl}}/#Action=DescribeClientVpnRoutes
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnRoutes");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeClientVpnRoutes" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnRoutes"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnRoutes"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnRoutes");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnRoutes"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnRoutes")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnRoutes"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnRoutes")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnRoutes")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnRoutes');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeClientVpnRoutes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnRoutes';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnRoutes',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnRoutes")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeClientVpnRoutes',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeClientVpnRoutes');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeClientVpnRoutes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnRoutes';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnRoutes"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnRoutes" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnRoutes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnRoutes');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeClientVpnRoutes');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeClientVpnRoutes');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnRoutes' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnRoutes' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeClientVpnRoutes"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeClientVpnRoutes"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnRoutes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeClientVpnRoutes";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnRoutes'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnRoutes'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnRoutes'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnRoutes")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeClientVpnTargetNetworks
{{baseUrl}}/#Action=DescribeClientVpnTargetNetworks
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnTargetNetworks");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeClientVpnTargetNetworks" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnTargetNetworks"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnTargetNetworks"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnTargetNetworks");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnTargetNetworks"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnTargetNetworks")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnTargetNetworks"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnTargetNetworks")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnTargetNetworks")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnTargetNetworks');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeClientVpnTargetNetworks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnTargetNetworks';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnTargetNetworks',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnTargetNetworks")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeClientVpnTargetNetworks',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeClientVpnTargetNetworks');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeClientVpnTargetNetworks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnTargetNetworks';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnTargetNetworks"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnTargetNetworks" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnTargetNetworks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnTargetNetworks');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeClientVpnTargetNetworks');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeClientVpnTargetNetworks');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnTargetNetworks' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnTargetNetworks' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeClientVpnTargetNetworks"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeClientVpnTargetNetworks"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnTargetNetworks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeClientVpnTargetNetworks";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnTargetNetworks'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnTargetNetworks'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnTargetNetworks'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeClientVpnTargetNetworks")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeCoipPools
{{baseUrl}}/#Action=DescribeCoipPools
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeCoipPools" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeCoipPools',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeCoipPools',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeCoipPools');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeCoipPools',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeCoipPools');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeCoipPools');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeCoipPools"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeCoipPools"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeCoipPools";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeCoipPools")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeConversionTasks
{{baseUrl}}/#Action=DescribeConversionTasks
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeConversionTasks" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeConversionTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeConversionTasks',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeConversionTasks');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeConversionTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeConversionTasks');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeConversionTasks');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeConversionTasks"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeConversionTasks"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeConversionTasks";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeConversionTasks")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeCustomerGateways
{{baseUrl}}/#Action=DescribeCustomerGateways
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeCustomerGateways" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeCustomerGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeCustomerGateways',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeCustomerGateways');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeCustomerGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeCustomerGateways');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeCustomerGateways');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeCustomerGateways"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeCustomerGateways"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeCustomerGateways";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeCustomerGateways")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"CustomerGateways": [
{
"BgpAsn": "65534",
"CustomerGatewayId": "cgw-0e11f167",
"IpAddress": "12.1.2.3",
"State": "available",
"Type": "ipsec.1"
}
]
}
POST
POST_DescribeDhcpOptions
{{baseUrl}}/#Action=DescribeDhcpOptions
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeDhcpOptions" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeDhcpOptions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeDhcpOptions',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeDhcpOptions');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeDhcpOptions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeDhcpOptions');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeDhcpOptions');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeDhcpOptions"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeDhcpOptions"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeDhcpOptions";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeDhcpOptions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"DhcpOptions": [
{
"DhcpConfigurations": [
{
"Key": "domain-name-servers",
"Values": [
{
"Value": "10.2.5.2"
},
{
"Value": "10.2.5.1"
}
]
}
],
"DhcpOptionsId": "dopt-d9070ebb"
}
]
}
POST
POST_DescribeEgressOnlyInternetGateways
{{baseUrl}}/#Action=DescribeEgressOnlyInternetGateways
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeEgressOnlyInternetGateways" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeEgressOnlyInternetGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeEgressOnlyInternetGateways',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeEgressOnlyInternetGateways');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeEgressOnlyInternetGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeEgressOnlyInternetGateways');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeEgressOnlyInternetGateways');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeEgressOnlyInternetGateways"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeEgressOnlyInternetGateways"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeEgressOnlyInternetGateways";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeEgressOnlyInternetGateways")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeElasticGpus
{{baseUrl}}/#Action=DescribeElasticGpus
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeElasticGpus" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeElasticGpus',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeElasticGpus',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeElasticGpus');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeElasticGpus',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeElasticGpus');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeElasticGpus');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeElasticGpus"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeElasticGpus"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeElasticGpus";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeElasticGpus")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeExportImageTasks
{{baseUrl}}/#Action=DescribeExportImageTasks
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeExportImageTasks" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeExportImageTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeExportImageTasks',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeExportImageTasks');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeExportImageTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeExportImageTasks');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeExportImageTasks');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeExportImageTasks"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeExportImageTasks"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeExportImageTasks";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeExportImageTasks")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeExportTasks
{{baseUrl}}/#Action=DescribeExportTasks
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeExportTasks" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeExportTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeExportTasks',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeExportTasks');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeExportTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeExportTasks');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeExportTasks');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeExportTasks"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeExportTasks"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeExportTasks";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeExportTasks")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeFastLaunchImages
{{baseUrl}}/#Action=DescribeFastLaunchImages
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeFastLaunchImages" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeFastLaunchImages',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeFastLaunchImages',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeFastLaunchImages');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeFastLaunchImages',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeFastLaunchImages');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeFastLaunchImages');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeFastLaunchImages"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeFastLaunchImages"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeFastLaunchImages";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeFastLaunchImages")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeFastSnapshotRestores
{{baseUrl}}/#Action=DescribeFastSnapshotRestores
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeFastSnapshotRestores" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeFastSnapshotRestores',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeFastSnapshotRestores',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeFastSnapshotRestores');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeFastSnapshotRestores',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeFastSnapshotRestores');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeFastSnapshotRestores');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeFastSnapshotRestores"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeFastSnapshotRestores"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeFastSnapshotRestores";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeFastSnapshotRestores")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeFleetHistory
{{baseUrl}}/#Action=DescribeFleetHistory
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeFleetHistory");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeFleetHistory" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeFleetHistory"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeFleetHistory"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeFleetHistory");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeFleetHistory"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeFleetHistory")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeFleetHistory"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeFleetHistory")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeFleetHistory")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeFleetHistory');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeFleetHistory',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeFleetHistory';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeFleetHistory',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeFleetHistory")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeFleetHistory',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeFleetHistory');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeFleetHistory',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeFleetHistory';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeFleetHistory"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeFleetHistory" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeFleetHistory",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeFleetHistory');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeFleetHistory');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeFleetHistory');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeFleetHistory' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeFleetHistory' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeFleetHistory"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeFleetHistory"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeFleetHistory")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeFleetHistory";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeFleetHistory'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeFleetHistory'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeFleetHistory'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeFleetHistory")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeFleetInstances
{{baseUrl}}/#Action=DescribeFleetInstances
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeFleetInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeFleetInstances" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeFleetInstances"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeFleetInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeFleetInstances");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeFleetInstances"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeFleetInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeFleetInstances"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeFleetInstances")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeFleetInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeFleetInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeFleetInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeFleetInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeFleetInstances',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeFleetInstances")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeFleetInstances',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeFleetInstances');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeFleetInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeFleetInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeFleetInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeFleetInstances" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeFleetInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeFleetInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeFleetInstances');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeFleetInstances');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeFleetInstances' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeFleetInstances' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeFleetInstances"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeFleetInstances"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeFleetInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeFleetInstances";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeFleetInstances'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeFleetInstances'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeFleetInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeFleetInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeFleets
{{baseUrl}}/#Action=DescribeFleets
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeFleets");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeFleets" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeFleets"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeFleets"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeFleets");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeFleets"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeFleets")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeFleets"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeFleets")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeFleets")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeFleets');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeFleets',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeFleets';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeFleets',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeFleets")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeFleets',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeFleets');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeFleets',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeFleets';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeFleets"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeFleets" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeFleets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeFleets');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeFleets');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeFleets');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeFleets' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeFleets' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeFleets"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeFleets"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeFleets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeFleets";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeFleets'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeFleets'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeFleets'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeFleets")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeFlowLogs
{{baseUrl}}/#Action=DescribeFlowLogs
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeFlowLogs" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeFlowLogs',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeFlowLogs',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeFlowLogs');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeFlowLogs',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeFlowLogs');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeFlowLogs');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeFlowLogs"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeFlowLogs"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeFlowLogs";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeFlowLogs")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeFpgaImageAttribute
{{baseUrl}}/#Action=DescribeFpgaImageAttribute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImageAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeFpgaImageAttribute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImageAttribute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImageAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImageAttribute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImageAttribute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImageAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImageAttribute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImageAttribute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImageAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImageAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeFpgaImageAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImageAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImageAttribute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImageAttribute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeFpgaImageAttribute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeFpgaImageAttribute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeFpgaImageAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImageAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImageAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImageAttribute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImageAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImageAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeFpgaImageAttribute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeFpgaImageAttribute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImageAttribute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImageAttribute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeFpgaImageAttribute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeFpgaImageAttribute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImageAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeFpgaImageAttribute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImageAttribute'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImageAttribute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImageAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImageAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeFpgaImages
{{baseUrl}}/#Action=DescribeFpgaImages
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeFpgaImages" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeFpgaImages',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeFpgaImages',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeFpgaImages');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeFpgaImages',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeFpgaImages');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeFpgaImages');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeFpgaImages"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeFpgaImages"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeFpgaImages";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeFpgaImages")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeHostReservationOfferings
{{baseUrl}}/#Action=DescribeHostReservationOfferings
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeHostReservationOfferings" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeHostReservationOfferings',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeHostReservationOfferings',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeHostReservationOfferings');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeHostReservationOfferings',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeHostReservationOfferings');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeHostReservationOfferings');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeHostReservationOfferings"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeHostReservationOfferings"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeHostReservationOfferings";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservationOfferings")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeHostReservations
{{baseUrl}}/#Action=DescribeHostReservations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeHostReservations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeHostReservations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeHostReservations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeHostReservations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeHostReservations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeHostReservations');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeHostReservations');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeHostReservations"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeHostReservations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeHostReservations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeHostReservations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeHosts
{{baseUrl}}/#Action=DescribeHosts
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeHosts");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeHosts" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeHosts"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeHosts"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeHosts");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeHosts"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeHosts")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeHosts"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeHosts")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeHosts")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeHosts');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeHosts',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeHosts';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeHosts',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeHosts")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeHosts',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeHosts');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeHosts',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeHosts';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeHosts"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeHosts" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeHosts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeHosts');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeHosts');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeHosts');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeHosts' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeHosts' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeHosts"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeHosts"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeHosts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeHosts";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeHosts'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeHosts'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeHosts'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeHosts")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeIamInstanceProfileAssociations
{{baseUrl}}/#Action=DescribeIamInstanceProfileAssociations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeIamInstanceProfileAssociations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeIamInstanceProfileAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeIamInstanceProfileAssociations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeIamInstanceProfileAssociations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeIamInstanceProfileAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeIamInstanceProfileAssociations');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeIamInstanceProfileAssociations');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeIamInstanceProfileAssociations"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeIamInstanceProfileAssociations"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeIamInstanceProfileAssociations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeIamInstanceProfileAssociations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"IamInstanceProfileAssociations": [
{
"AssociationId": "iip-assoc-0db249b1f25fa24b8",
"IamInstanceProfile": {
"Arn": "arn:aws:iam::123456789012:instance-profile/admin-role",
"Id": "AIPAJVQN4F5WVLGCJDRGM"
},
"InstanceId": "i-09eb09efa73ec1dee",
"State": "associated"
}
]
}
POST
POST_DescribeIdFormat
{{baseUrl}}/#Action=DescribeIdFormat
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeIdFormat" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeIdFormat',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeIdFormat',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeIdFormat');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeIdFormat',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeIdFormat');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeIdFormat');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeIdFormat"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeIdFormat"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeIdFormat";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeIdFormat")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeIdentityIdFormat
{{baseUrl}}/#Action=DescribeIdentityIdFormat
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeIdentityIdFormat");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeIdentityIdFormat" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeIdentityIdFormat"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeIdentityIdFormat"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeIdentityIdFormat");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeIdentityIdFormat"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeIdentityIdFormat")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeIdentityIdFormat"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIdentityIdFormat")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeIdentityIdFormat")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeIdentityIdFormat');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeIdentityIdFormat',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIdentityIdFormat';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeIdentityIdFormat',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIdentityIdFormat")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeIdentityIdFormat',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeIdentityIdFormat');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeIdentityIdFormat',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIdentityIdFormat';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeIdentityIdFormat"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeIdentityIdFormat" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeIdentityIdFormat",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeIdentityIdFormat');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeIdentityIdFormat');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeIdentityIdFormat');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIdentityIdFormat' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIdentityIdFormat' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeIdentityIdFormat"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeIdentityIdFormat"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeIdentityIdFormat")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeIdentityIdFormat";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeIdentityIdFormat'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeIdentityIdFormat'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeIdentityIdFormat'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeIdentityIdFormat")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeImageAttribute
{{baseUrl}}/#Action=DescribeImageAttribute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeImageAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeImageAttribute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeImageAttribute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeImageAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeImageAttribute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeImageAttribute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeImageAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeImageAttribute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeImageAttribute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeImageAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeImageAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeImageAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeImageAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeImageAttribute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeImageAttribute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeImageAttribute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeImageAttribute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeImageAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeImageAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeImageAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeImageAttribute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeImageAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeImageAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeImageAttribute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeImageAttribute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeImageAttribute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeImageAttribute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeImageAttribute"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeImageAttribute"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeImageAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeImageAttribute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeImageAttribute'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeImageAttribute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeImageAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeImageAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"ImageId": "ami-5731123e",
"LaunchPermissions": [
{
"UserId": "123456789012"
}
]
}
POST
POST_DescribeImages
{{baseUrl}}/#Action=DescribeImages
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeImages");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeImages" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeImages"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeImages"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeImages");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeImages"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeImages")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeImages"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeImages")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeImages")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeImages');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeImages',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeImages';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeImages',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeImages")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeImages',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeImages');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeImages',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeImages';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeImages"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeImages" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeImages",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeImages');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeImages');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeImages');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeImages' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeImages' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeImages"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeImages"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeImages")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeImages";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeImages'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeImages'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeImages'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeImages")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"Images": [
{
"Architecture": "x86_64",
"BlockDeviceMappings": [
{
"DeviceName": "/dev/sda1",
"Ebs": {
"DeleteOnTermination": true,
"SnapshotId": "snap-1234567890abcdef0",
"VolumeSize": 8,
"VolumeType": "standard"
}
}
],
"Description": "An AMI for my server",
"Hypervisor": "xen",
"ImageId": "ami-5731123e",
"ImageLocation": "123456789012/My server",
"ImageType": "machine",
"KernelId": "aki-88aa75e1",
"Name": "My server",
"OwnerId": "123456789012",
"Public": false,
"RootDeviceName": "/dev/sda1",
"RootDeviceType": "ebs",
"State": "available",
"VirtualizationType": "paravirtual"
}
]
}
POST
POST_DescribeImportImageTasks
{{baseUrl}}/#Action=DescribeImportImageTasks
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeImportImageTasks" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeImportImageTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeImportImageTasks',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeImportImageTasks');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeImportImageTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeImportImageTasks');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeImportImageTasks');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeImportImageTasks"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeImportImageTasks"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeImportImageTasks";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeImportImageTasks")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeImportSnapshotTasks
{{baseUrl}}/#Action=DescribeImportSnapshotTasks
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeImportSnapshotTasks" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeImportSnapshotTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeImportSnapshotTasks',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeImportSnapshotTasks');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeImportSnapshotTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeImportSnapshotTasks');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeImportSnapshotTasks');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeImportSnapshotTasks"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeImportSnapshotTasks"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeImportSnapshotTasks";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeImportSnapshotTasks")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeInstanceAttribute
{{baseUrl}}/#Action=DescribeInstanceAttribute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeInstanceAttribute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceAttribute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceAttribute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceAttribute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceAttribute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceAttribute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeInstanceAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceAttribute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceAttribute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeInstanceAttribute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeInstanceAttribute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeInstanceAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceAttribute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeInstanceAttribute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeInstanceAttribute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceAttribute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceAttribute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeInstanceAttribute"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeInstanceAttribute"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeInstanceAttribute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceAttribute'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceAttribute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"BlockDeviceMappings": [
{
"DeviceName": "/dev/sda1",
"Ebs": {
"AttachTime": "2013-05-17T22:42:34.000Z",
"DeleteOnTermination": true,
"Status": "attached",
"VolumeId": "vol-049df61146c4d7901"
}
},
{
"DeviceName": "/dev/sdf",
"Ebs": {
"AttachTime": "2013-09-10T23:07:00.000Z",
"DeleteOnTermination": false,
"Status": "attached",
"VolumeId": "vol-049df61146c4d7901"
}
}
],
"InstanceId": "i-1234567890abcdef0"
}
POST
POST_DescribeInstanceCreditSpecifications
{{baseUrl}}/#Action=DescribeInstanceCreditSpecifications
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeInstanceCreditSpecifications" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeInstanceCreditSpecifications',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeInstanceCreditSpecifications',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeInstanceCreditSpecifications');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeInstanceCreditSpecifications',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeInstanceCreditSpecifications');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeInstanceCreditSpecifications');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeInstanceCreditSpecifications"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeInstanceCreditSpecifications"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeInstanceCreditSpecifications";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceCreditSpecifications")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeInstanceEventNotificationAttributes
{{baseUrl}}/#Action=DescribeInstanceEventNotificationAttributes
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeInstanceEventNotificationAttributes" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeInstanceEventNotificationAttributes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeInstanceEventNotificationAttributes',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeInstanceEventNotificationAttributes');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeInstanceEventNotificationAttributes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeInstanceEventNotificationAttributes');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeInstanceEventNotificationAttributes');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeInstanceEventNotificationAttributes"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeInstanceEventNotificationAttributes"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeInstanceEventNotificationAttributes";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventNotificationAttributes")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeInstanceEventWindows
{{baseUrl}}/#Action=DescribeInstanceEventWindows
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeInstanceEventWindows" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeInstanceEventWindows',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeInstanceEventWindows',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeInstanceEventWindows');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeInstanceEventWindows',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeInstanceEventWindows');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeInstanceEventWindows');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeInstanceEventWindows"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeInstanceEventWindows"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeInstanceEventWindows";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceEventWindows")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeInstanceStatus
{{baseUrl}}/#Action=DescribeInstanceStatus
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeInstanceStatus" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeInstanceStatus',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeInstanceStatus',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeInstanceStatus');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeInstanceStatus',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeInstanceStatus');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeInstanceStatus');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeInstanceStatus"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeInstanceStatus"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeInstanceStatus";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceStatus")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"InstanceStatuses": [
{
"AvailabilityZone": "us-east-1d",
"InstanceId": "i-1234567890abcdef0",
"InstanceState": {
"Code": 16,
"Name": "running"
},
"InstanceStatus": {
"Details": [
{
"Name": "reachability",
"Status": "passed"
}
],
"Status": "ok"
},
"SystemStatus": {
"Details": [
{
"Name": "reachability",
"Status": "passed"
}
],
"Status": "ok"
}
}
]
}
POST
POST_DescribeInstanceTypeOfferings
{{baseUrl}}/#Action=DescribeInstanceTypeOfferings
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeInstanceTypeOfferings" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeInstanceTypeOfferings',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeInstanceTypeOfferings',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeInstanceTypeOfferings');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeInstanceTypeOfferings',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeInstanceTypeOfferings');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeInstanceTypeOfferings');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeInstanceTypeOfferings"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeInstanceTypeOfferings"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeInstanceTypeOfferings";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypeOfferings")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeInstanceTypes
{{baseUrl}}/#Action=DescribeInstanceTypes
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeInstanceTypes" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeInstanceTypes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeInstanceTypes',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeInstanceTypes');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeInstanceTypes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeInstanceTypes');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeInstanceTypes');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeInstanceTypes"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeInstanceTypes"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeInstanceTypes";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeInstanceTypes")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeInstances
{{baseUrl}}/#Action=DescribeInstances
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeInstances" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeInstances"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeInstances");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeInstances"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeInstances"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstances")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeInstances',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInstances")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeInstances',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeInstances');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeInstances" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeInstances');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeInstances');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstances' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInstances' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeInstances"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeInstances"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeInstances";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeInstances'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeInstances'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{}
POST
POST_DescribeInternetGateways
{{baseUrl}}/#Action=DescribeInternetGateways
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeInternetGateways" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeInternetGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeInternetGateways',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeInternetGateways');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeInternetGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeInternetGateways');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeInternetGateways');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeInternetGateways"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeInternetGateways"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeInternetGateways";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeInternetGateways")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"InternetGateways": [
{
"Attachments": [
{
"State": "available",
"VpcId": "vpc-a01106c2"
}
],
"InternetGatewayId": "igw-c0a643a9",
"Tags": []
}
]
}
POST
POST_DescribeIpamPools
{{baseUrl}}/#Action=DescribeIpamPools
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeIpamPools" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeIpamPools',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeIpamPools',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeIpamPools');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeIpamPools',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeIpamPools');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeIpamPools');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeIpamPools"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeIpamPools"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeIpamPools";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamPools")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeIpamResourceDiscoveries
{{baseUrl}}/#Action=DescribeIpamResourceDiscoveries
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeIpamResourceDiscoveries" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeIpamResourceDiscoveries',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeIpamResourceDiscoveries',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeIpamResourceDiscoveries');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeIpamResourceDiscoveries',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeIpamResourceDiscoveries');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeIpamResourceDiscoveries');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeIpamResourceDiscoveries"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeIpamResourceDiscoveries"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeIpamResourceDiscoveries";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveries")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeIpamResourceDiscoveryAssociations
{{baseUrl}}/#Action=DescribeIpamResourceDiscoveryAssociations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeIpamResourceDiscoveryAssociations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeIpamResourceDiscoveryAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeIpamResourceDiscoveryAssociations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeIpamResourceDiscoveryAssociations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeIpamResourceDiscoveryAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeIpamResourceDiscoveryAssociations');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeIpamResourceDiscoveryAssociations');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeIpamResourceDiscoveryAssociations"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeIpamResourceDiscoveryAssociations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeIpamResourceDiscoveryAssociations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamResourceDiscoveryAssociations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeIpamScopes
{{baseUrl}}/#Action=DescribeIpamScopes
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeIpamScopes" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeIpamScopes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeIpamScopes',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeIpamScopes');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeIpamScopes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeIpamScopes');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeIpamScopes');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeIpamScopes"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeIpamScopes"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeIpamScopes";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeIpamScopes")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeIpams
{{baseUrl}}/#Action=DescribeIpams
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeIpams");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeIpams" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeIpams"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeIpams"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeIpams");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeIpams"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeIpams")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeIpams"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIpams")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeIpams")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeIpams');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeIpams',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIpams';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeIpams',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIpams")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeIpams',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeIpams');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeIpams',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIpams';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeIpams"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeIpams" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeIpams",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeIpams');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeIpams');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeIpams');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIpams' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIpams' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeIpams"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeIpams"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeIpams")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeIpams";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeIpams'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeIpams'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeIpams'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeIpams")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeIpv6Pools
{{baseUrl}}/#Action=DescribeIpv6Pools
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeIpv6Pools" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeIpv6Pools',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeIpv6Pools',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeIpv6Pools');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeIpv6Pools',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeIpv6Pools');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeIpv6Pools');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeIpv6Pools"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeIpv6Pools"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeIpv6Pools";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeIpv6Pools")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeKeyPairs
{{baseUrl}}/#Action=DescribeKeyPairs
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeKeyPairs" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeKeyPairs',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeKeyPairs',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeKeyPairs');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeKeyPairs',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeKeyPairs');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeKeyPairs');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeKeyPairs"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeKeyPairs"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeKeyPairs";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeKeyPairs")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"KeyPairs": [
{
"KeyFingerprint": "1f:51:ae:28:bf:89:e9:d8:1f:25:5d:37:2d:7d:b8:ca:9f:f5:f1:6f",
"KeyName": "my-key-pair"
}
]
}
POST
POST_DescribeLaunchTemplateVersions
{{baseUrl}}/#Action=DescribeLaunchTemplateVersions
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeLaunchTemplateVersions" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeLaunchTemplateVersions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeLaunchTemplateVersions',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeLaunchTemplateVersions');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeLaunchTemplateVersions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeLaunchTemplateVersions');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeLaunchTemplateVersions');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeLaunchTemplateVersions"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeLaunchTemplateVersions"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeLaunchTemplateVersions";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplateVersions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"LaunchTemplateVersions": [
{
"CreateTime": "2017-11-20T13:12:32.000Z",
"CreatedBy": "arn:aws:iam::123456789102:root",
"DefaultVersion": false,
"LaunchTemplateData": {
"ImageId": "ami-6057e21a",
"InstanceType": "t2.medium",
"KeyName": "kp-us-east",
"NetworkInterfaces": [
{
"DeviceIndex": 0,
"Groups": [
"sg-7c227019"
],
"SubnetId": "subnet-1a2b3c4d"
}
]
},
"LaunchTemplateId": "lt-068f72b72934aff71",
"LaunchTemplateName": "Webservers",
"VersionNumber": 2
},
{
"CreateTime": "2017-11-20T12:52:33.000Z",
"CreatedBy": "arn:aws:iam::123456789102:root",
"DefaultVersion": true,
"LaunchTemplateData": {
"ImageId": "ami-aabbcc11",
"InstanceType": "t2.medium",
"KeyName": "kp-us-east",
"NetworkInterfaces": [
{
"AssociatePublicIpAddress": true,
"DeleteOnTermination": false,
"DeviceIndex": 0,
"Groups": [
"sg-7c227019"
],
"SubnetId": "subnet-7b16de0c"
}
],
"UserData": ""
},
"LaunchTemplateId": "lt-068f72b72934aff71",
"LaunchTemplateName": "Webservers",
"VersionNumber": 1
}
]
}
POST
POST_DescribeLaunchTemplates
{{baseUrl}}/#Action=DescribeLaunchTemplates
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeLaunchTemplates" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeLaunchTemplates',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeLaunchTemplates',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeLaunchTemplates');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeLaunchTemplates',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeLaunchTemplates');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeLaunchTemplates');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeLaunchTemplates"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeLaunchTemplates"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeLaunchTemplates";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeLaunchTemplates")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"LaunchTemplates": [
{
"CreateTime": "2018-01-16T04:32:57.000Z",
"CreatedBy": "arn:aws:iam::123456789012:root",
"DefaultVersionNumber": 1,
"LatestVersionNumber": 1,
"LaunchTemplateId": "lt-01238c059e3466abc",
"LaunchTemplateName": "my-template"
}
]
}
POST
POST_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations
{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeLocalGatewayRouteTableVpcAssociations
{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVpcAssociations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVpcAssociations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVpcAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVpcAssociations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVpcAssociations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVpcAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVpcAssociations');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVpcAssociations');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVpcAssociations"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVpcAssociations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeLocalGatewayRouteTableVpcAssociations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTableVpcAssociations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeLocalGatewayRouteTables
{{baseUrl}}/#Action=DescribeLocalGatewayRouteTables
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeLocalGatewayRouteTables" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayRouteTables',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayRouteTables',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeLocalGatewayRouteTables');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayRouteTables',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeLocalGatewayRouteTables');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeLocalGatewayRouteTables');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeLocalGatewayRouteTables"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeLocalGatewayRouteTables"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeLocalGatewayRouteTables";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayRouteTables")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeLocalGatewayVirtualInterfaceGroups
{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaceGroups
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaceGroups" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaceGroups',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaceGroups',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaceGroups');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaceGroups',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaceGroups');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaceGroups');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaceGroups"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaceGroups"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaceGroups";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaceGroups")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeLocalGatewayVirtualInterfaces
{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaces
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaces" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaces',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaces',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaces');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaces',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaces');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaces');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaces"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaces"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeLocalGatewayVirtualInterfaces";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGatewayVirtualInterfaces")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeLocalGateways
{{baseUrl}}/#Action=DescribeLocalGateways
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeLocalGateways" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeLocalGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeLocalGateways',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeLocalGateways');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeLocalGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeLocalGateways');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeLocalGateways');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeLocalGateways"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeLocalGateways"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeLocalGateways";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeLocalGateways")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeManagedPrefixLists
{{baseUrl}}/#Action=DescribeManagedPrefixLists
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeManagedPrefixLists" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeManagedPrefixLists',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeManagedPrefixLists',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeManagedPrefixLists');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeManagedPrefixLists',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeManagedPrefixLists');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeManagedPrefixLists');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeManagedPrefixLists"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeManagedPrefixLists"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeManagedPrefixLists";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeManagedPrefixLists")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeMovingAddresses
{{baseUrl}}/#Action=DescribeMovingAddresses
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeMovingAddresses" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeMovingAddresses',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeMovingAddresses',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeMovingAddresses');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeMovingAddresses',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeMovingAddresses');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeMovingAddresses');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeMovingAddresses"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeMovingAddresses"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeMovingAddresses";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeMovingAddresses")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"MovingAddressStatuses": [
{
"MoveStatus": "MovingToVpc",
"PublicIp": "198.51.100.0"
}
]
}
POST
POST_DescribeNatGateways
{{baseUrl}}/#Action=DescribeNatGateways
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeNatGateways" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeNatGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeNatGateways',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeNatGateways');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeNatGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeNatGateways');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeNatGateways');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeNatGateways"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeNatGateways"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeNatGateways";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeNatGateways")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"NatGateways": [
{
"CreateTime": "2015-12-01T12:26:55.983Z",
"NatGatewayAddresses": [
{
"AllocationId": "eipalloc-89c620ec",
"NetworkInterfaceId": "eni-9dec76cd",
"PrivateIp": "10.0.0.149",
"PublicIp": "198.11.222.333"
}
],
"NatGatewayId": "nat-05dba92075d71c408",
"State": "available",
"SubnetId": "subnet-847e4dc2",
"VpcId": "vpc-1a2b3c4d"
}
]
}
POST
POST_DescribeNetworkAcls
{{baseUrl}}/#Action=DescribeNetworkAcls
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeNetworkAcls" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeNetworkAcls',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeNetworkAcls',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeNetworkAcls');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeNetworkAcls',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeNetworkAcls');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeNetworkAcls');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeNetworkAcls"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeNetworkAcls"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeNetworkAcls";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkAcls")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"NetworkAcls": [
{
"Associations": [
{
"NetworkAclAssociationId": "aclassoc-66ea5f0b",
"NetworkAclId": "acl-9aeb5ef7",
"SubnetId": "subnet-65ea5f08"
}
],
"Entries": [
{
"CidrBlock": "0.0.0.0/0",
"Egress": true,
"Protocol": "-1",
"RuleAction": "deny",
"RuleNumber": 32767
},
{
"CidrBlock": "0.0.0.0/0",
"Egress": false,
"Protocol": "-1",
"RuleAction": "deny",
"RuleNumber": 32767
}
],
"IsDefault": false,
"NetworkAclId": "acl-5fb85d36",
"Tags": [],
"VpcId": "vpc-a01106c2"
}
]
}
POST
POST_DescribeNetworkInsightsAccessScopeAnalyses
{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopeAnalyses
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopeAnalyses" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopeAnalyses',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopeAnalyses',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopeAnalyses');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopeAnalyses',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopeAnalyses');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopeAnalyses');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopeAnalyses"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopeAnalyses"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopeAnalyses";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopeAnalyses")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeNetworkInsightsAccessScopes
{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopes
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopes" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopes',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopes');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopes');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopes');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopes"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopes"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeNetworkInsightsAccessScopes";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAccessScopes")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeNetworkInsightsAnalyses
{{baseUrl}}/#Action=DescribeNetworkInsightsAnalyses
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeNetworkInsightsAnalyses" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeNetworkInsightsAnalyses',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeNetworkInsightsAnalyses',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeNetworkInsightsAnalyses');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeNetworkInsightsAnalyses',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeNetworkInsightsAnalyses');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeNetworkInsightsAnalyses');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeNetworkInsightsAnalyses"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeNetworkInsightsAnalyses"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeNetworkInsightsAnalyses";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsAnalyses")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeNetworkInsightsPaths
{{baseUrl}}/#Action=DescribeNetworkInsightsPaths
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeNetworkInsightsPaths" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeNetworkInsightsPaths',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeNetworkInsightsPaths',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeNetworkInsightsPaths');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeNetworkInsightsPaths',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeNetworkInsightsPaths');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeNetworkInsightsPaths');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeNetworkInsightsPaths"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeNetworkInsightsPaths"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeNetworkInsightsPaths";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInsightsPaths")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeNetworkInterfaceAttribute
{{baseUrl}}/#Action=DescribeNetworkInterfaceAttribute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaceAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeNetworkInterfaceAttribute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaceAttribute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaceAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaceAttribute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaceAttribute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaceAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaceAttribute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaceAttribute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaceAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaceAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeNetworkInterfaceAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaceAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaceAttribute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaceAttribute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeNetworkInterfaceAttribute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeNetworkInterfaceAttribute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeNetworkInterfaceAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaceAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaceAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaceAttribute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaceAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaceAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeNetworkInterfaceAttribute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeNetworkInterfaceAttribute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaceAttribute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaceAttribute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeNetworkInterfaceAttribute"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeNetworkInterfaceAttribute"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaceAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeNetworkInterfaceAttribute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaceAttribute'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaceAttribute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaceAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaceAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"NetworkInterfaceId": "eni-686ea200",
"SourceDestCheck": {
"Value": true
}
}
POST
POST_DescribeNetworkInterfacePermissions
{{baseUrl}}/#Action=DescribeNetworkInterfacePermissions
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeNetworkInterfacePermissions" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeNetworkInterfacePermissions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeNetworkInterfacePermissions',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeNetworkInterfacePermissions');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeNetworkInterfacePermissions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeNetworkInterfacePermissions');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeNetworkInterfacePermissions');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeNetworkInterfacePermissions"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeNetworkInterfacePermissions"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeNetworkInterfacePermissions";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfacePermissions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeNetworkInterfaces
{{baseUrl}}/#Action=DescribeNetworkInterfaces
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeNetworkInterfaces" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeNetworkInterfaces',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeNetworkInterfaces',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeNetworkInterfaces');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeNetworkInterfaces',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeNetworkInterfaces');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeNetworkInterfaces');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeNetworkInterfaces"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeNetworkInterfaces"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeNetworkInterfaces";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeNetworkInterfaces")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"NetworkInterfaces": [
{
"Association": {
"AssociationId": "eipassoc-0fbb766a",
"IpOwnerId": "123456789012",
"PublicDnsName": "ec2-203-0-113-12.compute-1.amazonaws.com",
"PublicIp": "203.0.113.12"
},
"Attachment": {
"AttachTime": "2013-11-30T23:36:42.000Z",
"AttachmentId": "eni-attach-66c4350a",
"DeleteOnTermination": false,
"DeviceIndex": 1,
"InstanceId": "i-1234567890abcdef0",
"InstanceOwnerId": "123456789012",
"Status": "attached"
},
"AvailabilityZone": "us-east-1d",
"Description": "my network interface",
"Groups": [
{
"GroupId": "sg-8637d3e3",
"GroupName": "default"
}
],
"MacAddress": "02:2f:8f:b0:cf:75",
"NetworkInterfaceId": "eni-e5aa89a3",
"OwnerId": "123456789012",
"PrivateDnsName": "ip-10-0-1-17.ec2.internal",
"PrivateIpAddress": "10.0.1.17",
"PrivateIpAddresses": [
{
"Association": {
"AssociationId": "eipassoc-0fbb766a",
"IpOwnerId": "123456789012",
"PublicDnsName": "ec2-203-0-113-12.compute-1.amazonaws.com",
"PublicIp": "203.0.113.12"
},
"Primary": true,
"PrivateDnsName": "ip-10-0-1-17.ec2.internal",
"PrivateIpAddress": "10.0.1.17"
}
],
"RequesterManaged": false,
"SourceDestCheck": true,
"Status": "in-use",
"SubnetId": "subnet-b61f49f0",
"TagSet": [],
"VpcId": "vpc-a01106c2"
}
]
}
POST
POST_DescribePlacementGroups
{{baseUrl}}/#Action=DescribePlacementGroups
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribePlacementGroups" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribePlacementGroups',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribePlacementGroups',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribePlacementGroups');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribePlacementGroups',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribePlacementGroups');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribePlacementGroups');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribePlacementGroups"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribePlacementGroups"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribePlacementGroups";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribePlacementGroups")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribePrefixLists
{{baseUrl}}/#Action=DescribePrefixLists
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribePrefixLists" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribePrefixLists',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribePrefixLists',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribePrefixLists');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribePrefixLists',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribePrefixLists');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribePrefixLists');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribePrefixLists"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribePrefixLists"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribePrefixLists";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribePrefixLists")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribePrincipalIdFormat
{{baseUrl}}/#Action=DescribePrincipalIdFormat
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribePrincipalIdFormat" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribePrincipalIdFormat',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribePrincipalIdFormat',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribePrincipalIdFormat');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribePrincipalIdFormat',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribePrincipalIdFormat');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribePrincipalIdFormat');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribePrincipalIdFormat"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribePrincipalIdFormat"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribePrincipalIdFormat";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribePrincipalIdFormat")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribePublicIpv4Pools
{{baseUrl}}/#Action=DescribePublicIpv4Pools
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribePublicIpv4Pools" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribePublicIpv4Pools',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribePublicIpv4Pools',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribePublicIpv4Pools');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribePublicIpv4Pools',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribePublicIpv4Pools');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribePublicIpv4Pools');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribePublicIpv4Pools"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribePublicIpv4Pools"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribePublicIpv4Pools";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribePublicIpv4Pools")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeRegions
{{baseUrl}}/#Action=DescribeRegions
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeRegions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeRegions" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeRegions"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeRegions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeRegions");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeRegions"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeRegions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeRegions"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeRegions")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeRegions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeRegions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeRegions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeRegions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeRegions',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeRegions")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeRegions',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeRegions');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeRegions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeRegions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeRegions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeRegions" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeRegions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeRegions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeRegions');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeRegions');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeRegions' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeRegions' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeRegions"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeRegions"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeRegions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeRegions";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeRegions'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeRegions'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeRegions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeRegions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"Regions": [
{
"Endpoint": "ec2.ap-south-1.amazonaws.com",
"RegionName": "ap-south-1"
},
{
"Endpoint": "ec2.eu-west-1.amazonaws.com",
"RegionName": "eu-west-1"
},
{
"Endpoint": "ec2.ap-southeast-1.amazonaws.com",
"RegionName": "ap-southeast-1"
},
{
"Endpoint": "ec2.ap-southeast-2.amazonaws.com",
"RegionName": "ap-southeast-2"
},
{
"Endpoint": "ec2.eu-central-1.amazonaws.com",
"RegionName": "eu-central-1"
},
{
"Endpoint": "ec2.ap-northeast-2.amazonaws.com",
"RegionName": "ap-northeast-2"
},
{
"Endpoint": "ec2.ap-northeast-1.amazonaws.com",
"RegionName": "ap-northeast-1"
},
{
"Endpoint": "ec2.us-east-1.amazonaws.com",
"RegionName": "us-east-1"
},
{
"Endpoint": "ec2.sa-east-1.amazonaws.com",
"RegionName": "sa-east-1"
},
{
"Endpoint": "ec2.us-west-1.amazonaws.com",
"RegionName": "us-west-1"
},
{
"Endpoint": "ec2.us-west-2.amazonaws.com",
"RegionName": "us-west-2"
}
]
}
POST
POST_DescribeReplaceRootVolumeTasks
{{baseUrl}}/#Action=DescribeReplaceRootVolumeTasks
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeReplaceRootVolumeTasks" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeReplaceRootVolumeTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeReplaceRootVolumeTasks',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeReplaceRootVolumeTasks');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeReplaceRootVolumeTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeReplaceRootVolumeTasks');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeReplaceRootVolumeTasks');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeReplaceRootVolumeTasks"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeReplaceRootVolumeTasks"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeReplaceRootVolumeTasks";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeReplaceRootVolumeTasks")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeReservedInstances
{{baseUrl}}/#Action=DescribeReservedInstances
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeReservedInstances" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeReservedInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeReservedInstances',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeReservedInstances');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeReservedInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeReservedInstances');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeReservedInstances');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeReservedInstances"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeReservedInstances"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeReservedInstances";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeReservedInstancesListings
{{baseUrl}}/#Action=DescribeReservedInstancesListings
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeReservedInstancesListings" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeReservedInstancesListings',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeReservedInstancesListings',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeReservedInstancesListings');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeReservedInstancesListings',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeReservedInstancesListings');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeReservedInstancesListings');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeReservedInstancesListings"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeReservedInstancesListings"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeReservedInstancesListings";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesListings")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeReservedInstancesModifications
{{baseUrl}}/#Action=DescribeReservedInstancesModifications
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeReservedInstancesModifications" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeReservedInstancesModifications',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeReservedInstancesModifications',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeReservedInstancesModifications');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeReservedInstancesModifications',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeReservedInstancesModifications');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeReservedInstancesModifications');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeReservedInstancesModifications"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeReservedInstancesModifications"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeReservedInstancesModifications";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesModifications")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeReservedInstancesOfferings
{{baseUrl}}/#Action=DescribeReservedInstancesOfferings
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeReservedInstancesOfferings" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeReservedInstancesOfferings',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeReservedInstancesOfferings',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeReservedInstancesOfferings');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeReservedInstancesOfferings',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeReservedInstancesOfferings');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeReservedInstancesOfferings');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeReservedInstancesOfferings"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeReservedInstancesOfferings"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeReservedInstancesOfferings";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeReservedInstancesOfferings")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeRouteTables
{{baseUrl}}/#Action=DescribeRouteTables
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeRouteTables" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeRouteTables',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeRouteTables',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeRouteTables');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeRouteTables',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeRouteTables');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeRouteTables');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeRouteTables"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeRouteTables"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeRouteTables";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeRouteTables")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"RouteTables": [
{
"Associations": [
{
"Main": true,
"RouteTableAssociationId": "rtbassoc-d8ccddba",
"RouteTableId": "rtb-1f382e7d"
}
],
"PropagatingVgws": [],
"RouteTableId": "rtb-1f382e7d",
"Routes": [
{
"DestinationCidrBlock": "10.0.0.0/16",
"GatewayId": "local",
"State": "active"
}
],
"Tags": [],
"VpcId": "vpc-a01106c2"
}
]
}
POST
POST_DescribeScheduledInstanceAvailability
{{baseUrl}}/#Action=DescribeScheduledInstanceAvailability
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstanceAvailability");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeScheduledInstanceAvailability" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstanceAvailability"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstanceAvailability"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstanceAvailability");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstanceAvailability"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstanceAvailability")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstanceAvailability"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstanceAvailability")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstanceAvailability")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstanceAvailability');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeScheduledInstanceAvailability',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstanceAvailability';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstanceAvailability',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstanceAvailability")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeScheduledInstanceAvailability',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeScheduledInstanceAvailability');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeScheduledInstanceAvailability',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstanceAvailability';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstanceAvailability"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstanceAvailability" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstanceAvailability",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstanceAvailability');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeScheduledInstanceAvailability');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeScheduledInstanceAvailability');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstanceAvailability' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstanceAvailability' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeScheduledInstanceAvailability"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeScheduledInstanceAvailability"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstanceAvailability")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeScheduledInstanceAvailability";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstanceAvailability'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstanceAvailability'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstanceAvailability'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstanceAvailability")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"ScheduledInstanceAvailabilitySet": [
{
"AvailabilityZone": "us-west-2b",
"AvailableInstanceCount": 20,
"FirstSlotStartTime": "2016-01-31T00:00:00Z",
"HourlyPrice": "0.095",
"InstanceType": "c4.large",
"MaxTermDurationInDays": 366,
"MinTermDurationInDays": 366,
"NetworkPlatform": "EC2-VPC",
"Platform": "Linux/UNIX",
"PurchaseToken": "eyJ2IjoiMSIsInMiOjEsImMiOi...",
"Recurrence": {
"Frequency": "Weekly",
"Interval": 1,
"OccurrenceDaySet": [
1
],
"OccurrenceRelativeToEnd": false
},
"SlotDurationInHours": 23,
"TotalScheduledInstanceHours": 1219
}
]
}
POST
POST_DescribeScheduledInstances
{{baseUrl}}/#Action=DescribeScheduledInstances
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeScheduledInstances" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeScheduledInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeScheduledInstances',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeScheduledInstances');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeScheduledInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeScheduledInstances');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeScheduledInstances');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeScheduledInstances"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeScheduledInstances"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeScheduledInstances";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeScheduledInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"ScheduledInstanceSet": [
{
"AvailabilityZone": "us-west-2b",
"CreateDate": "2016-01-25T21:43:38.612Z",
"HourlyPrice": "0.095",
"InstanceCount": 1,
"InstanceType": "c4.large",
"NetworkPlatform": "EC2-VPC",
"NextSlotStartTime": "2016-01-31T09:00:00Z",
"Platform": "Linux/UNIX",
"Recurrence": {
"Frequency": "Weekly",
"Interval": 1,
"OccurrenceDaySet": [
1
],
"OccurrenceRelativeToEnd": false,
"OccurrenceUnit": ""
},
"ScheduledInstanceId": "sci-1234-1234-1234-1234-123456789012",
"SlotDurationInHours": 32,
"TermEndDate": "2017-01-31T09:00:00Z",
"TermStartDate": "2016-01-31T09:00:00Z",
"TotalScheduledInstanceHours": 1696
}
]
}
POST
POST_DescribeSecurityGroupReferences
{{baseUrl}}/#Action=DescribeSecurityGroupReferences
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupReferences");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeSecurityGroupReferences" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupReferences"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupReferences"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupReferences");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupReferences"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupReferences")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupReferences"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupReferences")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupReferences")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupReferences');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSecurityGroupReferences',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupReferences';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupReferences',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupReferences")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSecurityGroupReferences',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeSecurityGroupReferences');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSecurityGroupReferences',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupReferences';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupReferences"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupReferences" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupReferences",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupReferences');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeSecurityGroupReferences');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeSecurityGroupReferences');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupReferences' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupReferences' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeSecurityGroupReferences"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeSecurityGroupReferences"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupReferences")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeSecurityGroupReferences";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupReferences'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupReferences'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupReferences'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupReferences")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"SecurityGroupReferenceSet": [
{
"GroupId": "sg-903004f8",
"ReferencingVpcId": "vpc-1a2b3c4d",
"VpcPeeringConnectionId": "pcx-b04deed9"
}
]
}
POST
POST_DescribeSecurityGroupRules
{{baseUrl}}/#Action=DescribeSecurityGroupRules
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeSecurityGroupRules" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSecurityGroupRules',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSecurityGroupRules',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeSecurityGroupRules');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSecurityGroupRules',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeSecurityGroupRules');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeSecurityGroupRules');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeSecurityGroupRules"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeSecurityGroupRules"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeSecurityGroupRules";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroupRules")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeSecurityGroups
{{baseUrl}}/#Action=DescribeSecurityGroups
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeSecurityGroups" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSecurityGroups',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSecurityGroups',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeSecurityGroups');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSecurityGroups',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeSecurityGroups');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeSecurityGroups');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeSecurityGroups"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeSecurityGroups"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeSecurityGroups";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeSecurityGroups")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{}
POST
POST_DescribeSnapshotAttribute
{{baseUrl}}/#Action=DescribeSnapshotAttribute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeSnapshotAttribute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotAttribute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotAttribute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotAttribute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotAttribute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotAttribute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSnapshotAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotAttribute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotAttribute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSnapshotAttribute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeSnapshotAttribute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSnapshotAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotAttribute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeSnapshotAttribute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeSnapshotAttribute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotAttribute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotAttribute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeSnapshotAttribute"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeSnapshotAttribute"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeSnapshotAttribute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotAttribute'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotAttribute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"CreateVolumePermissions": [],
"SnapshotId": "snap-066877671789bd71b"
}
POST
POST_DescribeSnapshotTierStatus
{{baseUrl}}/#Action=DescribeSnapshotTierStatus
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeSnapshotTierStatus" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSnapshotTierStatus',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSnapshotTierStatus',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeSnapshotTierStatus');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSnapshotTierStatus',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeSnapshotTierStatus');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeSnapshotTierStatus');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeSnapshotTierStatus"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeSnapshotTierStatus"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeSnapshotTierStatus";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshotTierStatus")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeSnapshots
{{baseUrl}}/#Action=DescribeSnapshots
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeSnapshots" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSnapshots',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSnapshots',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeSnapshots');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSnapshots',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeSnapshots');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeSnapshots');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeSnapshots"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeSnapshots"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeSnapshots";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeSnapshots")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"NextToken": "",
"Snapshots": [
{
"Description": "This is my copied snapshot.",
"OwnerId": 12345678910,
"Progress": "87%",
"SnapshotId": "snap-066877671789bd71b",
"StartTime": "2014-02-28T21:37:27.000Z",
"State": "pending",
"VolumeId": "vol-1234567890abcdef0",
"VolumeSize": 8
}
]
}
POST
POST_DescribeSpotDatafeedSubscription
{{baseUrl}}/#Action=DescribeSpotDatafeedSubscription
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeSpotDatafeedSubscription" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSpotDatafeedSubscription',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSpotDatafeedSubscription',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeSpotDatafeedSubscription');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSpotDatafeedSubscription',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeSpotDatafeedSubscription');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeSpotDatafeedSubscription');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeSpotDatafeedSubscription"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeSpotDatafeedSubscription"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeSpotDatafeedSubscription";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotDatafeedSubscription")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"SpotDatafeedSubscription": {
"Bucket": "my-s3-bucket",
"OwnerId": "123456789012",
"Prefix": "spotdata",
"State": "Active"
}
}
POST
POST_DescribeSpotFleetInstances
{{baseUrl}}/#Action=DescribeSpotFleetInstances
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeSpotFleetInstances" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetInstances"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetInstances");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetInstances"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetInstances"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetInstances")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSpotFleetInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetInstances',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetInstances")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSpotFleetInstances',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeSpotFleetInstances');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSpotFleetInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetInstances" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeSpotFleetInstances');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeSpotFleetInstances');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetInstances' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetInstances' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeSpotFleetInstances"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeSpotFleetInstances"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeSpotFleetInstances";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetInstances'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetInstances'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"ActiveInstances": [
{
"InstanceId": "i-1234567890abcdef0",
"InstanceType": "m3.medium",
"SpotInstanceRequestId": "sir-08b93456"
}
],
"SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE"
}
POST
POST_DescribeSpotFleetRequestHistory
{{baseUrl}}/#Action=DescribeSpotFleetRequestHistory
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequestHistory");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeSpotFleetRequestHistory" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequestHistory"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequestHistory"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequestHistory");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequestHistory"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequestHistory")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequestHistory"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequestHistory")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequestHistory")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequestHistory');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSpotFleetRequestHistory',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequestHistory';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequestHistory',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequestHistory")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSpotFleetRequestHistory',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeSpotFleetRequestHistory');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSpotFleetRequestHistory',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequestHistory';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequestHistory"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequestHistory" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequestHistory",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequestHistory');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeSpotFleetRequestHistory');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeSpotFleetRequestHistory');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequestHistory' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequestHistory' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeSpotFleetRequestHistory"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeSpotFleetRequestHistory"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequestHistory")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeSpotFleetRequestHistory";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequestHistory'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequestHistory'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequestHistory'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequestHistory")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"HistoryRecords": [
{
"EventInformation": {
"EventSubType": "submitted"
},
"EventType": "fleetRequestChange",
"Timestamp": "2015-05-26T23:17:20.697Z"
},
{
"EventInformation": {
"EventSubType": "active"
},
"EventType": "fleetRequestChange",
"Timestamp": "2015-05-26T23:17:20.873Z"
},
{
"EventInformation": {
"EventSubType": "launched",
"InstanceId": "i-1234567890abcdef0"
},
"EventType": "instanceChange",
"Timestamp": "2015-05-26T23:21:21.712Z"
},
{
"EventInformation": {
"EventSubType": "launched",
"InstanceId": "i-1234567890abcdef1"
},
"EventType": "instanceChange",
"Timestamp": "2015-05-26T23:21:21.816Z"
}
],
"NextToken": "CpHNsscimcV5oH7bSbub03CI2Qms5+ypNpNm+53MNlR0YcXAkp0xFlfKf91yVxSExmbtma3awYxMFzNA663ZskT0AHtJ6TCb2Z8bQC2EnZgyELbymtWPfpZ1ZbauVg+P+TfGlWxWWB/Vr5dk5d4LfdgA/DRAHUrYgxzrEXAMPLE=",
"SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE",
"StartTime": "2015-05-26T00:00:00Z"
}
POST
POST_DescribeSpotFleetRequests
{{baseUrl}}/#Action=DescribeSpotFleetRequests
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeSpotFleetRequests" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSpotFleetRequests',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSpotFleetRequests',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeSpotFleetRequests');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSpotFleetRequests',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeSpotFleetRequests');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeSpotFleetRequests');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeSpotFleetRequests"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeSpotFleetRequests"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeSpotFleetRequests";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotFleetRequests")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"SpotFleetRequestConfigs": [
{
"SpotFleetRequestConfig": {
"IamFleetRole": "arn:aws:iam::123456789012:role/my-spot-fleet-role",
"LaunchSpecifications": [
{
"EbsOptimized": false,
"ImageId": "ami-1a2b3c4d",
"InstanceType": "cc2.8xlarge",
"NetworkInterfaces": [
{
"AssociatePublicIpAddress": true,
"DeleteOnTermination": false,
"DeviceIndex": 0,
"SecondaryPrivateIpAddressCount": 0,
"SubnetId": "subnet-a61dafcf"
}
]
},
{
"EbsOptimized": false,
"ImageId": "ami-1a2b3c4d",
"InstanceType": "r3.8xlarge",
"NetworkInterfaces": [
{
"AssociatePublicIpAddress": true,
"DeleteOnTermination": false,
"DeviceIndex": 0,
"SecondaryPrivateIpAddressCount": 0,
"SubnetId": "subnet-a61dafcf"
}
]
}
],
"SpotPrice": "0.05",
"TargetCapacity": 20
},
"SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE",
"SpotFleetRequestState": "active"
}
]
}
POST
POST_DescribeSpotInstanceRequests
{{baseUrl}}/#Action=DescribeSpotInstanceRequests
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeSpotInstanceRequests" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSpotInstanceRequests',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSpotInstanceRequests',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeSpotInstanceRequests');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSpotInstanceRequests',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeSpotInstanceRequests');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeSpotInstanceRequests');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeSpotInstanceRequests"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeSpotInstanceRequests"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeSpotInstanceRequests";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotInstanceRequests")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"SpotInstanceRequests": [
{
"CreateTime": "2014-04-30T18:14:55.000Z",
"InstanceId": "i-1234567890abcdef0",
"LaunchSpecification": {
"BlockDeviceMappings": [
{
"DeviceName": "/dev/sda1",
"Ebs": {
"DeleteOnTermination": true,
"VolumeSize": 8,
"VolumeType": "standard"
}
}
],
"EbsOptimized": false,
"ImageId": "ami-7aba833f",
"InstanceType": "m1.small",
"KeyName": "my-key-pair",
"SecurityGroups": [
{
"GroupId": "sg-e38f24a7",
"GroupName": "my-security-group"
}
]
},
"LaunchedAvailabilityZone": "us-west-1b",
"ProductDescription": "Linux/UNIX",
"SpotInstanceRequestId": "sir-08b93456",
"SpotPrice": "0.010000",
"State": "active",
"Status": {
"Code": "fulfilled",
"Message": "Your Spot request is fulfilled.",
"UpdateTime": "2014-04-30T18:16:21.000Z"
},
"Type": "one-time"
}
]
}
POST
POST_DescribeSpotPriceHistory
{{baseUrl}}/#Action=DescribeSpotPriceHistory
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeSpotPriceHistory" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSpotPriceHistory',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSpotPriceHistory',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeSpotPriceHistory');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSpotPriceHistory',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeSpotPriceHistory');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeSpotPriceHistory');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeSpotPriceHistory"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeSpotPriceHistory"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeSpotPriceHistory";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeSpotPriceHistory")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"SpotPriceHistory": [
{
"AvailabilityZone": "us-west-1a",
"InstanceType": "m1.xlarge",
"ProductDescription": "Linux/UNIX (Amazon VPC)",
"SpotPrice": "0.080000",
"Timestamp": "2014-01-06T04:32:53.000Z"
},
{
"AvailabilityZone": "us-west-1c",
"InstanceType": "m1.xlarge",
"ProductDescription": "Linux/UNIX (Amazon VPC)",
"SpotPrice": "0.080000",
"Timestamp": "2014-01-05T11:28:26.000Z"
}
]
}
POST
POST_DescribeStaleSecurityGroups
{{baseUrl}}/#Action=DescribeStaleSecurityGroups
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeStaleSecurityGroups");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeStaleSecurityGroups" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeStaleSecurityGroups"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeStaleSecurityGroups"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeStaleSecurityGroups");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeStaleSecurityGroups"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeStaleSecurityGroups")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeStaleSecurityGroups"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeStaleSecurityGroups")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeStaleSecurityGroups")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeStaleSecurityGroups');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeStaleSecurityGroups',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeStaleSecurityGroups';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeStaleSecurityGroups',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeStaleSecurityGroups")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeStaleSecurityGroups',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeStaleSecurityGroups');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeStaleSecurityGroups',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeStaleSecurityGroups';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeStaleSecurityGroups"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeStaleSecurityGroups" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeStaleSecurityGroups",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeStaleSecurityGroups');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeStaleSecurityGroups');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeStaleSecurityGroups');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeStaleSecurityGroups' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeStaleSecurityGroups' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeStaleSecurityGroups"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeStaleSecurityGroups"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeStaleSecurityGroups")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeStaleSecurityGroups";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeStaleSecurityGroups'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeStaleSecurityGroups'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeStaleSecurityGroups'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeStaleSecurityGroups")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeStoreImageTasks
{{baseUrl}}/#Action=DescribeStoreImageTasks
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeStoreImageTasks" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeStoreImageTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeStoreImageTasks',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeStoreImageTasks');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeStoreImageTasks',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeStoreImageTasks');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeStoreImageTasks');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeStoreImageTasks"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeStoreImageTasks"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeStoreImageTasks";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeStoreImageTasks")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeSubnets
{{baseUrl}}/#Action=DescribeSubnets
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeSubnets" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSubnets',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSubnets',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeSubnets');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeSubnets',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeSubnets');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeSubnets');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeSubnets"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeSubnets"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeSubnets";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeSubnets")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"Subnets": [
{
"AvailabilityZone": "us-east-1c",
"AvailableIpAddressCount": 251,
"CidrBlock": "10.0.1.0/24",
"DefaultForAz": false,
"MapPublicIpOnLaunch": false,
"State": "available",
"SubnetId": "subnet-9d4a7b6c",
"VpcId": "vpc-a01106c2"
}
]
}
POST
POST_DescribeTags
{{baseUrl}}/#Action=DescribeTags
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTags");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeTags" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTags"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTags"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTags");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTags"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeTags")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTags"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTags")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeTags")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTags');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTags',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTags';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTags',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTags")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTags',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeTags');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTags',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTags';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTags"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTags" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTags",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTags');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTags');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTags');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTags' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTags' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTags"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTags"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTags")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTags";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTags'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeTags'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTags'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTags")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"Tags": [
{
"Key": "Stack",
"ResourceId": "i-1234567890abcdef8",
"ResourceType": "instance",
"Value": "test"
},
{
"Key": "Name",
"ResourceId": "i-1234567890abcdef8",
"ResourceType": "instance",
"Value": "Beta Server"
}
]
}
POST
POST_DescribeTrafficMirrorFilters
{{baseUrl}}/#Action=DescribeTrafficMirrorFilters
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeTrafficMirrorFilters" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTrafficMirrorFilters',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTrafficMirrorFilters',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeTrafficMirrorFilters');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTrafficMirrorFilters',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTrafficMirrorFilters');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTrafficMirrorFilters');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTrafficMirrorFilters"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTrafficMirrorFilters"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTrafficMirrorFilters";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorFilters")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeTrafficMirrorSessions
{{baseUrl}}/#Action=DescribeTrafficMirrorSessions
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeTrafficMirrorSessions" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTrafficMirrorSessions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTrafficMirrorSessions',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeTrafficMirrorSessions');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTrafficMirrorSessions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTrafficMirrorSessions');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTrafficMirrorSessions');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTrafficMirrorSessions"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTrafficMirrorSessions"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTrafficMirrorSessions";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorSessions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeTrafficMirrorTargets
{{baseUrl}}/#Action=DescribeTrafficMirrorTargets
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeTrafficMirrorTargets" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTrafficMirrorTargets',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTrafficMirrorTargets',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeTrafficMirrorTargets');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTrafficMirrorTargets',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTrafficMirrorTargets');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTrafficMirrorTargets');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTrafficMirrorTargets"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTrafficMirrorTargets"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTrafficMirrorTargets";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTrafficMirrorTargets")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeTransitGatewayAttachments
{{baseUrl}}/#Action=DescribeTransitGatewayAttachments
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeTransitGatewayAttachments" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayAttachments',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayAttachments',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeTransitGatewayAttachments');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayAttachments',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTransitGatewayAttachments');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTransitGatewayAttachments');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTransitGatewayAttachments"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTransitGatewayAttachments"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTransitGatewayAttachments";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayAttachments")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeTransitGatewayConnectPeers
{{baseUrl}}/#Action=DescribeTransitGatewayConnectPeers
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeTransitGatewayConnectPeers" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayConnectPeers',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayConnectPeers',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeTransitGatewayConnectPeers');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayConnectPeers',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTransitGatewayConnectPeers');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTransitGatewayConnectPeers');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTransitGatewayConnectPeers"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTransitGatewayConnectPeers"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTransitGatewayConnectPeers";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnectPeers")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeTransitGatewayConnects
{{baseUrl}}/#Action=DescribeTransitGatewayConnects
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeTransitGatewayConnects" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayConnects',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayConnects',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeTransitGatewayConnects');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayConnects',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTransitGatewayConnects');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTransitGatewayConnects');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTransitGatewayConnects"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTransitGatewayConnects"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTransitGatewayConnects";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayConnects")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeTransitGatewayMulticastDomains
{{baseUrl}}/#Action=DescribeTransitGatewayMulticastDomains
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeTransitGatewayMulticastDomains" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayMulticastDomains',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayMulticastDomains',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeTransitGatewayMulticastDomains');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayMulticastDomains',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTransitGatewayMulticastDomains');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTransitGatewayMulticastDomains');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTransitGatewayMulticastDomains"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTransitGatewayMulticastDomains"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTransitGatewayMulticastDomains";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayMulticastDomains")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeTransitGatewayPeeringAttachments
{{baseUrl}}/#Action=DescribeTransitGatewayPeeringAttachments
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeTransitGatewayPeeringAttachments" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayPeeringAttachments',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayPeeringAttachments',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeTransitGatewayPeeringAttachments');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayPeeringAttachments',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTransitGatewayPeeringAttachments');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTransitGatewayPeeringAttachments');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTransitGatewayPeeringAttachments"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTransitGatewayPeeringAttachments"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTransitGatewayPeeringAttachments";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPeeringAttachments")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeTransitGatewayPolicyTables
{{baseUrl}}/#Action=DescribeTransitGatewayPolicyTables
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeTransitGatewayPolicyTables" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayPolicyTables',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayPolicyTables',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeTransitGatewayPolicyTables');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayPolicyTables',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTransitGatewayPolicyTables');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTransitGatewayPolicyTables');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTransitGatewayPolicyTables"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTransitGatewayPolicyTables"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTransitGatewayPolicyTables";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayPolicyTables")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeTransitGatewayRouteTableAnnouncements
{{baseUrl}}/#Action=DescribeTransitGatewayRouteTableAnnouncements
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeTransitGatewayRouteTableAnnouncements" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayRouteTableAnnouncements',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayRouteTableAnnouncements',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeTransitGatewayRouteTableAnnouncements');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayRouteTableAnnouncements',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTransitGatewayRouteTableAnnouncements');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTransitGatewayRouteTableAnnouncements');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTransitGatewayRouteTableAnnouncements"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTransitGatewayRouteTableAnnouncements"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTransitGatewayRouteTableAnnouncements";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTableAnnouncements")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeTransitGatewayRouteTables
{{baseUrl}}/#Action=DescribeTransitGatewayRouteTables
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeTransitGatewayRouteTables" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayRouteTables',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayRouteTables',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeTransitGatewayRouteTables');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayRouteTables',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTransitGatewayRouteTables');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTransitGatewayRouteTables');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTransitGatewayRouteTables"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTransitGatewayRouteTables"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTransitGatewayRouteTables";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayRouteTables")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeTransitGatewayVpcAttachments
{{baseUrl}}/#Action=DescribeTransitGatewayVpcAttachments
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeTransitGatewayVpcAttachments" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayVpcAttachments',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayVpcAttachments',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeTransitGatewayVpcAttachments');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGatewayVpcAttachments',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTransitGatewayVpcAttachments');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTransitGatewayVpcAttachments');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTransitGatewayVpcAttachments"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTransitGatewayVpcAttachments"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTransitGatewayVpcAttachments";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGatewayVpcAttachments")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeTransitGateways
{{baseUrl}}/#Action=DescribeTransitGateways
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeTransitGateways" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGateways',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeTransitGateways');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTransitGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTransitGateways');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTransitGateways');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTransitGateways"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTransitGateways"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTransitGateways";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTransitGateways")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeTrunkInterfaceAssociations
{{baseUrl}}/#Action=DescribeTrunkInterfaceAssociations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeTrunkInterfaceAssociations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTrunkInterfaceAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTrunkInterfaceAssociations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeTrunkInterfaceAssociations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeTrunkInterfaceAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeTrunkInterfaceAssociations');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeTrunkInterfaceAssociations');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeTrunkInterfaceAssociations"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeTrunkInterfaceAssociations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeTrunkInterfaceAssociations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeTrunkInterfaceAssociations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeVerifiedAccessEndpoints
{{baseUrl}}/#Action=DescribeVerifiedAccessEndpoints
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeVerifiedAccessEndpoints" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessEndpoints',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessEndpoints',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeVerifiedAccessEndpoints');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessEndpoints',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVerifiedAccessEndpoints');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVerifiedAccessEndpoints');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVerifiedAccessEndpoints"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVerifiedAccessEndpoints"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVerifiedAccessEndpoints";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessEndpoints")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeVerifiedAccessGroups
{{baseUrl}}/#Action=DescribeVerifiedAccessGroups
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeVerifiedAccessGroups" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessGroups',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessGroups',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeVerifiedAccessGroups');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessGroups',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVerifiedAccessGroups');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVerifiedAccessGroups');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVerifiedAccessGroups"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVerifiedAccessGroups"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVerifiedAccessGroups";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessGroups")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeVerifiedAccessInstanceLoggingConfigurations
{{baseUrl}}/#Action=DescribeVerifiedAccessInstanceLoggingConfigurations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeVerifiedAccessInstanceLoggingConfigurations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessInstanceLoggingConfigurations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessInstanceLoggingConfigurations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeVerifiedAccessInstanceLoggingConfigurations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessInstanceLoggingConfigurations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVerifiedAccessInstanceLoggingConfigurations');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVerifiedAccessInstanceLoggingConfigurations');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVerifiedAccessInstanceLoggingConfigurations"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVerifiedAccessInstanceLoggingConfigurations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVerifiedAccessInstanceLoggingConfigurations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstanceLoggingConfigurations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeVerifiedAccessInstances
{{baseUrl}}/#Action=DescribeVerifiedAccessInstances
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeVerifiedAccessInstances" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessInstances',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeVerifiedAccessInstances');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVerifiedAccessInstances');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVerifiedAccessInstances');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVerifiedAccessInstances"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVerifiedAccessInstances"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVerifiedAccessInstances";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeVerifiedAccessTrustProviders
{{baseUrl}}/#Action=DescribeVerifiedAccessTrustProviders
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeVerifiedAccessTrustProviders" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessTrustProviders',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessTrustProviders',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeVerifiedAccessTrustProviders');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVerifiedAccessTrustProviders',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVerifiedAccessTrustProviders');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVerifiedAccessTrustProviders');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVerifiedAccessTrustProviders"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVerifiedAccessTrustProviders"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVerifiedAccessTrustProviders";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVerifiedAccessTrustProviders")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeVolumeAttribute
{{baseUrl}}/#Action=DescribeVolumeAttribute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeVolumeAttribute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeAttribute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeAttribute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeAttribute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeAttribute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeAttribute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVolumeAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeAttribute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeAttribute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVolumeAttribute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeVolumeAttribute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVolumeAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeAttribute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVolumeAttribute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVolumeAttribute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeAttribute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeAttribute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVolumeAttribute"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVolumeAttribute"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVolumeAttribute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeAttribute'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeAttribute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"AutoEnableIO": {
"Value": false
},
"VolumeId": "vol-049df61146c4d7901"
}
POST
POST_DescribeVolumeStatus
{{baseUrl}}/#Action=DescribeVolumeStatus
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeVolumeStatus" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVolumeStatus',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVolumeStatus',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeVolumeStatus');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVolumeStatus',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVolumeStatus');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVolumeStatus');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVolumeStatus"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVolumeStatus"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVolumeStatus";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumeStatus")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"VolumeStatuses": []
}
POST
POST_DescribeVolumes
{{baseUrl}}/#Action=DescribeVolumes
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeVolumes" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVolumes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVolumes',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeVolumes');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVolumes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVolumes');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVolumes');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVolumes"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVolumes"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVolumes";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumes")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"Volumes": [
{
"Attachments": [
{
"AttachTime": "2013-12-18T22:35:00.000Z",
"DeleteOnTermination": true,
"Device": "/dev/sda1",
"InstanceId": "i-1234567890abcdef0",
"State": "attached",
"VolumeId": "vol-049df61146c4d7901"
}
],
"AvailabilityZone": "us-east-1a",
"CreateTime": "2013-12-18T22:35:00.084Z",
"Size": 8,
"SnapshotId": "snap-1234567890abcdef0",
"State": "in-use",
"VolumeId": "vol-049df61146c4d7901",
"VolumeType": "standard"
}
]
}
POST
POST_DescribeVolumesModifications
{{baseUrl}}/#Action=DescribeVolumesModifications
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeVolumesModifications" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVolumesModifications',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVolumesModifications',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeVolumesModifications');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVolumesModifications',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVolumesModifications');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVolumesModifications');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVolumesModifications"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVolumesModifications"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVolumesModifications";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVolumesModifications")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeVpcAttribute
{{baseUrl}}/#Action=DescribeVpcAttribute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeVpcAttribute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcAttribute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcAttribute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcAttribute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcAttribute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcAttribute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcAttribute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcAttribute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcAttribute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeVpcAttribute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcAttribute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVpcAttribute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVpcAttribute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcAttribute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcAttribute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVpcAttribute"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVpcAttribute"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVpcAttribute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcAttribute'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcAttribute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"EnableDnsHostnames": {
"Value": true
},
"VpcId": "vpc-a01106c2"
}
POST
POST_DescribeVpcClassicLink
{{baseUrl}}/#Action=DescribeVpcClassicLink
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeVpcClassicLink" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcClassicLink',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcClassicLink',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeVpcClassicLink');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcClassicLink',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVpcClassicLink');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVpcClassicLink');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVpcClassicLink"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVpcClassicLink"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVpcClassicLink";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLink")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeVpcClassicLinkDnsSupport
{{baseUrl}}/#Action=DescribeVpcClassicLinkDnsSupport
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeVpcClassicLinkDnsSupport" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcClassicLinkDnsSupport',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcClassicLinkDnsSupport',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeVpcClassicLinkDnsSupport');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcClassicLinkDnsSupport',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVpcClassicLinkDnsSupport');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVpcClassicLinkDnsSupport');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVpcClassicLinkDnsSupport"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVpcClassicLinkDnsSupport"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVpcClassicLinkDnsSupport";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcClassicLinkDnsSupport")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeVpcEndpointConnectionNotifications
{{baseUrl}}/#Action=DescribeVpcEndpointConnectionNotifications
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeVpcEndpointConnectionNotifications" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointConnectionNotifications',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointConnectionNotifications',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeVpcEndpointConnectionNotifications');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointConnectionNotifications',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVpcEndpointConnectionNotifications');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVpcEndpointConnectionNotifications');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVpcEndpointConnectionNotifications"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVpcEndpointConnectionNotifications"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVpcEndpointConnectionNotifications";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnectionNotifications")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeVpcEndpointConnections
{{baseUrl}}/#Action=DescribeVpcEndpointConnections
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeVpcEndpointConnections" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointConnections',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointConnections',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeVpcEndpointConnections');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointConnections',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVpcEndpointConnections');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVpcEndpointConnections');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVpcEndpointConnections"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVpcEndpointConnections"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVpcEndpointConnections";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointConnections")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeVpcEndpointServiceConfigurations
{{baseUrl}}/#Action=DescribeVpcEndpointServiceConfigurations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeVpcEndpointServiceConfigurations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointServiceConfigurations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointServiceConfigurations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeVpcEndpointServiceConfigurations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointServiceConfigurations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVpcEndpointServiceConfigurations');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVpcEndpointServiceConfigurations');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVpcEndpointServiceConfigurations"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVpcEndpointServiceConfigurations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVpcEndpointServiceConfigurations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServiceConfigurations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeVpcEndpointServicePermissions
{{baseUrl}}/#Action=DescribeVpcEndpointServicePermissions
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServicePermissions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeVpcEndpointServicePermissions" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServicePermissions"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServicePermissions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServicePermissions");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServicePermissions"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServicePermissions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServicePermissions"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServicePermissions")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServicePermissions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServicePermissions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointServicePermissions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServicePermissions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServicePermissions',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServicePermissions")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointServicePermissions',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeVpcEndpointServicePermissions');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointServicePermissions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServicePermissions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServicePermissions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServicePermissions" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServicePermissions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServicePermissions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVpcEndpointServicePermissions');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVpcEndpointServicePermissions');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServicePermissions' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServicePermissions' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVpcEndpointServicePermissions"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVpcEndpointServicePermissions"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServicePermissions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVpcEndpointServicePermissions";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServicePermissions'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServicePermissions'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServicePermissions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServicePermissions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeVpcEndpointServices
{{baseUrl}}/#Action=DescribeVpcEndpointServices
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeVpcEndpointServices" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointServices',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointServices',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeVpcEndpointServices');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcEndpointServices',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVpcEndpointServices');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVpcEndpointServices');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVpcEndpointServices"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVpcEndpointServices"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVpcEndpointServices";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpointServices")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeVpcEndpoints
{{baseUrl}}/#Action=DescribeVpcEndpoints
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeVpcEndpoints" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcEndpoints',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcEndpoints',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeVpcEndpoints');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcEndpoints',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVpcEndpoints');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVpcEndpoints');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVpcEndpoints"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVpcEndpoints"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVpcEndpoints";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcEndpoints")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeVpcPeeringConnections
{{baseUrl}}/#Action=DescribeVpcPeeringConnections
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeVpcPeeringConnections" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcPeeringConnections',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcPeeringConnections',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeVpcPeeringConnections');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcPeeringConnections',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVpcPeeringConnections');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVpcPeeringConnections');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVpcPeeringConnections"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVpcPeeringConnections"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVpcPeeringConnections";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcPeeringConnections")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeVpcs
{{baseUrl}}/#Action=DescribeVpcs
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeVpcs" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcs',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcs',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeVpcs');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpcs',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVpcs');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVpcs');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVpcs"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVpcs"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVpcs";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVpcs")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"Vpcs": [
{
"CidrBlock": "10.0.0.0/16",
"DhcpOptionsId": "dopt-7a8b9c2d",
"InstanceTenancy": "default",
"IsDefault": false,
"State": "available",
"Tags": [
{
"Key": "Name",
"Value": "MyVPC"
}
],
"VpcId": "vpc-a01106c2"
}
]
}
POST
POST_DescribeVpnConnections
{{baseUrl}}/#Action=DescribeVpnConnections
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeVpnConnections" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpnConnections',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpnConnections',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeVpnConnections');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpnConnections',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVpnConnections');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVpnConnections');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVpnConnections"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVpnConnections"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVpnConnections";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVpnConnections")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DescribeVpnGateways
{{baseUrl}}/#Action=DescribeVpnGateways
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DescribeVpnGateways" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpnGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpnGateways',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DescribeVpnGateways');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DescribeVpnGateways',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DescribeVpnGateways');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DescribeVpnGateways');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DescribeVpnGateways"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DescribeVpnGateways"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DescribeVpnGateways";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways'
http POST '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DescribeVpnGateways")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DetachClassicLinkVpc
{{baseUrl}}/#Action=DetachClassicLinkVpc
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DetachClassicLinkVpc");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DetachClassicLinkVpc" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DetachClassicLinkVpc"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DetachClassicLinkVpc"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DetachClassicLinkVpc");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DetachClassicLinkVpc"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DetachClassicLinkVpc")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DetachClassicLinkVpc"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DetachClassicLinkVpc")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DetachClassicLinkVpc")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DetachClassicLinkVpc');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DetachClassicLinkVpc',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DetachClassicLinkVpc';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DetachClassicLinkVpc',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DetachClassicLinkVpc")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DetachClassicLinkVpc',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DetachClassicLinkVpc');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DetachClassicLinkVpc',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DetachClassicLinkVpc';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DetachClassicLinkVpc"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DetachClassicLinkVpc" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DetachClassicLinkVpc",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DetachClassicLinkVpc');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DetachClassicLinkVpc');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DetachClassicLinkVpc');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DetachClassicLinkVpc' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DetachClassicLinkVpc' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DetachClassicLinkVpc"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DetachClassicLinkVpc"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DetachClassicLinkVpc")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DetachClassicLinkVpc";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DetachClassicLinkVpc'
http POST '{{baseUrl}}/?Action=&Version=#Action=DetachClassicLinkVpc'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DetachClassicLinkVpc'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DetachClassicLinkVpc")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DetachInternetGateway
{{baseUrl}}/#Action=DetachInternetGateway
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DetachInternetGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DetachInternetGateway" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DetachInternetGateway"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DetachInternetGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DetachInternetGateway");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DetachInternetGateway"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DetachInternetGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DetachInternetGateway"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DetachInternetGateway")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DetachInternetGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DetachInternetGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DetachInternetGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DetachInternetGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DetachInternetGateway',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DetachInternetGateway")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DetachInternetGateway',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DetachInternetGateway');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DetachInternetGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DetachInternetGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DetachInternetGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DetachInternetGateway" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DetachInternetGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DetachInternetGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DetachInternetGateway');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DetachInternetGateway');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DetachInternetGateway' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DetachInternetGateway' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DetachInternetGateway"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DetachInternetGateway"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DetachInternetGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DetachInternetGateway";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DetachInternetGateway'
http POST '{{baseUrl}}/?Action=&Version=#Action=DetachInternetGateway'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DetachInternetGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DetachInternetGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DetachNetworkInterface
{{baseUrl}}/#Action=DetachNetworkInterface
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DetachNetworkInterface");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DetachNetworkInterface" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DetachNetworkInterface"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DetachNetworkInterface"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DetachNetworkInterface");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DetachNetworkInterface"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DetachNetworkInterface")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DetachNetworkInterface"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DetachNetworkInterface")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DetachNetworkInterface")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DetachNetworkInterface');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DetachNetworkInterface',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DetachNetworkInterface';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DetachNetworkInterface',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DetachNetworkInterface")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DetachNetworkInterface',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DetachNetworkInterface');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DetachNetworkInterface',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DetachNetworkInterface';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DetachNetworkInterface"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DetachNetworkInterface" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DetachNetworkInterface",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DetachNetworkInterface');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DetachNetworkInterface');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DetachNetworkInterface');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DetachNetworkInterface' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DetachNetworkInterface' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DetachNetworkInterface"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DetachNetworkInterface"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DetachNetworkInterface")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DetachNetworkInterface";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DetachNetworkInterface'
http POST '{{baseUrl}}/?Action=&Version=#Action=DetachNetworkInterface'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DetachNetworkInterface'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DetachNetworkInterface")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DetachVerifiedAccessTrustProvider
{{baseUrl}}/#Action=DetachVerifiedAccessTrustProvider
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DetachVerifiedAccessTrustProvider");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DetachVerifiedAccessTrustProvider" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DetachVerifiedAccessTrustProvider"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DetachVerifiedAccessTrustProvider"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DetachVerifiedAccessTrustProvider");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DetachVerifiedAccessTrustProvider"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DetachVerifiedAccessTrustProvider")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DetachVerifiedAccessTrustProvider"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DetachVerifiedAccessTrustProvider")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DetachVerifiedAccessTrustProvider")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DetachVerifiedAccessTrustProvider');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DetachVerifiedAccessTrustProvider',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DetachVerifiedAccessTrustProvider';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DetachVerifiedAccessTrustProvider',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DetachVerifiedAccessTrustProvider")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DetachVerifiedAccessTrustProvider',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DetachVerifiedAccessTrustProvider');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DetachVerifiedAccessTrustProvider',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DetachVerifiedAccessTrustProvider';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DetachVerifiedAccessTrustProvider"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DetachVerifiedAccessTrustProvider" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DetachVerifiedAccessTrustProvider",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DetachVerifiedAccessTrustProvider');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DetachVerifiedAccessTrustProvider');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DetachVerifiedAccessTrustProvider');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DetachVerifiedAccessTrustProvider' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DetachVerifiedAccessTrustProvider' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DetachVerifiedAccessTrustProvider"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DetachVerifiedAccessTrustProvider"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DetachVerifiedAccessTrustProvider")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DetachVerifiedAccessTrustProvider";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DetachVerifiedAccessTrustProvider'
http POST '{{baseUrl}}/?Action=&Version=#Action=DetachVerifiedAccessTrustProvider'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DetachVerifiedAccessTrustProvider'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DetachVerifiedAccessTrustProvider")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DetachVolume
{{baseUrl}}/#Action=DetachVolume
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DetachVolume");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DetachVolume" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DetachVolume"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DetachVolume"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DetachVolume");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DetachVolume"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DetachVolume")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DetachVolume"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DetachVolume")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DetachVolume")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DetachVolume');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DetachVolume',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DetachVolume';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DetachVolume',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DetachVolume")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DetachVolume',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DetachVolume');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DetachVolume',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DetachVolume';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DetachVolume"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DetachVolume" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DetachVolume",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DetachVolume');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DetachVolume');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DetachVolume');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DetachVolume' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DetachVolume' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DetachVolume"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DetachVolume"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DetachVolume")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DetachVolume";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DetachVolume'
http POST '{{baseUrl}}/?Action=&Version=#Action=DetachVolume'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DetachVolume'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DetachVolume")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"AttachTime": "2014-02-27T19:23:06.000Z",
"Device": "/dev/sdb",
"InstanceId": "i-1234567890abcdef0",
"State": "detaching",
"VolumeId": "vol-049df61146c4d7901"
}
POST
POST_DetachVpnGateway
{{baseUrl}}/#Action=DetachVpnGateway
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DetachVpnGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DetachVpnGateway" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DetachVpnGateway"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DetachVpnGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DetachVpnGateway");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DetachVpnGateway"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DetachVpnGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DetachVpnGateway"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DetachVpnGateway")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DetachVpnGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DetachVpnGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DetachVpnGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DetachVpnGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DetachVpnGateway',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DetachVpnGateway")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DetachVpnGateway',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DetachVpnGateway');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DetachVpnGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DetachVpnGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DetachVpnGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DetachVpnGateway" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DetachVpnGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DetachVpnGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DetachVpnGateway');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DetachVpnGateway');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DetachVpnGateway' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DetachVpnGateway' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DetachVpnGateway"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DetachVpnGateway"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DetachVpnGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DetachVpnGateway";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DetachVpnGateway'
http POST '{{baseUrl}}/?Action=&Version=#Action=DetachVpnGateway'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DetachVpnGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DetachVpnGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DisableAddressTransfer
{{baseUrl}}/#Action=DisableAddressTransfer
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisableAddressTransfer");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DisableAddressTransfer" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisableAddressTransfer"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisableAddressTransfer"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisableAddressTransfer");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisableAddressTransfer"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DisableAddressTransfer")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisableAddressTransfer"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableAddressTransfer")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DisableAddressTransfer")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DisableAddressTransfer');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableAddressTransfer',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableAddressTransfer';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisableAddressTransfer',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableAddressTransfer")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableAddressTransfer',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DisableAddressTransfer');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableAddressTransfer',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableAddressTransfer';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisableAddressTransfer"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisableAddressTransfer" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisableAddressTransfer",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DisableAddressTransfer');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisableAddressTransfer');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisableAddressTransfer');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableAddressTransfer' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableAddressTransfer' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisableAddressTransfer"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisableAddressTransfer"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisableAddressTransfer")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisableAddressTransfer";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DisableAddressTransfer'
http POST '{{baseUrl}}/?Action=&Version=#Action=DisableAddressTransfer'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisableAddressTransfer'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisableAddressTransfer")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DisableAwsNetworkPerformanceMetricSubscription
{{baseUrl}}/#Action=DisableAwsNetworkPerformanceMetricSubscription
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DisableAwsNetworkPerformanceMetricSubscription" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableAwsNetworkPerformanceMetricSubscription',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableAwsNetworkPerformanceMetricSubscription',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DisableAwsNetworkPerformanceMetricSubscription');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableAwsNetworkPerformanceMetricSubscription',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisableAwsNetworkPerformanceMetricSubscription');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisableAwsNetworkPerformanceMetricSubscription');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisableAwsNetworkPerformanceMetricSubscription"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisableAwsNetworkPerformanceMetricSubscription"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisableAwsNetworkPerformanceMetricSubscription";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription'
http POST '{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisableAwsNetworkPerformanceMetricSubscription")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DisableEbsEncryptionByDefault
{{baseUrl}}/#Action=DisableEbsEncryptionByDefault
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DisableEbsEncryptionByDefault" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableEbsEncryptionByDefault',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableEbsEncryptionByDefault',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DisableEbsEncryptionByDefault');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableEbsEncryptionByDefault',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisableEbsEncryptionByDefault');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisableEbsEncryptionByDefault');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisableEbsEncryptionByDefault"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisableEbsEncryptionByDefault"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisableEbsEncryptionByDefault";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault'
http POST '{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisableEbsEncryptionByDefault")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DisableFastLaunch
{{baseUrl}}/#Action=DisableFastLaunch
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisableFastLaunch");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DisableFastLaunch" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisableFastLaunch"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisableFastLaunch"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisableFastLaunch");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisableFastLaunch"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DisableFastLaunch")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisableFastLaunch"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableFastLaunch")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DisableFastLaunch")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DisableFastLaunch');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableFastLaunch',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableFastLaunch';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisableFastLaunch',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableFastLaunch")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableFastLaunch',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DisableFastLaunch');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableFastLaunch',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableFastLaunch';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisableFastLaunch"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisableFastLaunch" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisableFastLaunch",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DisableFastLaunch');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisableFastLaunch');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisableFastLaunch');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableFastLaunch' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableFastLaunch' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisableFastLaunch"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisableFastLaunch"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisableFastLaunch")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisableFastLaunch";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DisableFastLaunch'
http POST '{{baseUrl}}/?Action=&Version=#Action=DisableFastLaunch'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisableFastLaunch'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisableFastLaunch")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DisableFastSnapshotRestores
{{baseUrl}}/#Action=DisableFastSnapshotRestores
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisableFastSnapshotRestores");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DisableFastSnapshotRestores" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisableFastSnapshotRestores"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisableFastSnapshotRestores"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisableFastSnapshotRestores");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisableFastSnapshotRestores"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DisableFastSnapshotRestores")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisableFastSnapshotRestores"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableFastSnapshotRestores")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DisableFastSnapshotRestores")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DisableFastSnapshotRestores');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableFastSnapshotRestores',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableFastSnapshotRestores';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisableFastSnapshotRestores',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableFastSnapshotRestores")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableFastSnapshotRestores',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DisableFastSnapshotRestores');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableFastSnapshotRestores',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableFastSnapshotRestores';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisableFastSnapshotRestores"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisableFastSnapshotRestores" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisableFastSnapshotRestores",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DisableFastSnapshotRestores');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisableFastSnapshotRestores');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisableFastSnapshotRestores');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableFastSnapshotRestores' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableFastSnapshotRestores' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisableFastSnapshotRestores"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisableFastSnapshotRestores"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisableFastSnapshotRestores")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisableFastSnapshotRestores";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DisableFastSnapshotRestores'
http POST '{{baseUrl}}/?Action=&Version=#Action=DisableFastSnapshotRestores'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisableFastSnapshotRestores'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisableFastSnapshotRestores")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DisableImageDeprecation
{{baseUrl}}/#Action=DisableImageDeprecation
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisableImageDeprecation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DisableImageDeprecation" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisableImageDeprecation"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisableImageDeprecation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisableImageDeprecation");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisableImageDeprecation"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DisableImageDeprecation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisableImageDeprecation"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableImageDeprecation")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DisableImageDeprecation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DisableImageDeprecation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableImageDeprecation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableImageDeprecation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisableImageDeprecation',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableImageDeprecation")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableImageDeprecation',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DisableImageDeprecation');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableImageDeprecation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableImageDeprecation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisableImageDeprecation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisableImageDeprecation" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisableImageDeprecation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DisableImageDeprecation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisableImageDeprecation');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisableImageDeprecation');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableImageDeprecation' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableImageDeprecation' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisableImageDeprecation"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisableImageDeprecation"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisableImageDeprecation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisableImageDeprecation";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DisableImageDeprecation'
http POST '{{baseUrl}}/?Action=&Version=#Action=DisableImageDeprecation'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisableImageDeprecation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisableImageDeprecation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DisableIpamOrganizationAdminAccount
{{baseUrl}}/#Action=DisableIpamOrganizationAdminAccount
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisableIpamOrganizationAdminAccount");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DisableIpamOrganizationAdminAccount" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisableIpamOrganizationAdminAccount"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisableIpamOrganizationAdminAccount"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisableIpamOrganizationAdminAccount");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisableIpamOrganizationAdminAccount"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DisableIpamOrganizationAdminAccount")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisableIpamOrganizationAdminAccount"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableIpamOrganizationAdminAccount")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DisableIpamOrganizationAdminAccount")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DisableIpamOrganizationAdminAccount');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableIpamOrganizationAdminAccount',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableIpamOrganizationAdminAccount';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisableIpamOrganizationAdminAccount',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableIpamOrganizationAdminAccount")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableIpamOrganizationAdminAccount',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DisableIpamOrganizationAdminAccount');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableIpamOrganizationAdminAccount',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableIpamOrganizationAdminAccount';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisableIpamOrganizationAdminAccount"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisableIpamOrganizationAdminAccount" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisableIpamOrganizationAdminAccount",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DisableIpamOrganizationAdminAccount');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisableIpamOrganizationAdminAccount');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisableIpamOrganizationAdminAccount');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableIpamOrganizationAdminAccount' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableIpamOrganizationAdminAccount' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisableIpamOrganizationAdminAccount"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisableIpamOrganizationAdminAccount"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisableIpamOrganizationAdminAccount")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisableIpamOrganizationAdminAccount";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DisableIpamOrganizationAdminAccount'
http POST '{{baseUrl}}/?Action=&Version=#Action=DisableIpamOrganizationAdminAccount'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisableIpamOrganizationAdminAccount'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisableIpamOrganizationAdminAccount")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DisableSerialConsoleAccess
{{baseUrl}}/#Action=DisableSerialConsoleAccess
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DisableSerialConsoleAccess" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableSerialConsoleAccess',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableSerialConsoleAccess',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DisableSerialConsoleAccess');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableSerialConsoleAccess',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisableSerialConsoleAccess');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisableSerialConsoleAccess');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisableSerialConsoleAccess"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisableSerialConsoleAccess"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisableSerialConsoleAccess";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess'
http POST '{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisableSerialConsoleAccess")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DisableTransitGatewayRouteTablePropagation
{{baseUrl}}/#Action=DisableTransitGatewayRouteTablePropagation
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DisableTransitGatewayRouteTablePropagation" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableTransitGatewayRouteTablePropagation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableTransitGatewayRouteTablePropagation',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DisableTransitGatewayRouteTablePropagation');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableTransitGatewayRouteTablePropagation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisableTransitGatewayRouteTablePropagation');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisableTransitGatewayRouteTablePropagation');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisableTransitGatewayRouteTablePropagation"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisableTransitGatewayRouteTablePropagation"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisableTransitGatewayRouteTablePropagation";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation'
http POST '{{baseUrl}}/?Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisableTransitGatewayRouteTablePropagation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DisableVgwRoutePropagation
{{baseUrl}}/#Action=DisableVgwRoutePropagation
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisableVgwRoutePropagation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DisableVgwRoutePropagation" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisableVgwRoutePropagation"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisableVgwRoutePropagation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisableVgwRoutePropagation");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisableVgwRoutePropagation"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DisableVgwRoutePropagation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisableVgwRoutePropagation"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableVgwRoutePropagation")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DisableVgwRoutePropagation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DisableVgwRoutePropagation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableVgwRoutePropagation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableVgwRoutePropagation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisableVgwRoutePropagation',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableVgwRoutePropagation")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableVgwRoutePropagation',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DisableVgwRoutePropagation');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableVgwRoutePropagation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableVgwRoutePropagation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisableVgwRoutePropagation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisableVgwRoutePropagation" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisableVgwRoutePropagation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DisableVgwRoutePropagation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisableVgwRoutePropagation');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisableVgwRoutePropagation');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableVgwRoutePropagation' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableVgwRoutePropagation' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisableVgwRoutePropagation"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisableVgwRoutePropagation"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisableVgwRoutePropagation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisableVgwRoutePropagation";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DisableVgwRoutePropagation'
http POST '{{baseUrl}}/?Action=&Version=#Action=DisableVgwRoutePropagation'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisableVgwRoutePropagation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisableVgwRoutePropagation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DisableVpcClassicLink
{{baseUrl}}/#Action=DisableVpcClassicLink
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLink");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DisableVpcClassicLink" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLink"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLink"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLink");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLink"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLink")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLink"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLink")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLink")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLink');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableVpcClassicLink',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLink';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLink',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLink")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableVpcClassicLink',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DisableVpcClassicLink');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableVpcClassicLink',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLink';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLink"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLink" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLink",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLink');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisableVpcClassicLink');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisableVpcClassicLink');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLink' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLink' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisableVpcClassicLink"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisableVpcClassicLink"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLink")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisableVpcClassicLink";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLink'
http POST '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLink'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLink'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLink")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DisableVpcClassicLinkDnsSupport
{{baseUrl}}/#Action=DisableVpcClassicLinkDnsSupport
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DisableVpcClassicLinkDnsSupport" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableVpcClassicLinkDnsSupport',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableVpcClassicLinkDnsSupport',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DisableVpcClassicLinkDnsSupport');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisableVpcClassicLinkDnsSupport',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisableVpcClassicLinkDnsSupport');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisableVpcClassicLinkDnsSupport');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisableVpcClassicLinkDnsSupport"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisableVpcClassicLinkDnsSupport"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisableVpcClassicLinkDnsSupport";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport'
http POST '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisableVpcClassicLinkDnsSupport")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DisassociateAddress
{{baseUrl}}/#Action=DisassociateAddress
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DisassociateAddress" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateAddress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateAddress',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DisassociateAddress');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateAddress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisassociateAddress');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisassociateAddress');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisassociateAddress"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisassociateAddress"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisassociateAddress";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress'
http POST '{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisassociateAddress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DisassociateClientVpnTargetNetwork
{{baseUrl}}/#Action=DisassociateClientVpnTargetNetwork
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisassociateClientVpnTargetNetwork");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DisassociateClientVpnTargetNetwork" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisassociateClientVpnTargetNetwork"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisassociateClientVpnTargetNetwork"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisassociateClientVpnTargetNetwork");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisassociateClientVpnTargetNetwork"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DisassociateClientVpnTargetNetwork")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisassociateClientVpnTargetNetwork"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateClientVpnTargetNetwork")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DisassociateClientVpnTargetNetwork")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DisassociateClientVpnTargetNetwork');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateClientVpnTargetNetwork',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateClientVpnTargetNetwork';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisassociateClientVpnTargetNetwork',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateClientVpnTargetNetwork")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateClientVpnTargetNetwork',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DisassociateClientVpnTargetNetwork');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateClientVpnTargetNetwork',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateClientVpnTargetNetwork';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisassociateClientVpnTargetNetwork"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisassociateClientVpnTargetNetwork" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisassociateClientVpnTargetNetwork",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DisassociateClientVpnTargetNetwork');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisassociateClientVpnTargetNetwork');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisassociateClientVpnTargetNetwork');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateClientVpnTargetNetwork' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateClientVpnTargetNetwork' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisassociateClientVpnTargetNetwork"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisassociateClientVpnTargetNetwork"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisassociateClientVpnTargetNetwork")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisassociateClientVpnTargetNetwork";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DisassociateClientVpnTargetNetwork'
http POST '{{baseUrl}}/?Action=&Version=#Action=DisassociateClientVpnTargetNetwork'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisassociateClientVpnTargetNetwork'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisassociateClientVpnTargetNetwork")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DisassociateEnclaveCertificateIamRole
{{baseUrl}}/#Action=DisassociateEnclaveCertificateIamRole
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisassociateEnclaveCertificateIamRole");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DisassociateEnclaveCertificateIamRole" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisassociateEnclaveCertificateIamRole"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisassociateEnclaveCertificateIamRole"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisassociateEnclaveCertificateIamRole");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisassociateEnclaveCertificateIamRole"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DisassociateEnclaveCertificateIamRole")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisassociateEnclaveCertificateIamRole"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateEnclaveCertificateIamRole")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DisassociateEnclaveCertificateIamRole")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DisassociateEnclaveCertificateIamRole');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateEnclaveCertificateIamRole',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateEnclaveCertificateIamRole';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisassociateEnclaveCertificateIamRole',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateEnclaveCertificateIamRole")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateEnclaveCertificateIamRole',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DisassociateEnclaveCertificateIamRole');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateEnclaveCertificateIamRole',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateEnclaveCertificateIamRole';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisassociateEnclaveCertificateIamRole"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisassociateEnclaveCertificateIamRole" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisassociateEnclaveCertificateIamRole",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DisassociateEnclaveCertificateIamRole');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisassociateEnclaveCertificateIamRole');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisassociateEnclaveCertificateIamRole');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateEnclaveCertificateIamRole' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateEnclaveCertificateIamRole' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisassociateEnclaveCertificateIamRole"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisassociateEnclaveCertificateIamRole"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisassociateEnclaveCertificateIamRole")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisassociateEnclaveCertificateIamRole";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DisassociateEnclaveCertificateIamRole'
http POST '{{baseUrl}}/?Action=&Version=#Action=DisassociateEnclaveCertificateIamRole'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisassociateEnclaveCertificateIamRole'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisassociateEnclaveCertificateIamRole")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DisassociateIamInstanceProfile
{{baseUrl}}/#Action=DisassociateIamInstanceProfile
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisassociateIamInstanceProfile");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DisassociateIamInstanceProfile" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisassociateIamInstanceProfile"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisassociateIamInstanceProfile"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisassociateIamInstanceProfile");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisassociateIamInstanceProfile"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DisassociateIamInstanceProfile")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisassociateIamInstanceProfile"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateIamInstanceProfile")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DisassociateIamInstanceProfile")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DisassociateIamInstanceProfile');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateIamInstanceProfile',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateIamInstanceProfile';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisassociateIamInstanceProfile',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateIamInstanceProfile")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateIamInstanceProfile',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DisassociateIamInstanceProfile');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateIamInstanceProfile',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateIamInstanceProfile';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisassociateIamInstanceProfile"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisassociateIamInstanceProfile" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisassociateIamInstanceProfile",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DisassociateIamInstanceProfile');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisassociateIamInstanceProfile');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisassociateIamInstanceProfile');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateIamInstanceProfile' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateIamInstanceProfile' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisassociateIamInstanceProfile"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisassociateIamInstanceProfile"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisassociateIamInstanceProfile")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisassociateIamInstanceProfile";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DisassociateIamInstanceProfile'
http POST '{{baseUrl}}/?Action=&Version=#Action=DisassociateIamInstanceProfile'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisassociateIamInstanceProfile'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisassociateIamInstanceProfile")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"IamInstanceProfileAssociation": {
"AssociationId": "iip-assoc-05020b59952902f5f",
"IamInstanceProfile": {
"Arn": "arn:aws:iam::123456789012:instance-profile/admin-role",
"Id": "AIPAI5IVIHMFFYY2DKV5Y"
},
"InstanceId": "i-123456789abcde123",
"State": "disassociating"
}
}
POST
POST_DisassociateInstanceEventWindow
{{baseUrl}}/#Action=DisassociateInstanceEventWindow
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisassociateInstanceEventWindow");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DisassociateInstanceEventWindow" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisassociateInstanceEventWindow"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisassociateInstanceEventWindow"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisassociateInstanceEventWindow");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisassociateInstanceEventWindow"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DisassociateInstanceEventWindow")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisassociateInstanceEventWindow"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateInstanceEventWindow")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DisassociateInstanceEventWindow")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DisassociateInstanceEventWindow');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateInstanceEventWindow',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateInstanceEventWindow';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisassociateInstanceEventWindow',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateInstanceEventWindow")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateInstanceEventWindow',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DisassociateInstanceEventWindow');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateInstanceEventWindow',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateInstanceEventWindow';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisassociateInstanceEventWindow"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisassociateInstanceEventWindow" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisassociateInstanceEventWindow",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DisassociateInstanceEventWindow');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisassociateInstanceEventWindow');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisassociateInstanceEventWindow');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateInstanceEventWindow' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateInstanceEventWindow' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisassociateInstanceEventWindow"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisassociateInstanceEventWindow"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisassociateInstanceEventWindow")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisassociateInstanceEventWindow";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DisassociateInstanceEventWindow'
http POST '{{baseUrl}}/?Action=&Version=#Action=DisassociateInstanceEventWindow'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisassociateInstanceEventWindow'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisassociateInstanceEventWindow")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DisassociateIpamResourceDiscovery
{{baseUrl}}/#Action=DisassociateIpamResourceDiscovery
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisassociateIpamResourceDiscovery");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DisassociateIpamResourceDiscovery" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisassociateIpamResourceDiscovery"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisassociateIpamResourceDiscovery"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisassociateIpamResourceDiscovery");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisassociateIpamResourceDiscovery"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DisassociateIpamResourceDiscovery")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisassociateIpamResourceDiscovery"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateIpamResourceDiscovery")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DisassociateIpamResourceDiscovery")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DisassociateIpamResourceDiscovery');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateIpamResourceDiscovery',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateIpamResourceDiscovery';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisassociateIpamResourceDiscovery',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateIpamResourceDiscovery")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateIpamResourceDiscovery',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DisassociateIpamResourceDiscovery');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateIpamResourceDiscovery',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateIpamResourceDiscovery';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisassociateIpamResourceDiscovery"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisassociateIpamResourceDiscovery" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisassociateIpamResourceDiscovery",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DisassociateIpamResourceDiscovery');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisassociateIpamResourceDiscovery');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisassociateIpamResourceDiscovery');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateIpamResourceDiscovery' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateIpamResourceDiscovery' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisassociateIpamResourceDiscovery"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisassociateIpamResourceDiscovery"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisassociateIpamResourceDiscovery")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisassociateIpamResourceDiscovery";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DisassociateIpamResourceDiscovery'
http POST '{{baseUrl}}/?Action=&Version=#Action=DisassociateIpamResourceDiscovery'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisassociateIpamResourceDiscovery'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisassociateIpamResourceDiscovery")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DisassociateNatGatewayAddress
{{baseUrl}}/#Action=DisassociateNatGatewayAddress
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisassociateNatGatewayAddress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DisassociateNatGatewayAddress" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisassociateNatGatewayAddress"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisassociateNatGatewayAddress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisassociateNatGatewayAddress");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisassociateNatGatewayAddress"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DisassociateNatGatewayAddress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisassociateNatGatewayAddress"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateNatGatewayAddress")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DisassociateNatGatewayAddress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DisassociateNatGatewayAddress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateNatGatewayAddress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateNatGatewayAddress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisassociateNatGatewayAddress',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateNatGatewayAddress")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateNatGatewayAddress',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DisassociateNatGatewayAddress');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateNatGatewayAddress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateNatGatewayAddress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisassociateNatGatewayAddress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisassociateNatGatewayAddress" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisassociateNatGatewayAddress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DisassociateNatGatewayAddress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisassociateNatGatewayAddress');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisassociateNatGatewayAddress');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateNatGatewayAddress' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateNatGatewayAddress' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisassociateNatGatewayAddress"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisassociateNatGatewayAddress"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisassociateNatGatewayAddress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisassociateNatGatewayAddress";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DisassociateNatGatewayAddress'
http POST '{{baseUrl}}/?Action=&Version=#Action=DisassociateNatGatewayAddress'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisassociateNatGatewayAddress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisassociateNatGatewayAddress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DisassociateRouteTable
{{baseUrl}}/#Action=DisassociateRouteTable
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisassociateRouteTable");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DisassociateRouteTable" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisassociateRouteTable"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisassociateRouteTable"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisassociateRouteTable");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisassociateRouteTable"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DisassociateRouteTable")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisassociateRouteTable"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateRouteTable")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DisassociateRouteTable")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DisassociateRouteTable');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateRouteTable',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateRouteTable';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisassociateRouteTable',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateRouteTable")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateRouteTable',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DisassociateRouteTable');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateRouteTable',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateRouteTable';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisassociateRouteTable"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisassociateRouteTable" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisassociateRouteTable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DisassociateRouteTable');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisassociateRouteTable');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisassociateRouteTable');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateRouteTable' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateRouteTable' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisassociateRouteTable"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisassociateRouteTable"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisassociateRouteTable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisassociateRouteTable";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DisassociateRouteTable'
http POST '{{baseUrl}}/?Action=&Version=#Action=DisassociateRouteTable'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisassociateRouteTable'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisassociateRouteTable")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DisassociateSubnetCidrBlock
{{baseUrl}}/#Action=DisassociateSubnetCidrBlock
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisassociateSubnetCidrBlock");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DisassociateSubnetCidrBlock" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisassociateSubnetCidrBlock"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisassociateSubnetCidrBlock"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisassociateSubnetCidrBlock");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisassociateSubnetCidrBlock"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DisassociateSubnetCidrBlock")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisassociateSubnetCidrBlock"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateSubnetCidrBlock")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DisassociateSubnetCidrBlock")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DisassociateSubnetCidrBlock');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateSubnetCidrBlock',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateSubnetCidrBlock';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisassociateSubnetCidrBlock',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateSubnetCidrBlock")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateSubnetCidrBlock',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DisassociateSubnetCidrBlock');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateSubnetCidrBlock',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateSubnetCidrBlock';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisassociateSubnetCidrBlock"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisassociateSubnetCidrBlock" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisassociateSubnetCidrBlock",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DisassociateSubnetCidrBlock');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisassociateSubnetCidrBlock');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisassociateSubnetCidrBlock');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateSubnetCidrBlock' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateSubnetCidrBlock' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisassociateSubnetCidrBlock"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisassociateSubnetCidrBlock"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisassociateSubnetCidrBlock")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisassociateSubnetCidrBlock";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DisassociateSubnetCidrBlock'
http POST '{{baseUrl}}/?Action=&Version=#Action=DisassociateSubnetCidrBlock'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisassociateSubnetCidrBlock'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisassociateSubnetCidrBlock")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DisassociateTransitGatewayMulticastDomain
{{baseUrl}}/#Action=DisassociateTransitGatewayMulticastDomain
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DisassociateTransitGatewayMulticastDomain" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateTransitGatewayMulticastDomain',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateTransitGatewayMulticastDomain',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DisassociateTransitGatewayMulticastDomain');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateTransitGatewayMulticastDomain',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisassociateTransitGatewayMulticastDomain');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisassociateTransitGatewayMulticastDomain');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisassociateTransitGatewayMulticastDomain"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisassociateTransitGatewayMulticastDomain"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisassociateTransitGatewayMulticastDomain";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain'
http POST '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayMulticastDomain")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DisassociateTransitGatewayPolicyTable
{{baseUrl}}/#Action=DisassociateTransitGatewayPolicyTable
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayPolicyTable");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DisassociateTransitGatewayPolicyTable" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayPolicyTable"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayPolicyTable"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayPolicyTable");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayPolicyTable"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayPolicyTable")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayPolicyTable"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayPolicyTable")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayPolicyTable")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayPolicyTable');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateTransitGatewayPolicyTable',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayPolicyTable';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayPolicyTable',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayPolicyTable")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateTransitGatewayPolicyTable',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DisassociateTransitGatewayPolicyTable');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateTransitGatewayPolicyTable',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayPolicyTable';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayPolicyTable"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayPolicyTable" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayPolicyTable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayPolicyTable');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisassociateTransitGatewayPolicyTable');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisassociateTransitGatewayPolicyTable');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayPolicyTable' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayPolicyTable' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisassociateTransitGatewayPolicyTable"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisassociateTransitGatewayPolicyTable"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayPolicyTable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisassociateTransitGatewayPolicyTable";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayPolicyTable'
http POST '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayPolicyTable'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayPolicyTable'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayPolicyTable")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DisassociateTransitGatewayRouteTable
{{baseUrl}}/#Action=DisassociateTransitGatewayRouteTable
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayRouteTable");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DisassociateTransitGatewayRouteTable" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayRouteTable"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayRouteTable"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayRouteTable");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayRouteTable"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayRouteTable")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayRouteTable"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayRouteTable")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayRouteTable")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayRouteTable');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateTransitGatewayRouteTable',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayRouteTable';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayRouteTable',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayRouteTable")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateTransitGatewayRouteTable',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DisassociateTransitGatewayRouteTable');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateTransitGatewayRouteTable',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayRouteTable';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayRouteTable"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayRouteTable" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayRouteTable",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayRouteTable');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisassociateTransitGatewayRouteTable');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisassociateTransitGatewayRouteTable');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayRouteTable' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayRouteTable' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisassociateTransitGatewayRouteTable"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisassociateTransitGatewayRouteTable"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayRouteTable")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisassociateTransitGatewayRouteTable";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayRouteTable'
http POST '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayRouteTable'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayRouteTable'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisassociateTransitGatewayRouteTable")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DisassociateTrunkInterface
{{baseUrl}}/#Action=DisassociateTrunkInterface
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisassociateTrunkInterface");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DisassociateTrunkInterface" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisassociateTrunkInterface"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisassociateTrunkInterface"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisassociateTrunkInterface");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisassociateTrunkInterface"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DisassociateTrunkInterface")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisassociateTrunkInterface"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateTrunkInterface")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DisassociateTrunkInterface")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DisassociateTrunkInterface');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateTrunkInterface',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateTrunkInterface';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisassociateTrunkInterface',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateTrunkInterface")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateTrunkInterface',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DisassociateTrunkInterface');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateTrunkInterface',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateTrunkInterface';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisassociateTrunkInterface"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisassociateTrunkInterface" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisassociateTrunkInterface",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DisassociateTrunkInterface');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisassociateTrunkInterface');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisassociateTrunkInterface');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateTrunkInterface' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateTrunkInterface' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisassociateTrunkInterface"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisassociateTrunkInterface"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisassociateTrunkInterface")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisassociateTrunkInterface";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DisassociateTrunkInterface'
http POST '{{baseUrl}}/?Action=&Version=#Action=DisassociateTrunkInterface'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisassociateTrunkInterface'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisassociateTrunkInterface")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_DisassociateVpcCidrBlock
{{baseUrl}}/#Action=DisassociateVpcCidrBlock
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=DisassociateVpcCidrBlock");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=DisassociateVpcCidrBlock" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=DisassociateVpcCidrBlock"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=DisassociateVpcCidrBlock"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=DisassociateVpcCidrBlock");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=DisassociateVpcCidrBlock"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=DisassociateVpcCidrBlock")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=DisassociateVpcCidrBlock"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateVpcCidrBlock")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=DisassociateVpcCidrBlock")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=DisassociateVpcCidrBlock');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateVpcCidrBlock',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateVpcCidrBlock';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=DisassociateVpcCidrBlock',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=DisassociateVpcCidrBlock")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateVpcCidrBlock',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=DisassociateVpcCidrBlock');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=DisassociateVpcCidrBlock',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=DisassociateVpcCidrBlock';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=DisassociateVpcCidrBlock"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=DisassociateVpcCidrBlock" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=DisassociateVpcCidrBlock",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=DisassociateVpcCidrBlock');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=DisassociateVpcCidrBlock');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=DisassociateVpcCidrBlock');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateVpcCidrBlock' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=DisassociateVpcCidrBlock' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=DisassociateVpcCidrBlock"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=DisassociateVpcCidrBlock"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=DisassociateVpcCidrBlock")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=DisassociateVpcCidrBlock";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=DisassociateVpcCidrBlock'
http POST '{{baseUrl}}/?Action=&Version=#Action=DisassociateVpcCidrBlock'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=DisassociateVpcCidrBlock'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=DisassociateVpcCidrBlock")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_EnableAddressTransfer
{{baseUrl}}/#Action=EnableAddressTransfer
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=EnableAddressTransfer");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=EnableAddressTransfer" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=EnableAddressTransfer"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=EnableAddressTransfer"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=EnableAddressTransfer");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=EnableAddressTransfer"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=EnableAddressTransfer")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=EnableAddressTransfer"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableAddressTransfer")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=EnableAddressTransfer")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=EnableAddressTransfer');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableAddressTransfer',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableAddressTransfer';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=EnableAddressTransfer',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableAddressTransfer")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableAddressTransfer',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=EnableAddressTransfer');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableAddressTransfer',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableAddressTransfer';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=EnableAddressTransfer"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=EnableAddressTransfer" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=EnableAddressTransfer",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=EnableAddressTransfer');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=EnableAddressTransfer');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=EnableAddressTransfer');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableAddressTransfer' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableAddressTransfer' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=EnableAddressTransfer"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=EnableAddressTransfer"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=EnableAddressTransfer")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=EnableAddressTransfer";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=EnableAddressTransfer'
http POST '{{baseUrl}}/?Action=&Version=#Action=EnableAddressTransfer'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=EnableAddressTransfer'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=EnableAddressTransfer")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_EnableAwsNetworkPerformanceMetricSubscription
{{baseUrl}}/#Action=EnableAwsNetworkPerformanceMetricSubscription
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=EnableAwsNetworkPerformanceMetricSubscription" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableAwsNetworkPerformanceMetricSubscription',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableAwsNetworkPerformanceMetricSubscription',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=EnableAwsNetworkPerformanceMetricSubscription');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableAwsNetworkPerformanceMetricSubscription',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=EnableAwsNetworkPerformanceMetricSubscription');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=EnableAwsNetworkPerformanceMetricSubscription');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=EnableAwsNetworkPerformanceMetricSubscription"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=EnableAwsNetworkPerformanceMetricSubscription"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=EnableAwsNetworkPerformanceMetricSubscription";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription'
http POST '{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=EnableAwsNetworkPerformanceMetricSubscription")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_EnableEbsEncryptionByDefault
{{baseUrl}}/#Action=EnableEbsEncryptionByDefault
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=EnableEbsEncryptionByDefault" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableEbsEncryptionByDefault',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableEbsEncryptionByDefault',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=EnableEbsEncryptionByDefault');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableEbsEncryptionByDefault',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=EnableEbsEncryptionByDefault');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=EnableEbsEncryptionByDefault');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=EnableEbsEncryptionByDefault"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=EnableEbsEncryptionByDefault"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=EnableEbsEncryptionByDefault";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault'
http POST '{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=EnableEbsEncryptionByDefault")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_EnableFastLaunch
{{baseUrl}}/#Action=EnableFastLaunch
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=EnableFastLaunch");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=EnableFastLaunch" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=EnableFastLaunch"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=EnableFastLaunch"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=EnableFastLaunch");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=EnableFastLaunch"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=EnableFastLaunch")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=EnableFastLaunch"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableFastLaunch")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=EnableFastLaunch")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=EnableFastLaunch');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableFastLaunch',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableFastLaunch';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=EnableFastLaunch',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableFastLaunch")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableFastLaunch',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=EnableFastLaunch');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableFastLaunch',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableFastLaunch';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=EnableFastLaunch"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=EnableFastLaunch" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=EnableFastLaunch",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=EnableFastLaunch');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=EnableFastLaunch');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=EnableFastLaunch');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableFastLaunch' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableFastLaunch' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=EnableFastLaunch"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=EnableFastLaunch"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=EnableFastLaunch")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=EnableFastLaunch";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=EnableFastLaunch'
http POST '{{baseUrl}}/?Action=&Version=#Action=EnableFastLaunch'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=EnableFastLaunch'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=EnableFastLaunch")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_EnableFastSnapshotRestores
{{baseUrl}}/#Action=EnableFastSnapshotRestores
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=EnableFastSnapshotRestores");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=EnableFastSnapshotRestores" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=EnableFastSnapshotRestores"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=EnableFastSnapshotRestores"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=EnableFastSnapshotRestores");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=EnableFastSnapshotRestores"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=EnableFastSnapshotRestores")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=EnableFastSnapshotRestores"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableFastSnapshotRestores")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=EnableFastSnapshotRestores")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=EnableFastSnapshotRestores');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableFastSnapshotRestores',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableFastSnapshotRestores';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=EnableFastSnapshotRestores',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableFastSnapshotRestores")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableFastSnapshotRestores',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=EnableFastSnapshotRestores');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableFastSnapshotRestores',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableFastSnapshotRestores';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=EnableFastSnapshotRestores"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=EnableFastSnapshotRestores" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=EnableFastSnapshotRestores",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=EnableFastSnapshotRestores');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=EnableFastSnapshotRestores');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=EnableFastSnapshotRestores');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableFastSnapshotRestores' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableFastSnapshotRestores' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=EnableFastSnapshotRestores"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=EnableFastSnapshotRestores"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=EnableFastSnapshotRestores")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=EnableFastSnapshotRestores";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=EnableFastSnapshotRestores'
http POST '{{baseUrl}}/?Action=&Version=#Action=EnableFastSnapshotRestores'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=EnableFastSnapshotRestores'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=EnableFastSnapshotRestores")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_EnableImageDeprecation
{{baseUrl}}/#Action=EnableImageDeprecation
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=EnableImageDeprecation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=EnableImageDeprecation" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=EnableImageDeprecation"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=EnableImageDeprecation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=EnableImageDeprecation");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=EnableImageDeprecation"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=EnableImageDeprecation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=EnableImageDeprecation"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableImageDeprecation")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=EnableImageDeprecation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=EnableImageDeprecation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableImageDeprecation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableImageDeprecation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=EnableImageDeprecation',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableImageDeprecation")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableImageDeprecation',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=EnableImageDeprecation');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableImageDeprecation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableImageDeprecation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=EnableImageDeprecation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=EnableImageDeprecation" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=EnableImageDeprecation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=EnableImageDeprecation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=EnableImageDeprecation');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=EnableImageDeprecation');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableImageDeprecation' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableImageDeprecation' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=EnableImageDeprecation"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=EnableImageDeprecation"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=EnableImageDeprecation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=EnableImageDeprecation";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=EnableImageDeprecation'
http POST '{{baseUrl}}/?Action=&Version=#Action=EnableImageDeprecation'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=EnableImageDeprecation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=EnableImageDeprecation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_EnableIpamOrganizationAdminAccount
{{baseUrl}}/#Action=EnableIpamOrganizationAdminAccount
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=EnableIpamOrganizationAdminAccount");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=EnableIpamOrganizationAdminAccount" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=EnableIpamOrganizationAdminAccount"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=EnableIpamOrganizationAdminAccount"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=EnableIpamOrganizationAdminAccount");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=EnableIpamOrganizationAdminAccount"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=EnableIpamOrganizationAdminAccount")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=EnableIpamOrganizationAdminAccount"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableIpamOrganizationAdminAccount")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=EnableIpamOrganizationAdminAccount")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=EnableIpamOrganizationAdminAccount');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableIpamOrganizationAdminAccount',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableIpamOrganizationAdminAccount';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=EnableIpamOrganizationAdminAccount',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableIpamOrganizationAdminAccount")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableIpamOrganizationAdminAccount',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=EnableIpamOrganizationAdminAccount');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableIpamOrganizationAdminAccount',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableIpamOrganizationAdminAccount';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=EnableIpamOrganizationAdminAccount"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=EnableIpamOrganizationAdminAccount" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=EnableIpamOrganizationAdminAccount",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=EnableIpamOrganizationAdminAccount');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=EnableIpamOrganizationAdminAccount');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=EnableIpamOrganizationAdminAccount');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableIpamOrganizationAdminAccount' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableIpamOrganizationAdminAccount' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=EnableIpamOrganizationAdminAccount"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=EnableIpamOrganizationAdminAccount"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=EnableIpamOrganizationAdminAccount")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=EnableIpamOrganizationAdminAccount";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=EnableIpamOrganizationAdminAccount'
http POST '{{baseUrl}}/?Action=&Version=#Action=EnableIpamOrganizationAdminAccount'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=EnableIpamOrganizationAdminAccount'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=EnableIpamOrganizationAdminAccount")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_EnableReachabilityAnalyzerOrganizationSharing
{{baseUrl}}/#Action=EnableReachabilityAnalyzerOrganizationSharing
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=EnableReachabilityAnalyzerOrganizationSharing" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableReachabilityAnalyzerOrganizationSharing',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableReachabilityAnalyzerOrganizationSharing',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=EnableReachabilityAnalyzerOrganizationSharing');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableReachabilityAnalyzerOrganizationSharing',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=EnableReachabilityAnalyzerOrganizationSharing');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=EnableReachabilityAnalyzerOrganizationSharing');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=EnableReachabilityAnalyzerOrganizationSharing"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=EnableReachabilityAnalyzerOrganizationSharing"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=EnableReachabilityAnalyzerOrganizationSharing";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing'
http POST '{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=EnableReachabilityAnalyzerOrganizationSharing")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_EnableSerialConsoleAccess
{{baseUrl}}/#Action=EnableSerialConsoleAccess
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=EnableSerialConsoleAccess" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableSerialConsoleAccess',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableSerialConsoleAccess',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=EnableSerialConsoleAccess');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableSerialConsoleAccess',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=EnableSerialConsoleAccess');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=EnableSerialConsoleAccess');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=EnableSerialConsoleAccess"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=EnableSerialConsoleAccess"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=EnableSerialConsoleAccess";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess'
http POST '{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=EnableSerialConsoleAccess")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_EnableTransitGatewayRouteTablePropagation
{{baseUrl}}/#Action=EnableTransitGatewayRouteTablePropagation
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=EnableTransitGatewayRouteTablePropagation" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableTransitGatewayRouteTablePropagation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableTransitGatewayRouteTablePropagation',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=EnableTransitGatewayRouteTablePropagation');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableTransitGatewayRouteTablePropagation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=EnableTransitGatewayRouteTablePropagation');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=EnableTransitGatewayRouteTablePropagation');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=EnableTransitGatewayRouteTablePropagation"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=EnableTransitGatewayRouteTablePropagation"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=EnableTransitGatewayRouteTablePropagation";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation'
http POST '{{baseUrl}}/?Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=EnableTransitGatewayRouteTablePropagation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_EnableVgwRoutePropagation
{{baseUrl}}/#Action=EnableVgwRoutePropagation
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=EnableVgwRoutePropagation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=EnableVgwRoutePropagation" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=EnableVgwRoutePropagation"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=EnableVgwRoutePropagation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=EnableVgwRoutePropagation");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=EnableVgwRoutePropagation"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=EnableVgwRoutePropagation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=EnableVgwRoutePropagation"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableVgwRoutePropagation")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=EnableVgwRoutePropagation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=EnableVgwRoutePropagation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableVgwRoutePropagation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableVgwRoutePropagation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=EnableVgwRoutePropagation',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableVgwRoutePropagation")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableVgwRoutePropagation',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=EnableVgwRoutePropagation');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableVgwRoutePropagation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableVgwRoutePropagation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=EnableVgwRoutePropagation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=EnableVgwRoutePropagation" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=EnableVgwRoutePropagation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=EnableVgwRoutePropagation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=EnableVgwRoutePropagation');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=EnableVgwRoutePropagation');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableVgwRoutePropagation' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableVgwRoutePropagation' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=EnableVgwRoutePropagation"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=EnableVgwRoutePropagation"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=EnableVgwRoutePropagation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=EnableVgwRoutePropagation";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=EnableVgwRoutePropagation'
http POST '{{baseUrl}}/?Action=&Version=#Action=EnableVgwRoutePropagation'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=EnableVgwRoutePropagation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=EnableVgwRoutePropagation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_EnableVolumeIO
{{baseUrl}}/#Action=EnableVolumeIO
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=EnableVolumeIO");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=EnableVolumeIO" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=EnableVolumeIO"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=EnableVolumeIO"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=EnableVolumeIO");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=EnableVolumeIO"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=EnableVolumeIO")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=EnableVolumeIO"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableVolumeIO")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=EnableVolumeIO")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=EnableVolumeIO');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableVolumeIO',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableVolumeIO';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=EnableVolumeIO',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableVolumeIO")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableVolumeIO',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=EnableVolumeIO');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableVolumeIO',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableVolumeIO';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=EnableVolumeIO"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=EnableVolumeIO" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=EnableVolumeIO",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=EnableVolumeIO');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=EnableVolumeIO');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=EnableVolumeIO');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableVolumeIO' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableVolumeIO' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=EnableVolumeIO"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=EnableVolumeIO"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=EnableVolumeIO")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=EnableVolumeIO";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=EnableVolumeIO'
http POST '{{baseUrl}}/?Action=&Version=#Action=EnableVolumeIO'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=EnableVolumeIO'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=EnableVolumeIO")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_EnableVpcClassicLink
{{baseUrl}}/#Action=EnableVpcClassicLink
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLink");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=EnableVpcClassicLink" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLink"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLink"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLink");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLink"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLink")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLink"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLink")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLink")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLink');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableVpcClassicLink',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLink';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLink',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLink")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableVpcClassicLink',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=EnableVpcClassicLink');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableVpcClassicLink',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLink';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLink"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLink" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLink",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLink');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=EnableVpcClassicLink');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=EnableVpcClassicLink');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLink' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLink' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=EnableVpcClassicLink"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=EnableVpcClassicLink"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLink")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=EnableVpcClassicLink";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLink'
http POST '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLink'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLink'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLink")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_EnableVpcClassicLinkDnsSupport
{{baseUrl}}/#Action=EnableVpcClassicLinkDnsSupport
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=EnableVpcClassicLinkDnsSupport" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableVpcClassicLinkDnsSupport',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableVpcClassicLinkDnsSupport',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=EnableVpcClassicLinkDnsSupport');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=EnableVpcClassicLinkDnsSupport',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=EnableVpcClassicLinkDnsSupport');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=EnableVpcClassicLinkDnsSupport');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=EnableVpcClassicLinkDnsSupport"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=EnableVpcClassicLinkDnsSupport"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=EnableVpcClassicLinkDnsSupport";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport'
http POST '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=EnableVpcClassicLinkDnsSupport")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ExportClientVpnClientCertificateRevocationList
{{baseUrl}}/#Action=ExportClientVpnClientCertificateRevocationList
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ExportClientVpnClientCertificateRevocationList" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ExportClientVpnClientCertificateRevocationList',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ExportClientVpnClientCertificateRevocationList',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ExportClientVpnClientCertificateRevocationList');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ExportClientVpnClientCertificateRevocationList',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ExportClientVpnClientCertificateRevocationList');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ExportClientVpnClientCertificateRevocationList');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ExportClientVpnClientCertificateRevocationList"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ExportClientVpnClientCertificateRevocationList"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ExportClientVpnClientCertificateRevocationList";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList'
http POST '{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientCertificateRevocationList")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ExportClientVpnClientConfiguration
{{baseUrl}}/#Action=ExportClientVpnClientConfiguration
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientConfiguration");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ExportClientVpnClientConfiguration" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientConfiguration"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientConfiguration"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientConfiguration");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientConfiguration"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientConfiguration")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientConfiguration"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientConfiguration")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientConfiguration")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientConfiguration');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ExportClientVpnClientConfiguration',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientConfiguration';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientConfiguration',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientConfiguration")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ExportClientVpnClientConfiguration',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ExportClientVpnClientConfiguration');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ExportClientVpnClientConfiguration',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientConfiguration';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientConfiguration"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientConfiguration" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientConfiguration",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientConfiguration');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ExportClientVpnClientConfiguration');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ExportClientVpnClientConfiguration');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientConfiguration' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientConfiguration' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ExportClientVpnClientConfiguration"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ExportClientVpnClientConfiguration"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientConfiguration")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ExportClientVpnClientConfiguration";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientConfiguration'
http POST '{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientConfiguration'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientConfiguration'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ExportClientVpnClientConfiguration")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ExportImage
{{baseUrl}}/#Action=ExportImage
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ExportImage");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ExportImage" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ExportImage"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ExportImage"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ExportImage");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ExportImage"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ExportImage")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ExportImage"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ExportImage")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ExportImage")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ExportImage');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ExportImage',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ExportImage';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ExportImage',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ExportImage")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ExportImage',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ExportImage');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ExportImage',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ExportImage';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ExportImage"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ExportImage" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ExportImage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ExportImage');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ExportImage');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ExportImage');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ExportImage' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ExportImage' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ExportImage"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ExportImage"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ExportImage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ExportImage";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ExportImage'
http POST '{{baseUrl}}/?Action=&Version=#Action=ExportImage'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ExportImage'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ExportImage")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ExportTransitGatewayRoutes
{{baseUrl}}/#Action=ExportTransitGatewayRoutes
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ExportTransitGatewayRoutes");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ExportTransitGatewayRoutes" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ExportTransitGatewayRoutes"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ExportTransitGatewayRoutes"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ExportTransitGatewayRoutes");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ExportTransitGatewayRoutes"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ExportTransitGatewayRoutes")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ExportTransitGatewayRoutes"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ExportTransitGatewayRoutes")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ExportTransitGatewayRoutes")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ExportTransitGatewayRoutes');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ExportTransitGatewayRoutes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ExportTransitGatewayRoutes';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ExportTransitGatewayRoutes',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ExportTransitGatewayRoutes")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ExportTransitGatewayRoutes',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ExportTransitGatewayRoutes');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ExportTransitGatewayRoutes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ExportTransitGatewayRoutes';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ExportTransitGatewayRoutes"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ExportTransitGatewayRoutes" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ExportTransitGatewayRoutes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ExportTransitGatewayRoutes');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ExportTransitGatewayRoutes');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ExportTransitGatewayRoutes');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ExportTransitGatewayRoutes' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ExportTransitGatewayRoutes' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ExportTransitGatewayRoutes"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ExportTransitGatewayRoutes"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ExportTransitGatewayRoutes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ExportTransitGatewayRoutes";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ExportTransitGatewayRoutes'
http POST '{{baseUrl}}/?Action=&Version=#Action=ExportTransitGatewayRoutes'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ExportTransitGatewayRoutes'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ExportTransitGatewayRoutes")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetAssociatedEnclaveCertificateIamRoles
{{baseUrl}}/#Action=GetAssociatedEnclaveCertificateIamRoles
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetAssociatedEnclaveCertificateIamRoles" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetAssociatedEnclaveCertificateIamRoles',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetAssociatedEnclaveCertificateIamRoles',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetAssociatedEnclaveCertificateIamRoles');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetAssociatedEnclaveCertificateIamRoles',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetAssociatedEnclaveCertificateIamRoles');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetAssociatedEnclaveCertificateIamRoles');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetAssociatedEnclaveCertificateIamRoles"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetAssociatedEnclaveCertificateIamRoles"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetAssociatedEnclaveCertificateIamRoles";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetAssociatedEnclaveCertificateIamRoles")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetAssociatedIpv6PoolCidrs
{{baseUrl}}/#Action=GetAssociatedIpv6PoolCidrs
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetAssociatedIpv6PoolCidrs");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetAssociatedIpv6PoolCidrs" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetAssociatedIpv6PoolCidrs"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetAssociatedIpv6PoolCidrs"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetAssociatedIpv6PoolCidrs");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetAssociatedIpv6PoolCidrs"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetAssociatedIpv6PoolCidrs")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetAssociatedIpv6PoolCidrs"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetAssociatedIpv6PoolCidrs")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetAssociatedIpv6PoolCidrs")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetAssociatedIpv6PoolCidrs');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetAssociatedIpv6PoolCidrs',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetAssociatedIpv6PoolCidrs';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetAssociatedIpv6PoolCidrs',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetAssociatedIpv6PoolCidrs")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetAssociatedIpv6PoolCidrs',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetAssociatedIpv6PoolCidrs');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetAssociatedIpv6PoolCidrs',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetAssociatedIpv6PoolCidrs';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetAssociatedIpv6PoolCidrs"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetAssociatedIpv6PoolCidrs" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetAssociatedIpv6PoolCidrs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetAssociatedIpv6PoolCidrs');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetAssociatedIpv6PoolCidrs');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetAssociatedIpv6PoolCidrs');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetAssociatedIpv6PoolCidrs' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetAssociatedIpv6PoolCidrs' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetAssociatedIpv6PoolCidrs"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetAssociatedIpv6PoolCidrs"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetAssociatedIpv6PoolCidrs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetAssociatedIpv6PoolCidrs";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetAssociatedIpv6PoolCidrs'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetAssociatedIpv6PoolCidrs'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetAssociatedIpv6PoolCidrs'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetAssociatedIpv6PoolCidrs")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetAwsNetworkPerformanceData
{{baseUrl}}/#Action=GetAwsNetworkPerformanceData
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetAwsNetworkPerformanceData" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetAwsNetworkPerformanceData',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetAwsNetworkPerformanceData',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetAwsNetworkPerformanceData');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetAwsNetworkPerformanceData',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetAwsNetworkPerformanceData');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetAwsNetworkPerformanceData');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetAwsNetworkPerformanceData"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetAwsNetworkPerformanceData"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetAwsNetworkPerformanceData";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetAwsNetworkPerformanceData")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetCapacityReservationUsage
{{baseUrl}}/#Action=GetCapacityReservationUsage
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetCapacityReservationUsage");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetCapacityReservationUsage" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetCapacityReservationUsage"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetCapacityReservationUsage"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetCapacityReservationUsage");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetCapacityReservationUsage"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetCapacityReservationUsage")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetCapacityReservationUsage"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetCapacityReservationUsage")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetCapacityReservationUsage")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetCapacityReservationUsage');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetCapacityReservationUsage',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetCapacityReservationUsage';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetCapacityReservationUsage',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetCapacityReservationUsage")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetCapacityReservationUsage',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetCapacityReservationUsage');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetCapacityReservationUsage',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetCapacityReservationUsage';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetCapacityReservationUsage"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetCapacityReservationUsage" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetCapacityReservationUsage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetCapacityReservationUsage');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetCapacityReservationUsage');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetCapacityReservationUsage');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetCapacityReservationUsage' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetCapacityReservationUsage' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetCapacityReservationUsage"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetCapacityReservationUsage"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetCapacityReservationUsage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetCapacityReservationUsage";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetCapacityReservationUsage'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetCapacityReservationUsage'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetCapacityReservationUsage'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetCapacityReservationUsage")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetCoipPoolUsage
{{baseUrl}}/#Action=GetCoipPoolUsage
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetCoipPoolUsage");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetCoipPoolUsage" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetCoipPoolUsage"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetCoipPoolUsage"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetCoipPoolUsage");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetCoipPoolUsage"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetCoipPoolUsage")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetCoipPoolUsage"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetCoipPoolUsage")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetCoipPoolUsage")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetCoipPoolUsage');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetCoipPoolUsage',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetCoipPoolUsage';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetCoipPoolUsage',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetCoipPoolUsage")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetCoipPoolUsage',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetCoipPoolUsage');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetCoipPoolUsage',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetCoipPoolUsage';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetCoipPoolUsage"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetCoipPoolUsage" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetCoipPoolUsage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetCoipPoolUsage');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetCoipPoolUsage');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetCoipPoolUsage');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetCoipPoolUsage' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetCoipPoolUsage' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetCoipPoolUsage"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetCoipPoolUsage"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetCoipPoolUsage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetCoipPoolUsage";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetCoipPoolUsage'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetCoipPoolUsage'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetCoipPoolUsage'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetCoipPoolUsage")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetConsoleOutput
{{baseUrl}}/#Action=GetConsoleOutput
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetConsoleOutput");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetConsoleOutput" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetConsoleOutput"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetConsoleOutput"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetConsoleOutput");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetConsoleOutput"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetConsoleOutput")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetConsoleOutput"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetConsoleOutput")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetConsoleOutput")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetConsoleOutput');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetConsoleOutput',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetConsoleOutput';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetConsoleOutput',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetConsoleOutput")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetConsoleOutput',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetConsoleOutput');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetConsoleOutput',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetConsoleOutput';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetConsoleOutput"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetConsoleOutput" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetConsoleOutput",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetConsoleOutput');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetConsoleOutput');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetConsoleOutput');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetConsoleOutput' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetConsoleOutput' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetConsoleOutput"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetConsoleOutput"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetConsoleOutput")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetConsoleOutput";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetConsoleOutput'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetConsoleOutput'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetConsoleOutput'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetConsoleOutput")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"InstanceId": "i-1234567890abcdef0",
"Output": "...",
"Timestamp": "2018-05-25T21:23:53.000Z"
}
POST
POST_GetConsoleScreenshot
{{baseUrl}}/#Action=GetConsoleScreenshot
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetConsoleScreenshot");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetConsoleScreenshot" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetConsoleScreenshot"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetConsoleScreenshot"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetConsoleScreenshot");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetConsoleScreenshot"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetConsoleScreenshot")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetConsoleScreenshot"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetConsoleScreenshot")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetConsoleScreenshot")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetConsoleScreenshot');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetConsoleScreenshot',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetConsoleScreenshot';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetConsoleScreenshot',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetConsoleScreenshot")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetConsoleScreenshot',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetConsoleScreenshot');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetConsoleScreenshot',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetConsoleScreenshot';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetConsoleScreenshot"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetConsoleScreenshot" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetConsoleScreenshot",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetConsoleScreenshot');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetConsoleScreenshot');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetConsoleScreenshot');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetConsoleScreenshot' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetConsoleScreenshot' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetConsoleScreenshot"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetConsoleScreenshot"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetConsoleScreenshot")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetConsoleScreenshot";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetConsoleScreenshot'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetConsoleScreenshot'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetConsoleScreenshot'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetConsoleScreenshot")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetDefaultCreditSpecification
{{baseUrl}}/#Action=GetDefaultCreditSpecification
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetDefaultCreditSpecification");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetDefaultCreditSpecification" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetDefaultCreditSpecification"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetDefaultCreditSpecification"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetDefaultCreditSpecification");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetDefaultCreditSpecification"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetDefaultCreditSpecification")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetDefaultCreditSpecification"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetDefaultCreditSpecification")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetDefaultCreditSpecification")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetDefaultCreditSpecification');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetDefaultCreditSpecification',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetDefaultCreditSpecification';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetDefaultCreditSpecification',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetDefaultCreditSpecification")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetDefaultCreditSpecification',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetDefaultCreditSpecification');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetDefaultCreditSpecification',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetDefaultCreditSpecification';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetDefaultCreditSpecification"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetDefaultCreditSpecification" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetDefaultCreditSpecification",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetDefaultCreditSpecification');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetDefaultCreditSpecification');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetDefaultCreditSpecification');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetDefaultCreditSpecification' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetDefaultCreditSpecification' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetDefaultCreditSpecification"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetDefaultCreditSpecification"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetDefaultCreditSpecification")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetDefaultCreditSpecification";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetDefaultCreditSpecification'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetDefaultCreditSpecification'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetDefaultCreditSpecification'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetDefaultCreditSpecification")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetEbsDefaultKmsKeyId
{{baseUrl}}/#Action=GetEbsDefaultKmsKeyId
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetEbsDefaultKmsKeyId" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetEbsDefaultKmsKeyId',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetEbsDefaultKmsKeyId',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetEbsDefaultKmsKeyId');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetEbsDefaultKmsKeyId',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetEbsDefaultKmsKeyId');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetEbsDefaultKmsKeyId');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetEbsDefaultKmsKeyId"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetEbsDefaultKmsKeyId"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetEbsDefaultKmsKeyId";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetEbsDefaultKmsKeyId")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetEbsEncryptionByDefault
{{baseUrl}}/#Action=GetEbsEncryptionByDefault
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetEbsEncryptionByDefault" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetEbsEncryptionByDefault',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetEbsEncryptionByDefault',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetEbsEncryptionByDefault');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetEbsEncryptionByDefault',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetEbsEncryptionByDefault');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetEbsEncryptionByDefault');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetEbsEncryptionByDefault"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetEbsEncryptionByDefault"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetEbsEncryptionByDefault";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetEbsEncryptionByDefault")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetFlowLogsIntegrationTemplate
{{baseUrl}}/#Action=GetFlowLogsIntegrationTemplate
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetFlowLogsIntegrationTemplate");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetFlowLogsIntegrationTemplate" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetFlowLogsIntegrationTemplate"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetFlowLogsIntegrationTemplate"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetFlowLogsIntegrationTemplate");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetFlowLogsIntegrationTemplate"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetFlowLogsIntegrationTemplate")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetFlowLogsIntegrationTemplate"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetFlowLogsIntegrationTemplate")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetFlowLogsIntegrationTemplate")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetFlowLogsIntegrationTemplate');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetFlowLogsIntegrationTemplate',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetFlowLogsIntegrationTemplate';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetFlowLogsIntegrationTemplate',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetFlowLogsIntegrationTemplate")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetFlowLogsIntegrationTemplate',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetFlowLogsIntegrationTemplate');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetFlowLogsIntegrationTemplate',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetFlowLogsIntegrationTemplate';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetFlowLogsIntegrationTemplate"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetFlowLogsIntegrationTemplate" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetFlowLogsIntegrationTemplate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetFlowLogsIntegrationTemplate');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetFlowLogsIntegrationTemplate');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetFlowLogsIntegrationTemplate');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetFlowLogsIntegrationTemplate' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetFlowLogsIntegrationTemplate' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetFlowLogsIntegrationTemplate"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetFlowLogsIntegrationTemplate"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetFlowLogsIntegrationTemplate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetFlowLogsIntegrationTemplate";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetFlowLogsIntegrationTemplate'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetFlowLogsIntegrationTemplate'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetFlowLogsIntegrationTemplate'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetFlowLogsIntegrationTemplate")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetGroupsForCapacityReservation
{{baseUrl}}/#Action=GetGroupsForCapacityReservation
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetGroupsForCapacityReservation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetGroupsForCapacityReservation" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetGroupsForCapacityReservation"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetGroupsForCapacityReservation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetGroupsForCapacityReservation");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetGroupsForCapacityReservation"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetGroupsForCapacityReservation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetGroupsForCapacityReservation"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetGroupsForCapacityReservation")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetGroupsForCapacityReservation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetGroupsForCapacityReservation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetGroupsForCapacityReservation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetGroupsForCapacityReservation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetGroupsForCapacityReservation',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetGroupsForCapacityReservation")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetGroupsForCapacityReservation',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetGroupsForCapacityReservation');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetGroupsForCapacityReservation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetGroupsForCapacityReservation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetGroupsForCapacityReservation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetGroupsForCapacityReservation" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetGroupsForCapacityReservation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetGroupsForCapacityReservation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetGroupsForCapacityReservation');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetGroupsForCapacityReservation');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetGroupsForCapacityReservation' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetGroupsForCapacityReservation' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetGroupsForCapacityReservation"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetGroupsForCapacityReservation"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetGroupsForCapacityReservation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetGroupsForCapacityReservation";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetGroupsForCapacityReservation'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetGroupsForCapacityReservation'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetGroupsForCapacityReservation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetGroupsForCapacityReservation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetHostReservationPurchasePreview
{{baseUrl}}/#Action=GetHostReservationPurchasePreview
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetHostReservationPurchasePreview");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetHostReservationPurchasePreview" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetHostReservationPurchasePreview"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetHostReservationPurchasePreview"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetHostReservationPurchasePreview");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetHostReservationPurchasePreview"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetHostReservationPurchasePreview")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetHostReservationPurchasePreview"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetHostReservationPurchasePreview")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetHostReservationPurchasePreview")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetHostReservationPurchasePreview');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetHostReservationPurchasePreview',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetHostReservationPurchasePreview';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetHostReservationPurchasePreview',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetHostReservationPurchasePreview")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetHostReservationPurchasePreview',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetHostReservationPurchasePreview');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetHostReservationPurchasePreview',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetHostReservationPurchasePreview';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetHostReservationPurchasePreview"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetHostReservationPurchasePreview" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetHostReservationPurchasePreview",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetHostReservationPurchasePreview');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetHostReservationPurchasePreview');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetHostReservationPurchasePreview');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetHostReservationPurchasePreview' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetHostReservationPurchasePreview' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetHostReservationPurchasePreview"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetHostReservationPurchasePreview"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetHostReservationPurchasePreview")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetHostReservationPurchasePreview";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetHostReservationPurchasePreview'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetHostReservationPurchasePreview'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetHostReservationPurchasePreview'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetHostReservationPurchasePreview")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetInstanceTypesFromInstanceRequirements
{{baseUrl}}/#Action=GetInstanceTypesFromInstanceRequirements
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetInstanceTypesFromInstanceRequirements" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetInstanceTypesFromInstanceRequirements',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetInstanceTypesFromInstanceRequirements',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetInstanceTypesFromInstanceRequirements');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetInstanceTypesFromInstanceRequirements',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetInstanceTypesFromInstanceRequirements');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetInstanceTypesFromInstanceRequirements');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetInstanceTypesFromInstanceRequirements"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetInstanceTypesFromInstanceRequirements"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetInstanceTypesFromInstanceRequirements";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetInstanceTypesFromInstanceRequirements")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetInstanceUefiData
{{baseUrl}}/#Action=GetInstanceUefiData
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetInstanceUefiData");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetInstanceUefiData" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetInstanceUefiData"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetInstanceUefiData"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetInstanceUefiData");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetInstanceUefiData"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetInstanceUefiData")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetInstanceUefiData"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetInstanceUefiData")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetInstanceUefiData")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetInstanceUefiData');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetInstanceUefiData',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetInstanceUefiData';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetInstanceUefiData',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetInstanceUefiData")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetInstanceUefiData',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetInstanceUefiData');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetInstanceUefiData',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetInstanceUefiData';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetInstanceUefiData"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetInstanceUefiData" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetInstanceUefiData",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetInstanceUefiData');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetInstanceUefiData');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetInstanceUefiData');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetInstanceUefiData' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetInstanceUefiData' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetInstanceUefiData"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetInstanceUefiData"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetInstanceUefiData")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetInstanceUefiData";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetInstanceUefiData'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetInstanceUefiData'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetInstanceUefiData'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetInstanceUefiData")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetIpamAddressHistory
{{baseUrl}}/#Action=GetIpamAddressHistory
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetIpamAddressHistory");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetIpamAddressHistory" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetIpamAddressHistory"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetIpamAddressHistory"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetIpamAddressHistory");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetIpamAddressHistory"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetIpamAddressHistory")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetIpamAddressHistory"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetIpamAddressHistory")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetIpamAddressHistory")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetIpamAddressHistory');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetIpamAddressHistory',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetIpamAddressHistory';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetIpamAddressHistory',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetIpamAddressHistory")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetIpamAddressHistory',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetIpamAddressHistory');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetIpamAddressHistory',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetIpamAddressHistory';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetIpamAddressHistory"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetIpamAddressHistory" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetIpamAddressHistory",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetIpamAddressHistory');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetIpamAddressHistory');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetIpamAddressHistory');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetIpamAddressHistory' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetIpamAddressHistory' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetIpamAddressHistory"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetIpamAddressHistory"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetIpamAddressHistory")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetIpamAddressHistory";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetIpamAddressHistory'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetIpamAddressHistory'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetIpamAddressHistory'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetIpamAddressHistory")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetIpamDiscoveredAccounts
{{baseUrl}}/#Action=GetIpamDiscoveredAccounts
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredAccounts");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetIpamDiscoveredAccounts" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredAccounts"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredAccounts"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredAccounts");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredAccounts"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredAccounts")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredAccounts"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredAccounts")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredAccounts")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredAccounts');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetIpamDiscoveredAccounts',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredAccounts';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredAccounts',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredAccounts")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetIpamDiscoveredAccounts',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetIpamDiscoveredAccounts');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetIpamDiscoveredAccounts',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredAccounts';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredAccounts"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredAccounts" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredAccounts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredAccounts');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetIpamDiscoveredAccounts');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetIpamDiscoveredAccounts');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredAccounts' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredAccounts' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetIpamDiscoveredAccounts"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetIpamDiscoveredAccounts"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredAccounts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetIpamDiscoveredAccounts";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredAccounts'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredAccounts'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredAccounts'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredAccounts")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetIpamDiscoveredResourceCidrs
{{baseUrl}}/#Action=GetIpamDiscoveredResourceCidrs
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredResourceCidrs");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetIpamDiscoveredResourceCidrs" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredResourceCidrs"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredResourceCidrs"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredResourceCidrs");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredResourceCidrs"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredResourceCidrs")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredResourceCidrs"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredResourceCidrs")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredResourceCidrs")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredResourceCidrs');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetIpamDiscoveredResourceCidrs',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredResourceCidrs';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredResourceCidrs',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredResourceCidrs")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetIpamDiscoveredResourceCidrs',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetIpamDiscoveredResourceCidrs');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetIpamDiscoveredResourceCidrs',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredResourceCidrs';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredResourceCidrs"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredResourceCidrs" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredResourceCidrs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredResourceCidrs');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetIpamDiscoveredResourceCidrs');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetIpamDiscoveredResourceCidrs');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredResourceCidrs' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredResourceCidrs' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetIpamDiscoveredResourceCidrs"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetIpamDiscoveredResourceCidrs"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredResourceCidrs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetIpamDiscoveredResourceCidrs";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredResourceCidrs'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredResourceCidrs'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredResourceCidrs'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetIpamDiscoveredResourceCidrs")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetIpamPoolAllocations
{{baseUrl}}/#Action=GetIpamPoolAllocations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolAllocations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetIpamPoolAllocations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolAllocations"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolAllocations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolAllocations");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolAllocations"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolAllocations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolAllocations"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolAllocations")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolAllocations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolAllocations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetIpamPoolAllocations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolAllocations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolAllocations',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolAllocations")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetIpamPoolAllocations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetIpamPoolAllocations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetIpamPoolAllocations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolAllocations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolAllocations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolAllocations" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolAllocations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolAllocations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetIpamPoolAllocations');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetIpamPoolAllocations');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolAllocations' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolAllocations' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetIpamPoolAllocations"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetIpamPoolAllocations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolAllocations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetIpamPoolAllocations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolAllocations'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolAllocations'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolAllocations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolAllocations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetIpamPoolCidrs
{{baseUrl}}/#Action=GetIpamPoolCidrs
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolCidrs");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetIpamPoolCidrs" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolCidrs"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolCidrs"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolCidrs");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolCidrs"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolCidrs")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolCidrs"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolCidrs")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolCidrs")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolCidrs');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetIpamPoolCidrs',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolCidrs';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolCidrs',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolCidrs")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetIpamPoolCidrs',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetIpamPoolCidrs');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetIpamPoolCidrs',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolCidrs';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolCidrs"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolCidrs" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolCidrs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolCidrs');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetIpamPoolCidrs');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetIpamPoolCidrs');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolCidrs' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolCidrs' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetIpamPoolCidrs"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetIpamPoolCidrs"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolCidrs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetIpamPoolCidrs";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolCidrs'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolCidrs'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolCidrs'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetIpamPoolCidrs")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetIpamResourceCidrs
{{baseUrl}}/#Action=GetIpamResourceCidrs
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetIpamResourceCidrs");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetIpamResourceCidrs" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetIpamResourceCidrs"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetIpamResourceCidrs"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetIpamResourceCidrs");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetIpamResourceCidrs"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetIpamResourceCidrs")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetIpamResourceCidrs"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetIpamResourceCidrs")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetIpamResourceCidrs")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetIpamResourceCidrs');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetIpamResourceCidrs',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetIpamResourceCidrs';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetIpamResourceCidrs',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetIpamResourceCidrs")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetIpamResourceCidrs',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetIpamResourceCidrs');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetIpamResourceCidrs',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetIpamResourceCidrs';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetIpamResourceCidrs"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetIpamResourceCidrs" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetIpamResourceCidrs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetIpamResourceCidrs');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetIpamResourceCidrs');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetIpamResourceCidrs');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetIpamResourceCidrs' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetIpamResourceCidrs' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetIpamResourceCidrs"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetIpamResourceCidrs"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetIpamResourceCidrs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetIpamResourceCidrs";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetIpamResourceCidrs'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetIpamResourceCidrs'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetIpamResourceCidrs'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetIpamResourceCidrs")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetLaunchTemplateData
{{baseUrl}}/#Action=GetLaunchTemplateData
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetLaunchTemplateData");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetLaunchTemplateData" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetLaunchTemplateData"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetLaunchTemplateData"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetLaunchTemplateData");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetLaunchTemplateData"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetLaunchTemplateData")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetLaunchTemplateData"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetLaunchTemplateData")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetLaunchTemplateData")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetLaunchTemplateData');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetLaunchTemplateData',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetLaunchTemplateData';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetLaunchTemplateData',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetLaunchTemplateData")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetLaunchTemplateData',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetLaunchTemplateData');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetLaunchTemplateData',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetLaunchTemplateData';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetLaunchTemplateData"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetLaunchTemplateData" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetLaunchTemplateData",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetLaunchTemplateData');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetLaunchTemplateData');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetLaunchTemplateData');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetLaunchTemplateData' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetLaunchTemplateData' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetLaunchTemplateData"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetLaunchTemplateData"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetLaunchTemplateData")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetLaunchTemplateData";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetLaunchTemplateData'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetLaunchTemplateData'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetLaunchTemplateData'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetLaunchTemplateData")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"LaunchTemplateData": {
"BlockDeviceMappings": [
{
"DeviceName": "/dev/xvda",
"Ebs": {
"DeleteOnTermination": true,
"Encrypted": false,
"Iops": 100,
"SnapshotId": "snap-02594938353ef77d3",
"VolumeSize": 8,
"VolumeType": "gp2"
}
}
],
"EbsOptimized": false,
"ImageId": "ami-32cf7b4a",
"InstanceType": "t2.medium",
"KeyName": "my-key-pair",
"Monitoring": {
"Enabled": false
},
"NetworkInterfaces": [
{
"AssociatePublicIpAddress": false,
"DeleteOnTermination": true,
"Description": "",
"DeviceIndex": 0,
"Groups": [
"sg-d14e1bb4"
],
"Ipv6Addresses": [],
"NetworkInterfaceId": "eni-4338b5a9",
"PrivateIpAddress": "10.0.3.233",
"PrivateIpAddresses": [
{
"Primary": true,
"PrivateIpAddress": "10.0.3.233"
}
],
"SubnetId": "subnet-5264e837"
}
],
"Placement": {
"AvailabilityZone": "us-east-2b",
"GroupName": "",
"Tenancy": "default"
}
}
}
POST
POST_GetManagedPrefixListAssociations
{{baseUrl}}/#Action=GetManagedPrefixListAssociations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListAssociations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetManagedPrefixListAssociations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListAssociations"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListAssociations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListAssociations");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListAssociations"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListAssociations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListAssociations"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListAssociations")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListAssociations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListAssociations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetManagedPrefixListAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListAssociations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListAssociations',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListAssociations")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetManagedPrefixListAssociations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetManagedPrefixListAssociations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetManagedPrefixListAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListAssociations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListAssociations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListAssociations" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListAssociations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListAssociations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetManagedPrefixListAssociations');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetManagedPrefixListAssociations');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListAssociations' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListAssociations' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetManagedPrefixListAssociations"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetManagedPrefixListAssociations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListAssociations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetManagedPrefixListAssociations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListAssociations'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListAssociations'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListAssociations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListAssociations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetManagedPrefixListEntries
{{baseUrl}}/#Action=GetManagedPrefixListEntries
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListEntries");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetManagedPrefixListEntries" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListEntries"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListEntries"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListEntries");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListEntries"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListEntries")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListEntries"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListEntries")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListEntries")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListEntries');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetManagedPrefixListEntries',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListEntries';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListEntries',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListEntries")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetManagedPrefixListEntries',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetManagedPrefixListEntries');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetManagedPrefixListEntries',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListEntries';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListEntries"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListEntries" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListEntries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListEntries');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetManagedPrefixListEntries');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetManagedPrefixListEntries');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListEntries' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListEntries' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetManagedPrefixListEntries"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetManagedPrefixListEntries"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListEntries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetManagedPrefixListEntries";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListEntries'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListEntries'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListEntries'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetManagedPrefixListEntries")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetNetworkInsightsAccessScopeAnalysisFindings
{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeAnalysisFindings
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeAnalysisFindings" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeAnalysisFindings',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeAnalysisFindings',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeAnalysisFindings');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeAnalysisFindings',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeAnalysisFindings');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeAnalysisFindings');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeAnalysisFindings"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeAnalysisFindings"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeAnalysisFindings";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeAnalysisFindings")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetNetworkInsightsAccessScopeContent
{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeContent
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeContent");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeContent" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeContent"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeContent"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeContent");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeContent"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeContent")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeContent"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeContent")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeContent")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeContent');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeContent',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeContent';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeContent',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeContent")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeContent',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeContent');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeContent',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeContent';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeContent"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeContent" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeContent",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeContent');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeContent');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeContent');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeContent' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeContent' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeContent"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeContent"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeContent")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetNetworkInsightsAccessScopeContent";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeContent'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeContent'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeContent'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetNetworkInsightsAccessScopeContent")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetPasswordData
{{baseUrl}}/#Action=GetPasswordData
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetPasswordData");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetPasswordData" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetPasswordData"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetPasswordData"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetPasswordData");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetPasswordData"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetPasswordData")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetPasswordData"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetPasswordData")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetPasswordData")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetPasswordData');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetPasswordData',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetPasswordData';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetPasswordData',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetPasswordData")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetPasswordData',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetPasswordData');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetPasswordData',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetPasswordData';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetPasswordData"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetPasswordData" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetPasswordData",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetPasswordData');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetPasswordData');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetPasswordData');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetPasswordData' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetPasswordData' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetPasswordData"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetPasswordData"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetPasswordData")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetPasswordData";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetPasswordData'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetPasswordData'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetPasswordData'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetPasswordData")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetReservedInstancesExchangeQuote
{{baseUrl}}/#Action=GetReservedInstancesExchangeQuote
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetReservedInstancesExchangeQuote");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetReservedInstancesExchangeQuote" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetReservedInstancesExchangeQuote"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetReservedInstancesExchangeQuote"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetReservedInstancesExchangeQuote");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetReservedInstancesExchangeQuote"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetReservedInstancesExchangeQuote")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetReservedInstancesExchangeQuote"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetReservedInstancesExchangeQuote")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetReservedInstancesExchangeQuote")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetReservedInstancesExchangeQuote');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetReservedInstancesExchangeQuote',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetReservedInstancesExchangeQuote';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetReservedInstancesExchangeQuote',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetReservedInstancesExchangeQuote")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetReservedInstancesExchangeQuote',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetReservedInstancesExchangeQuote');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetReservedInstancesExchangeQuote',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetReservedInstancesExchangeQuote';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetReservedInstancesExchangeQuote"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetReservedInstancesExchangeQuote" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetReservedInstancesExchangeQuote",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetReservedInstancesExchangeQuote');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetReservedInstancesExchangeQuote');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetReservedInstancesExchangeQuote');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetReservedInstancesExchangeQuote' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetReservedInstancesExchangeQuote' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetReservedInstancesExchangeQuote"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetReservedInstancesExchangeQuote"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetReservedInstancesExchangeQuote")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetReservedInstancesExchangeQuote";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetReservedInstancesExchangeQuote'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetReservedInstancesExchangeQuote'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetReservedInstancesExchangeQuote'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetReservedInstancesExchangeQuote")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetSerialConsoleAccessStatus
{{baseUrl}}/#Action=GetSerialConsoleAccessStatus
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetSerialConsoleAccessStatus" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetSerialConsoleAccessStatus',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetSerialConsoleAccessStatus',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetSerialConsoleAccessStatus');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetSerialConsoleAccessStatus',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetSerialConsoleAccessStatus');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetSerialConsoleAccessStatus');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetSerialConsoleAccessStatus"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetSerialConsoleAccessStatus"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetSerialConsoleAccessStatus";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetSerialConsoleAccessStatus")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetSpotPlacementScores
{{baseUrl}}/#Action=GetSpotPlacementScores
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetSpotPlacementScores");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetSpotPlacementScores" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetSpotPlacementScores"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetSpotPlacementScores"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetSpotPlacementScores");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetSpotPlacementScores"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetSpotPlacementScores")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetSpotPlacementScores"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetSpotPlacementScores")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetSpotPlacementScores")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetSpotPlacementScores');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetSpotPlacementScores',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetSpotPlacementScores';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetSpotPlacementScores',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetSpotPlacementScores")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetSpotPlacementScores',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetSpotPlacementScores');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetSpotPlacementScores',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetSpotPlacementScores';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetSpotPlacementScores"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetSpotPlacementScores" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetSpotPlacementScores",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetSpotPlacementScores');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetSpotPlacementScores');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetSpotPlacementScores');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetSpotPlacementScores' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetSpotPlacementScores' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetSpotPlacementScores"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetSpotPlacementScores"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetSpotPlacementScores")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetSpotPlacementScores";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetSpotPlacementScores'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetSpotPlacementScores'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetSpotPlacementScores'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetSpotPlacementScores")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetSubnetCidrReservations
{{baseUrl}}/#Action=GetSubnetCidrReservations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetSubnetCidrReservations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetSubnetCidrReservations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetSubnetCidrReservations"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetSubnetCidrReservations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetSubnetCidrReservations");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetSubnetCidrReservations"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetSubnetCidrReservations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetSubnetCidrReservations"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetSubnetCidrReservations")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetSubnetCidrReservations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetSubnetCidrReservations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetSubnetCidrReservations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetSubnetCidrReservations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetSubnetCidrReservations',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetSubnetCidrReservations")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetSubnetCidrReservations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetSubnetCidrReservations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetSubnetCidrReservations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetSubnetCidrReservations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetSubnetCidrReservations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetSubnetCidrReservations" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetSubnetCidrReservations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetSubnetCidrReservations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetSubnetCidrReservations');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetSubnetCidrReservations');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetSubnetCidrReservations' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetSubnetCidrReservations' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetSubnetCidrReservations"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetSubnetCidrReservations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetSubnetCidrReservations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetSubnetCidrReservations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetSubnetCidrReservations'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetSubnetCidrReservations'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetSubnetCidrReservations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetSubnetCidrReservations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetTransitGatewayAttachmentPropagations
{{baseUrl}}/#Action=GetTransitGatewayAttachmentPropagations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayAttachmentPropagations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetTransitGatewayAttachmentPropagations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayAttachmentPropagations"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayAttachmentPropagations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayAttachmentPropagations");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayAttachmentPropagations"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayAttachmentPropagations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayAttachmentPropagations"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayAttachmentPropagations")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayAttachmentPropagations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayAttachmentPropagations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetTransitGatewayAttachmentPropagations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayAttachmentPropagations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayAttachmentPropagations',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayAttachmentPropagations")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetTransitGatewayAttachmentPropagations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetTransitGatewayAttachmentPropagations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetTransitGatewayAttachmentPropagations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayAttachmentPropagations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayAttachmentPropagations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayAttachmentPropagations" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayAttachmentPropagations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayAttachmentPropagations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetTransitGatewayAttachmentPropagations');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetTransitGatewayAttachmentPropagations');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayAttachmentPropagations' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayAttachmentPropagations' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetTransitGatewayAttachmentPropagations"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetTransitGatewayAttachmentPropagations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayAttachmentPropagations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetTransitGatewayAttachmentPropagations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayAttachmentPropagations'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayAttachmentPropagations'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayAttachmentPropagations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayAttachmentPropagations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetTransitGatewayMulticastDomainAssociations
{{baseUrl}}/#Action=GetTransitGatewayMulticastDomainAssociations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetTransitGatewayMulticastDomainAssociations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetTransitGatewayMulticastDomainAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetTransitGatewayMulticastDomainAssociations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetTransitGatewayMulticastDomainAssociations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetTransitGatewayMulticastDomainAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetTransitGatewayMulticastDomainAssociations');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetTransitGatewayMulticastDomainAssociations');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetTransitGatewayMulticastDomainAssociations"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetTransitGatewayMulticastDomainAssociations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetTransitGatewayMulticastDomainAssociations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayMulticastDomainAssociations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetTransitGatewayPolicyTableAssociations
{{baseUrl}}/#Action=GetTransitGatewayPolicyTableAssociations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetTransitGatewayPolicyTableAssociations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetTransitGatewayPolicyTableAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetTransitGatewayPolicyTableAssociations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetTransitGatewayPolicyTableAssociations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetTransitGatewayPolicyTableAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetTransitGatewayPolicyTableAssociations');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetTransitGatewayPolicyTableAssociations');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetTransitGatewayPolicyTableAssociations"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetTransitGatewayPolicyTableAssociations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetTransitGatewayPolicyTableAssociations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableAssociations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetTransitGatewayPolicyTableEntries
{{baseUrl}}/#Action=GetTransitGatewayPolicyTableEntries
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableEntries");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetTransitGatewayPolicyTableEntries" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableEntries"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableEntries"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableEntries");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableEntries"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableEntries")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableEntries"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableEntries")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableEntries")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableEntries');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetTransitGatewayPolicyTableEntries',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableEntries';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableEntries',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableEntries")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetTransitGatewayPolicyTableEntries',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetTransitGatewayPolicyTableEntries');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetTransitGatewayPolicyTableEntries',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableEntries';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableEntries"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableEntries" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableEntries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableEntries');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetTransitGatewayPolicyTableEntries');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetTransitGatewayPolicyTableEntries');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableEntries' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableEntries' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetTransitGatewayPolicyTableEntries"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetTransitGatewayPolicyTableEntries"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableEntries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetTransitGatewayPolicyTableEntries";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableEntries'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableEntries'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableEntries'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPolicyTableEntries")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetTransitGatewayPrefixListReferences
{{baseUrl}}/#Action=GetTransitGatewayPrefixListReferences
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPrefixListReferences");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetTransitGatewayPrefixListReferences" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPrefixListReferences"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPrefixListReferences"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPrefixListReferences");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPrefixListReferences"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPrefixListReferences")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPrefixListReferences"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPrefixListReferences")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPrefixListReferences")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPrefixListReferences');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetTransitGatewayPrefixListReferences',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPrefixListReferences';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPrefixListReferences',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPrefixListReferences")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetTransitGatewayPrefixListReferences',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetTransitGatewayPrefixListReferences');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetTransitGatewayPrefixListReferences',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPrefixListReferences';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPrefixListReferences"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPrefixListReferences" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPrefixListReferences",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPrefixListReferences');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetTransitGatewayPrefixListReferences');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetTransitGatewayPrefixListReferences');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPrefixListReferences' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPrefixListReferences' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetTransitGatewayPrefixListReferences"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetTransitGatewayPrefixListReferences"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPrefixListReferences")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetTransitGatewayPrefixListReferences";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPrefixListReferences'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPrefixListReferences'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPrefixListReferences'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayPrefixListReferences")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetTransitGatewayRouteTableAssociations
{{baseUrl}}/#Action=GetTransitGatewayRouteTableAssociations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTableAssociations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetTransitGatewayRouteTableAssociations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTableAssociations"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTableAssociations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTableAssociations");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTableAssociations"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTableAssociations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTableAssociations"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTableAssociations")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTableAssociations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTableAssociations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetTransitGatewayRouteTableAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTableAssociations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTableAssociations',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTableAssociations")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetTransitGatewayRouteTableAssociations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetTransitGatewayRouteTableAssociations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetTransitGatewayRouteTableAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTableAssociations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTableAssociations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTableAssociations" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTableAssociations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTableAssociations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetTransitGatewayRouteTableAssociations');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetTransitGatewayRouteTableAssociations');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTableAssociations' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTableAssociations' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetTransitGatewayRouteTableAssociations"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetTransitGatewayRouteTableAssociations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTableAssociations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetTransitGatewayRouteTableAssociations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTableAssociations'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTableAssociations'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTableAssociations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTableAssociations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetTransitGatewayRouteTablePropagations
{{baseUrl}}/#Action=GetTransitGatewayRouteTablePropagations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTablePropagations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetTransitGatewayRouteTablePropagations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTablePropagations"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTablePropagations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTablePropagations");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTablePropagations"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTablePropagations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTablePropagations"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTablePropagations")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTablePropagations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTablePropagations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetTransitGatewayRouteTablePropagations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTablePropagations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTablePropagations',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTablePropagations")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetTransitGatewayRouteTablePropagations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetTransitGatewayRouteTablePropagations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetTransitGatewayRouteTablePropagations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTablePropagations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTablePropagations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTablePropagations" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTablePropagations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTablePropagations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetTransitGatewayRouteTablePropagations');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetTransitGatewayRouteTablePropagations');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTablePropagations' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTablePropagations' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetTransitGatewayRouteTablePropagations"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetTransitGatewayRouteTablePropagations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTablePropagations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetTransitGatewayRouteTablePropagations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTablePropagations'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTablePropagations'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTablePropagations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetTransitGatewayRouteTablePropagations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetVerifiedAccessEndpointPolicy
{{baseUrl}}/#Action=GetVerifiedAccessEndpointPolicy
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessEndpointPolicy");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetVerifiedAccessEndpointPolicy" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessEndpointPolicy"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessEndpointPolicy"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessEndpointPolicy");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessEndpointPolicy"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessEndpointPolicy")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessEndpointPolicy"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessEndpointPolicy")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessEndpointPolicy")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessEndpointPolicy');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetVerifiedAccessEndpointPolicy',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessEndpointPolicy';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessEndpointPolicy',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessEndpointPolicy")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetVerifiedAccessEndpointPolicy',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetVerifiedAccessEndpointPolicy');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetVerifiedAccessEndpointPolicy',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessEndpointPolicy';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessEndpointPolicy"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessEndpointPolicy" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessEndpointPolicy",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessEndpointPolicy');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetVerifiedAccessEndpointPolicy');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetVerifiedAccessEndpointPolicy');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessEndpointPolicy' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessEndpointPolicy' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetVerifiedAccessEndpointPolicy"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetVerifiedAccessEndpointPolicy"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessEndpointPolicy")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetVerifiedAccessEndpointPolicy";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessEndpointPolicy'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessEndpointPolicy'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessEndpointPolicy'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessEndpointPolicy")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetVerifiedAccessGroupPolicy
{{baseUrl}}/#Action=GetVerifiedAccessGroupPolicy
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessGroupPolicy");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetVerifiedAccessGroupPolicy" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessGroupPolicy"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessGroupPolicy"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessGroupPolicy");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessGroupPolicy"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessGroupPolicy")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessGroupPolicy"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessGroupPolicy")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessGroupPolicy")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessGroupPolicy');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetVerifiedAccessGroupPolicy',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessGroupPolicy';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessGroupPolicy',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessGroupPolicy")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetVerifiedAccessGroupPolicy',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetVerifiedAccessGroupPolicy');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetVerifiedAccessGroupPolicy',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessGroupPolicy';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessGroupPolicy"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessGroupPolicy" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessGroupPolicy",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessGroupPolicy');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetVerifiedAccessGroupPolicy');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetVerifiedAccessGroupPolicy');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessGroupPolicy' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessGroupPolicy' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetVerifiedAccessGroupPolicy"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetVerifiedAccessGroupPolicy"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessGroupPolicy")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetVerifiedAccessGroupPolicy";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessGroupPolicy'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessGroupPolicy'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessGroupPolicy'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetVerifiedAccessGroupPolicy")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetVpnConnectionDeviceSampleConfiguration
{{baseUrl}}/#Action=GetVpnConnectionDeviceSampleConfiguration
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetVpnConnectionDeviceSampleConfiguration" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetVpnConnectionDeviceSampleConfiguration',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetVpnConnectionDeviceSampleConfiguration',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetVpnConnectionDeviceSampleConfiguration');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetVpnConnectionDeviceSampleConfiguration',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetVpnConnectionDeviceSampleConfiguration');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetVpnConnectionDeviceSampleConfiguration');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetVpnConnectionDeviceSampleConfiguration"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetVpnConnectionDeviceSampleConfiguration"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetVpnConnectionDeviceSampleConfiguration";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceSampleConfiguration")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetVpnConnectionDeviceTypes
{{baseUrl}}/#Action=GetVpnConnectionDeviceTypes
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetVpnConnectionDeviceTypes" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetVpnConnectionDeviceTypes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetVpnConnectionDeviceTypes',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetVpnConnectionDeviceTypes');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetVpnConnectionDeviceTypes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetVpnConnectionDeviceTypes');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetVpnConnectionDeviceTypes');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetVpnConnectionDeviceTypes"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetVpnConnectionDeviceTypes"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetVpnConnectionDeviceTypes";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetVpnConnectionDeviceTypes")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_GetVpnTunnelReplacementStatus
{{baseUrl}}/#Action=GetVpnTunnelReplacementStatus
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=GetVpnTunnelReplacementStatus");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=GetVpnTunnelReplacementStatus" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=GetVpnTunnelReplacementStatus"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=GetVpnTunnelReplacementStatus"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=GetVpnTunnelReplacementStatus");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=GetVpnTunnelReplacementStatus"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=GetVpnTunnelReplacementStatus")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=GetVpnTunnelReplacementStatus"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetVpnTunnelReplacementStatus")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=GetVpnTunnelReplacementStatus")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=GetVpnTunnelReplacementStatus');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetVpnTunnelReplacementStatus',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=GetVpnTunnelReplacementStatus';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=GetVpnTunnelReplacementStatus',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=GetVpnTunnelReplacementStatus")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetVpnTunnelReplacementStatus',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=GetVpnTunnelReplacementStatus');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=GetVpnTunnelReplacementStatus',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=GetVpnTunnelReplacementStatus';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=GetVpnTunnelReplacementStatus"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=GetVpnTunnelReplacementStatus" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=GetVpnTunnelReplacementStatus",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=GetVpnTunnelReplacementStatus');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=GetVpnTunnelReplacementStatus');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=GetVpnTunnelReplacementStatus');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=GetVpnTunnelReplacementStatus' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=GetVpnTunnelReplacementStatus' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=GetVpnTunnelReplacementStatus"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=GetVpnTunnelReplacementStatus"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=GetVpnTunnelReplacementStatus")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=GetVpnTunnelReplacementStatus";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=GetVpnTunnelReplacementStatus'
http POST '{{baseUrl}}/?Action=&Version=#Action=GetVpnTunnelReplacementStatus'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=GetVpnTunnelReplacementStatus'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=GetVpnTunnelReplacementStatus")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ImportClientVpnClientCertificateRevocationList
{{baseUrl}}/#Action=ImportClientVpnClientCertificateRevocationList
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ImportClientVpnClientCertificateRevocationList" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ImportClientVpnClientCertificateRevocationList',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ImportClientVpnClientCertificateRevocationList',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ImportClientVpnClientCertificateRevocationList');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ImportClientVpnClientCertificateRevocationList',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ImportClientVpnClientCertificateRevocationList');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ImportClientVpnClientCertificateRevocationList');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ImportClientVpnClientCertificateRevocationList"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ImportClientVpnClientCertificateRevocationList"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ImportClientVpnClientCertificateRevocationList";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList'
http POST '{{baseUrl}}/?Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ImportClientVpnClientCertificateRevocationList")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ImportImage
{{baseUrl}}/#Action=ImportImage
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ImportImage");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ImportImage" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ImportImage"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ImportImage"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ImportImage");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ImportImage"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ImportImage")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ImportImage"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ImportImage")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ImportImage")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ImportImage');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ImportImage',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ImportImage';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ImportImage',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ImportImage")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ImportImage',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ImportImage');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ImportImage',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ImportImage';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ImportImage"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ImportImage" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ImportImage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ImportImage');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ImportImage');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ImportImage');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ImportImage' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ImportImage' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ImportImage"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ImportImage"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ImportImage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ImportImage";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ImportImage'
http POST '{{baseUrl}}/?Action=&Version=#Action=ImportImage'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ImportImage'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ImportImage")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ImportInstance
{{baseUrl}}/#Action=ImportInstance
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ImportInstance");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ImportInstance" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ImportInstance"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ImportInstance"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ImportInstance");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ImportInstance"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ImportInstance")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ImportInstance"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ImportInstance")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ImportInstance")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ImportInstance');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ImportInstance',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ImportInstance';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ImportInstance',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ImportInstance")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ImportInstance',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ImportInstance');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ImportInstance',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ImportInstance';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ImportInstance"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ImportInstance" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ImportInstance",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ImportInstance');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ImportInstance');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ImportInstance');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ImportInstance' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ImportInstance' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ImportInstance"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ImportInstance"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ImportInstance")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ImportInstance";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ImportInstance'
http POST '{{baseUrl}}/?Action=&Version=#Action=ImportInstance'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ImportInstance'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ImportInstance")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ImportKeyPair
{{baseUrl}}/#Action=ImportKeyPair
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ImportKeyPair");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ImportKeyPair" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ImportKeyPair"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ImportKeyPair"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ImportKeyPair");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ImportKeyPair"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ImportKeyPair")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ImportKeyPair"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ImportKeyPair")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ImportKeyPair")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ImportKeyPair');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ImportKeyPair',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ImportKeyPair';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ImportKeyPair',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ImportKeyPair")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ImportKeyPair',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ImportKeyPair');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ImportKeyPair',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ImportKeyPair';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ImportKeyPair"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ImportKeyPair" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ImportKeyPair",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ImportKeyPair');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ImportKeyPair');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ImportKeyPair');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ImportKeyPair' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ImportKeyPair' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ImportKeyPair"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ImportKeyPair"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ImportKeyPair")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ImportKeyPair";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ImportKeyPair'
http POST '{{baseUrl}}/?Action=&Version=#Action=ImportKeyPair'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ImportKeyPair'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ImportKeyPair")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ImportSnapshot
{{baseUrl}}/#Action=ImportSnapshot
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ImportSnapshot" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ImportSnapshot',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ImportSnapshot',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ImportSnapshot');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ImportSnapshot',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ImportSnapshot');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ImportSnapshot');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ImportSnapshot"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ImportSnapshot"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ImportSnapshot";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot'
http POST '{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ImportSnapshot")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ImportVolume
{{baseUrl}}/#Action=ImportVolume
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ImportVolume");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ImportVolume" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ImportVolume"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ImportVolume"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ImportVolume");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ImportVolume"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ImportVolume")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ImportVolume"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ImportVolume")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ImportVolume")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ImportVolume');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ImportVolume',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ImportVolume';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ImportVolume',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ImportVolume")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ImportVolume',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ImportVolume');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ImportVolume',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ImportVolume';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ImportVolume"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ImportVolume" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ImportVolume",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ImportVolume');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ImportVolume');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ImportVolume');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ImportVolume' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ImportVolume' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ImportVolume"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ImportVolume"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ImportVolume")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ImportVolume";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ImportVolume'
http POST '{{baseUrl}}/?Action=&Version=#Action=ImportVolume'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ImportVolume'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ImportVolume")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ListImagesInRecycleBin
{{baseUrl}}/#Action=ListImagesInRecycleBin
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ListImagesInRecycleBin" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ListImagesInRecycleBin',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ListImagesInRecycleBin',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ListImagesInRecycleBin');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ListImagesInRecycleBin',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ListImagesInRecycleBin');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ListImagesInRecycleBin');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ListImagesInRecycleBin"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ListImagesInRecycleBin"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ListImagesInRecycleBin";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin'
http POST '{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ListImagesInRecycleBin")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ListSnapshotsInRecycleBin
{{baseUrl}}/#Action=ListSnapshotsInRecycleBin
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ListSnapshotsInRecycleBin" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ListSnapshotsInRecycleBin',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ListSnapshotsInRecycleBin',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ListSnapshotsInRecycleBin');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ListSnapshotsInRecycleBin',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ListSnapshotsInRecycleBin');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ListSnapshotsInRecycleBin');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ListSnapshotsInRecycleBin"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ListSnapshotsInRecycleBin"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ListSnapshotsInRecycleBin";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin'
http POST '{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ListSnapshotsInRecycleBin")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyAddressAttribute
{{baseUrl}}/#Action=ModifyAddressAttribute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyAddressAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyAddressAttribute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyAddressAttribute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyAddressAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyAddressAttribute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyAddressAttribute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyAddressAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyAddressAttribute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyAddressAttribute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyAddressAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyAddressAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyAddressAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyAddressAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyAddressAttribute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyAddressAttribute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyAddressAttribute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyAddressAttribute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyAddressAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyAddressAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyAddressAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyAddressAttribute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyAddressAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyAddressAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyAddressAttribute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyAddressAttribute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyAddressAttribute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyAddressAttribute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyAddressAttribute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyAddressAttribute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyAddressAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyAddressAttribute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyAddressAttribute'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyAddressAttribute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyAddressAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyAddressAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyAvailabilityZoneGroup
{{baseUrl}}/#Action=ModifyAvailabilityZoneGroup
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyAvailabilityZoneGroup");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyAvailabilityZoneGroup" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyAvailabilityZoneGroup"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyAvailabilityZoneGroup"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyAvailabilityZoneGroup");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyAvailabilityZoneGroup"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyAvailabilityZoneGroup")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyAvailabilityZoneGroup"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyAvailabilityZoneGroup")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyAvailabilityZoneGroup")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyAvailabilityZoneGroup');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyAvailabilityZoneGroup',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyAvailabilityZoneGroup';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyAvailabilityZoneGroup',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyAvailabilityZoneGroup")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyAvailabilityZoneGroup',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyAvailabilityZoneGroup');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyAvailabilityZoneGroup',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyAvailabilityZoneGroup';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyAvailabilityZoneGroup"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyAvailabilityZoneGroup" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyAvailabilityZoneGroup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyAvailabilityZoneGroup');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyAvailabilityZoneGroup');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyAvailabilityZoneGroup');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyAvailabilityZoneGroup' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyAvailabilityZoneGroup' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyAvailabilityZoneGroup"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyAvailabilityZoneGroup"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyAvailabilityZoneGroup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyAvailabilityZoneGroup";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyAvailabilityZoneGroup'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyAvailabilityZoneGroup'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyAvailabilityZoneGroup'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyAvailabilityZoneGroup")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyCapacityReservation
{{baseUrl}}/#Action=ModifyCapacityReservation
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyCapacityReservation" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservation"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservation");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservation"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservation"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservation")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyCapacityReservation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservation',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservation")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyCapacityReservation',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyCapacityReservation');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyCapacityReservation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservation" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyCapacityReservation');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyCapacityReservation');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservation' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservation' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyCapacityReservation"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyCapacityReservation"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyCapacityReservation";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservation'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservation'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyCapacityReservationFleet
{{baseUrl}}/#Action=ModifyCapacityReservationFleet
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservationFleet");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyCapacityReservationFleet" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservationFleet"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservationFleet"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservationFleet");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservationFleet"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservationFleet")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservationFleet"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservationFleet")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservationFleet")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservationFleet');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyCapacityReservationFleet',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservationFleet';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservationFleet',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservationFleet")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyCapacityReservationFleet',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyCapacityReservationFleet');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyCapacityReservationFleet',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservationFleet';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservationFleet"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservationFleet" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservationFleet",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservationFleet');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyCapacityReservationFleet');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyCapacityReservationFleet');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservationFleet' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservationFleet' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyCapacityReservationFleet"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyCapacityReservationFleet"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservationFleet")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyCapacityReservationFleet";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservationFleet'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservationFleet'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservationFleet'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyCapacityReservationFleet")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyClientVpnEndpoint
{{baseUrl}}/#Action=ModifyClientVpnEndpoint
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyClientVpnEndpoint");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyClientVpnEndpoint" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyClientVpnEndpoint"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyClientVpnEndpoint"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyClientVpnEndpoint");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyClientVpnEndpoint"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyClientVpnEndpoint")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyClientVpnEndpoint"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyClientVpnEndpoint")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyClientVpnEndpoint")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyClientVpnEndpoint');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyClientVpnEndpoint',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyClientVpnEndpoint';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyClientVpnEndpoint',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyClientVpnEndpoint")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyClientVpnEndpoint',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyClientVpnEndpoint');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyClientVpnEndpoint',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyClientVpnEndpoint';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyClientVpnEndpoint"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyClientVpnEndpoint" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyClientVpnEndpoint",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyClientVpnEndpoint');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyClientVpnEndpoint');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyClientVpnEndpoint');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyClientVpnEndpoint' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyClientVpnEndpoint' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyClientVpnEndpoint"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyClientVpnEndpoint"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyClientVpnEndpoint")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyClientVpnEndpoint";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyClientVpnEndpoint'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyClientVpnEndpoint'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyClientVpnEndpoint'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyClientVpnEndpoint")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyDefaultCreditSpecification
{{baseUrl}}/#Action=ModifyDefaultCreditSpecification
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyDefaultCreditSpecification");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyDefaultCreditSpecification" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyDefaultCreditSpecification"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyDefaultCreditSpecification"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyDefaultCreditSpecification");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyDefaultCreditSpecification"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyDefaultCreditSpecification")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyDefaultCreditSpecification"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyDefaultCreditSpecification")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyDefaultCreditSpecification")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyDefaultCreditSpecification');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyDefaultCreditSpecification',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyDefaultCreditSpecification';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyDefaultCreditSpecification',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyDefaultCreditSpecification")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyDefaultCreditSpecification',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyDefaultCreditSpecification');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyDefaultCreditSpecification',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyDefaultCreditSpecification';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyDefaultCreditSpecification"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyDefaultCreditSpecification" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyDefaultCreditSpecification",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyDefaultCreditSpecification');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyDefaultCreditSpecification');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyDefaultCreditSpecification');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyDefaultCreditSpecification' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyDefaultCreditSpecification' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyDefaultCreditSpecification"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyDefaultCreditSpecification"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyDefaultCreditSpecification")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyDefaultCreditSpecification";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyDefaultCreditSpecification'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyDefaultCreditSpecification'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyDefaultCreditSpecification'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyDefaultCreditSpecification")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyEbsDefaultKmsKeyId
{{baseUrl}}/#Action=ModifyEbsDefaultKmsKeyId
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyEbsDefaultKmsKeyId");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyEbsDefaultKmsKeyId" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyEbsDefaultKmsKeyId"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyEbsDefaultKmsKeyId"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyEbsDefaultKmsKeyId");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyEbsDefaultKmsKeyId"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyEbsDefaultKmsKeyId")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyEbsDefaultKmsKeyId"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyEbsDefaultKmsKeyId")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyEbsDefaultKmsKeyId")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyEbsDefaultKmsKeyId');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyEbsDefaultKmsKeyId',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyEbsDefaultKmsKeyId';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyEbsDefaultKmsKeyId',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyEbsDefaultKmsKeyId")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyEbsDefaultKmsKeyId',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyEbsDefaultKmsKeyId');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyEbsDefaultKmsKeyId',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyEbsDefaultKmsKeyId';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyEbsDefaultKmsKeyId"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyEbsDefaultKmsKeyId" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyEbsDefaultKmsKeyId",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyEbsDefaultKmsKeyId');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyEbsDefaultKmsKeyId');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyEbsDefaultKmsKeyId');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyEbsDefaultKmsKeyId' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyEbsDefaultKmsKeyId' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyEbsDefaultKmsKeyId"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyEbsDefaultKmsKeyId"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyEbsDefaultKmsKeyId")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyEbsDefaultKmsKeyId";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyEbsDefaultKmsKeyId'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyEbsDefaultKmsKeyId'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyEbsDefaultKmsKeyId'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyEbsDefaultKmsKeyId")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyFleet
{{baseUrl}}/#Action=ModifyFleet
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyFleet");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyFleet" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyFleet"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyFleet"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyFleet");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyFleet"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyFleet")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyFleet"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyFleet")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyFleet")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyFleet');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyFleet',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyFleet';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyFleet',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyFleet")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyFleet',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyFleet');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyFleet',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyFleet';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyFleet"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyFleet" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyFleet",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyFleet');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyFleet');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyFleet');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyFleet' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyFleet' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyFleet"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyFleet"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyFleet")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyFleet";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyFleet'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyFleet'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyFleet'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyFleet")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyFpgaImageAttribute
{{baseUrl}}/#Action=ModifyFpgaImageAttribute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyFpgaImageAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyFpgaImageAttribute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyFpgaImageAttribute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyFpgaImageAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyFpgaImageAttribute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyFpgaImageAttribute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyFpgaImageAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyFpgaImageAttribute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyFpgaImageAttribute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyFpgaImageAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyFpgaImageAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyFpgaImageAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyFpgaImageAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyFpgaImageAttribute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyFpgaImageAttribute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyFpgaImageAttribute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyFpgaImageAttribute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyFpgaImageAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyFpgaImageAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyFpgaImageAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyFpgaImageAttribute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyFpgaImageAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyFpgaImageAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyFpgaImageAttribute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyFpgaImageAttribute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyFpgaImageAttribute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyFpgaImageAttribute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyFpgaImageAttribute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyFpgaImageAttribute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyFpgaImageAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyFpgaImageAttribute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyFpgaImageAttribute'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyFpgaImageAttribute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyFpgaImageAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyFpgaImageAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyHosts
{{baseUrl}}/#Action=ModifyHosts
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyHosts");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyHosts" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyHosts"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyHosts"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyHosts");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyHosts"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyHosts")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyHosts"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyHosts")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyHosts")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyHosts');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyHosts',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyHosts';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyHosts',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyHosts")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyHosts',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyHosts');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyHosts',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyHosts';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyHosts"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyHosts" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyHosts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyHosts');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyHosts');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyHosts');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyHosts' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyHosts' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyHosts"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyHosts"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyHosts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyHosts";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyHosts'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyHosts'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyHosts'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyHosts")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyIdFormat
{{baseUrl}}/#Action=ModifyIdFormat
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyIdFormat");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyIdFormat" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyIdFormat"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyIdFormat"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyIdFormat");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyIdFormat"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyIdFormat")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyIdFormat"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyIdFormat")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyIdFormat")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyIdFormat');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyIdFormat',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyIdFormat';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyIdFormat',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyIdFormat")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyIdFormat',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyIdFormat');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyIdFormat',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyIdFormat';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyIdFormat"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyIdFormat" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyIdFormat",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyIdFormat');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyIdFormat');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyIdFormat');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyIdFormat' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyIdFormat' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyIdFormat"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyIdFormat"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyIdFormat")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyIdFormat";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyIdFormat'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyIdFormat'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyIdFormat'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyIdFormat")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyIdentityIdFormat
{{baseUrl}}/#Action=ModifyIdentityIdFormat
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyIdentityIdFormat");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyIdentityIdFormat" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyIdentityIdFormat"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyIdentityIdFormat"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyIdentityIdFormat");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyIdentityIdFormat"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyIdentityIdFormat")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyIdentityIdFormat"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyIdentityIdFormat")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyIdentityIdFormat")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyIdentityIdFormat');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyIdentityIdFormat',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyIdentityIdFormat';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyIdentityIdFormat',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyIdentityIdFormat")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyIdentityIdFormat',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyIdentityIdFormat');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyIdentityIdFormat',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyIdentityIdFormat';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyIdentityIdFormat"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyIdentityIdFormat" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyIdentityIdFormat",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyIdentityIdFormat');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyIdentityIdFormat');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyIdentityIdFormat');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyIdentityIdFormat' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyIdentityIdFormat' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyIdentityIdFormat"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyIdentityIdFormat"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyIdentityIdFormat")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyIdentityIdFormat";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyIdentityIdFormat'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyIdentityIdFormat'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyIdentityIdFormat'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyIdentityIdFormat")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyImageAttribute
{{baseUrl}}/#Action=ModifyImageAttribute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyImageAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyImageAttribute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyImageAttribute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyImageAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyImageAttribute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyImageAttribute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyImageAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyImageAttribute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyImageAttribute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyImageAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyImageAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyImageAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyImageAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyImageAttribute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyImageAttribute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyImageAttribute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyImageAttribute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyImageAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyImageAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyImageAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyImageAttribute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyImageAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyImageAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyImageAttribute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyImageAttribute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyImageAttribute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyImageAttribute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyImageAttribute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyImageAttribute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyImageAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyImageAttribute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyImageAttribute'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyImageAttribute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyImageAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyImageAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyInstanceAttribute
{{baseUrl}}/#Action=ModifyInstanceAttribute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyInstanceAttribute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceAttribute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceAttribute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceAttribute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceAttribute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceAttribute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyInstanceAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceAttribute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceAttribute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyInstanceAttribute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyInstanceAttribute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyInstanceAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceAttribute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyInstanceAttribute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyInstanceAttribute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceAttribute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceAttribute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyInstanceAttribute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyInstanceAttribute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyInstanceAttribute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceAttribute'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceAttribute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyInstanceCapacityReservationAttributes
{{baseUrl}}/#Action=ModifyInstanceCapacityReservationAttributes
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyInstanceCapacityReservationAttributes" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyInstanceCapacityReservationAttributes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyInstanceCapacityReservationAttributes',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyInstanceCapacityReservationAttributes');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyInstanceCapacityReservationAttributes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyInstanceCapacityReservationAttributes');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyInstanceCapacityReservationAttributes');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyInstanceCapacityReservationAttributes"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyInstanceCapacityReservationAttributes"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyInstanceCapacityReservationAttributes";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCapacityReservationAttributes")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyInstanceCreditSpecification
{{baseUrl}}/#Action=ModifyInstanceCreditSpecification
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCreditSpecification");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyInstanceCreditSpecification" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCreditSpecification"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCreditSpecification"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCreditSpecification");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCreditSpecification"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCreditSpecification")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCreditSpecification"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCreditSpecification")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCreditSpecification")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCreditSpecification');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyInstanceCreditSpecification',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCreditSpecification';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCreditSpecification',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCreditSpecification")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyInstanceCreditSpecification',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyInstanceCreditSpecification');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyInstanceCreditSpecification',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCreditSpecification';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCreditSpecification"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCreditSpecification" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCreditSpecification",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCreditSpecification');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyInstanceCreditSpecification');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyInstanceCreditSpecification');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCreditSpecification' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCreditSpecification' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyInstanceCreditSpecification"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyInstanceCreditSpecification"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCreditSpecification")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyInstanceCreditSpecification";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCreditSpecification'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCreditSpecification'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCreditSpecification'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceCreditSpecification")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyInstanceEventStartTime
{{baseUrl}}/#Action=ModifyInstanceEventStartTime
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventStartTime");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyInstanceEventStartTime" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventStartTime"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventStartTime"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventStartTime");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventStartTime"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventStartTime")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventStartTime"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventStartTime")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventStartTime")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventStartTime');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyInstanceEventStartTime',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventStartTime';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventStartTime',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventStartTime")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyInstanceEventStartTime',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyInstanceEventStartTime');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyInstanceEventStartTime',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventStartTime';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventStartTime"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventStartTime" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventStartTime",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventStartTime');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyInstanceEventStartTime');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyInstanceEventStartTime');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventStartTime' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventStartTime' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyInstanceEventStartTime"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyInstanceEventStartTime"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventStartTime")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyInstanceEventStartTime";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventStartTime'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventStartTime'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventStartTime'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventStartTime")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyInstanceEventWindow
{{baseUrl}}/#Action=ModifyInstanceEventWindow
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventWindow");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyInstanceEventWindow" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventWindow"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventWindow"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventWindow");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventWindow"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventWindow")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventWindow"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventWindow")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventWindow")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventWindow');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyInstanceEventWindow',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventWindow';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventWindow',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventWindow")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyInstanceEventWindow',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyInstanceEventWindow');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyInstanceEventWindow',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventWindow';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventWindow"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventWindow" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventWindow",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventWindow');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyInstanceEventWindow');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyInstanceEventWindow');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventWindow' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventWindow' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyInstanceEventWindow"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyInstanceEventWindow"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventWindow")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyInstanceEventWindow";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventWindow'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventWindow'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventWindow'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceEventWindow")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyInstanceMaintenanceOptions
{{baseUrl}}/#Action=ModifyInstanceMaintenanceOptions
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMaintenanceOptions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyInstanceMaintenanceOptions" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMaintenanceOptions"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMaintenanceOptions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMaintenanceOptions");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMaintenanceOptions"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMaintenanceOptions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMaintenanceOptions"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMaintenanceOptions")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMaintenanceOptions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMaintenanceOptions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyInstanceMaintenanceOptions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMaintenanceOptions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMaintenanceOptions',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMaintenanceOptions")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyInstanceMaintenanceOptions',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyInstanceMaintenanceOptions');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyInstanceMaintenanceOptions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMaintenanceOptions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMaintenanceOptions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMaintenanceOptions" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMaintenanceOptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMaintenanceOptions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyInstanceMaintenanceOptions');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyInstanceMaintenanceOptions');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMaintenanceOptions' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMaintenanceOptions' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyInstanceMaintenanceOptions"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyInstanceMaintenanceOptions"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMaintenanceOptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyInstanceMaintenanceOptions";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMaintenanceOptions'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMaintenanceOptions'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMaintenanceOptions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMaintenanceOptions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyInstanceMetadataOptions
{{baseUrl}}/#Action=ModifyInstanceMetadataOptions
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMetadataOptions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyInstanceMetadataOptions" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMetadataOptions"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMetadataOptions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMetadataOptions");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMetadataOptions"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMetadataOptions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMetadataOptions"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMetadataOptions")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMetadataOptions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMetadataOptions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyInstanceMetadataOptions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMetadataOptions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMetadataOptions',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMetadataOptions")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyInstanceMetadataOptions',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyInstanceMetadataOptions');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyInstanceMetadataOptions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMetadataOptions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMetadataOptions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMetadataOptions" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMetadataOptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMetadataOptions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyInstanceMetadataOptions');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyInstanceMetadataOptions');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMetadataOptions' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMetadataOptions' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyInstanceMetadataOptions"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyInstanceMetadataOptions"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMetadataOptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyInstanceMetadataOptions";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMetadataOptions'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMetadataOptions'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMetadataOptions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyInstanceMetadataOptions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyInstancePlacement
{{baseUrl}}/#Action=ModifyInstancePlacement
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyInstancePlacement");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyInstancePlacement" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyInstancePlacement"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyInstancePlacement"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyInstancePlacement");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyInstancePlacement"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyInstancePlacement")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyInstancePlacement"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyInstancePlacement")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyInstancePlacement")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyInstancePlacement');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyInstancePlacement',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyInstancePlacement';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyInstancePlacement',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyInstancePlacement")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyInstancePlacement',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyInstancePlacement');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyInstancePlacement',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyInstancePlacement';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyInstancePlacement"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyInstancePlacement" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyInstancePlacement",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyInstancePlacement');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyInstancePlacement');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyInstancePlacement');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyInstancePlacement' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyInstancePlacement' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyInstancePlacement"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyInstancePlacement"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyInstancePlacement")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyInstancePlacement";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyInstancePlacement'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyInstancePlacement'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyInstancePlacement'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyInstancePlacement")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyIpam
{{baseUrl}}/#Action=ModifyIpam
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyIpam");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyIpam" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyIpam"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyIpam"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyIpam");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyIpam"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyIpam")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyIpam"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyIpam")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyIpam")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyIpam');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyIpam',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyIpam';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyIpam',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyIpam")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyIpam',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyIpam');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyIpam',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyIpam';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyIpam"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyIpam" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyIpam",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyIpam');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyIpam');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyIpam');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyIpam' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyIpam' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyIpam"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyIpam"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyIpam")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyIpam";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyIpam'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyIpam'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyIpam'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyIpam")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyIpamPool
{{baseUrl}}/#Action=ModifyIpamPool
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyIpamPool");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyIpamPool" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyIpamPool"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyIpamPool"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyIpamPool");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyIpamPool"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyIpamPool")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyIpamPool"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyIpamPool")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyIpamPool")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamPool');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyIpamPool',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamPool';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamPool',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyIpamPool")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyIpamPool',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyIpamPool');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyIpamPool',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamPool';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyIpamPool"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyIpamPool" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyIpamPool",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamPool');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyIpamPool');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyIpamPool');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamPool' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamPool' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyIpamPool"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyIpamPool"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyIpamPool")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyIpamPool";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamPool'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamPool'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamPool'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyIpamPool")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyIpamResourceCidr
{{baseUrl}}/#Action=ModifyIpamResourceCidr
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceCidr");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyIpamResourceCidr" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceCidr"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceCidr"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceCidr");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceCidr"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceCidr")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceCidr"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceCidr")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceCidr")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceCidr');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyIpamResourceCidr',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceCidr';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceCidr',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceCidr")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyIpamResourceCidr',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyIpamResourceCidr');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyIpamResourceCidr',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceCidr';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceCidr"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceCidr" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceCidr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceCidr');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyIpamResourceCidr');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyIpamResourceCidr');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceCidr' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceCidr' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyIpamResourceCidr"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyIpamResourceCidr"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceCidr")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyIpamResourceCidr";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceCidr'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceCidr'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceCidr'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceCidr")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyIpamResourceDiscovery
{{baseUrl}}/#Action=ModifyIpamResourceDiscovery
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceDiscovery");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyIpamResourceDiscovery" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceDiscovery"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceDiscovery"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceDiscovery");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceDiscovery"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceDiscovery")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceDiscovery"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceDiscovery")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceDiscovery")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceDiscovery');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyIpamResourceDiscovery',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceDiscovery';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceDiscovery',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceDiscovery")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyIpamResourceDiscovery',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyIpamResourceDiscovery');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyIpamResourceDiscovery',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceDiscovery';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceDiscovery"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceDiscovery" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceDiscovery",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceDiscovery');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyIpamResourceDiscovery');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyIpamResourceDiscovery');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceDiscovery' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceDiscovery' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyIpamResourceDiscovery"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyIpamResourceDiscovery"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceDiscovery")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyIpamResourceDiscovery";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceDiscovery'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceDiscovery'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceDiscovery'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyIpamResourceDiscovery")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyIpamScope
{{baseUrl}}/#Action=ModifyIpamScope
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyIpamScope");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyIpamScope" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyIpamScope"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyIpamScope"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyIpamScope");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyIpamScope"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyIpamScope")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyIpamScope"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyIpamScope")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyIpamScope")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamScope');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyIpamScope',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamScope';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamScope',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyIpamScope")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyIpamScope',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyIpamScope');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyIpamScope',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamScope';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyIpamScope"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyIpamScope" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyIpamScope",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamScope');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyIpamScope');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyIpamScope');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamScope' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamScope' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyIpamScope"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyIpamScope"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyIpamScope")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyIpamScope";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamScope'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamScope'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyIpamScope'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyIpamScope")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyLaunchTemplate
{{baseUrl}}/#Action=ModifyLaunchTemplate
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyLaunchTemplate" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyLaunchTemplate',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyLaunchTemplate',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyLaunchTemplate');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyLaunchTemplate',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyLaunchTemplate');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyLaunchTemplate');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyLaunchTemplate"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyLaunchTemplate"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyLaunchTemplate";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyLaunchTemplate")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"LaunchTemplate": {
"CreateTime": "2017-12-01T13:35:46.000Z",
"CreatedBy": "arn:aws:iam::123456789012:root",
"DefaultVersionNumber": 2,
"LatestVersionNumber": 2,
"LaunchTemplateId": "lt-0abcd290751193123",
"LaunchTemplateName": "WebServers"
}
}
POST
POST_ModifyLocalGatewayRoute
{{baseUrl}}/#Action=ModifyLocalGatewayRoute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyLocalGatewayRoute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyLocalGatewayRoute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyLocalGatewayRoute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyLocalGatewayRoute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyLocalGatewayRoute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyLocalGatewayRoute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyLocalGatewayRoute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyLocalGatewayRoute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyLocalGatewayRoute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyLocalGatewayRoute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyLocalGatewayRoute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyLocalGatewayRoute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyLocalGatewayRoute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyLocalGatewayRoute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyLocalGatewayRoute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyLocalGatewayRoute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyLocalGatewayRoute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyLocalGatewayRoute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyLocalGatewayRoute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyLocalGatewayRoute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyLocalGatewayRoute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyLocalGatewayRoute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyLocalGatewayRoute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyLocalGatewayRoute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyLocalGatewayRoute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyLocalGatewayRoute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyLocalGatewayRoute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyLocalGatewayRoute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyLocalGatewayRoute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyLocalGatewayRoute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyLocalGatewayRoute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyLocalGatewayRoute'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyLocalGatewayRoute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyLocalGatewayRoute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyLocalGatewayRoute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyManagedPrefixList
{{baseUrl}}/#Action=ModifyManagedPrefixList
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyManagedPrefixList");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyManagedPrefixList" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyManagedPrefixList"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyManagedPrefixList"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyManagedPrefixList");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyManagedPrefixList"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyManagedPrefixList")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyManagedPrefixList"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyManagedPrefixList")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyManagedPrefixList")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyManagedPrefixList');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyManagedPrefixList',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyManagedPrefixList';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyManagedPrefixList',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyManagedPrefixList")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyManagedPrefixList',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyManagedPrefixList');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyManagedPrefixList',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyManagedPrefixList';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyManagedPrefixList"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyManagedPrefixList" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyManagedPrefixList",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyManagedPrefixList');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyManagedPrefixList');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyManagedPrefixList');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyManagedPrefixList' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyManagedPrefixList' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyManagedPrefixList"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyManagedPrefixList"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyManagedPrefixList")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyManagedPrefixList";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyManagedPrefixList'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyManagedPrefixList'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyManagedPrefixList'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyManagedPrefixList")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyNetworkInterfaceAttribute
{{baseUrl}}/#Action=ModifyNetworkInterfaceAttribute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyNetworkInterfaceAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyNetworkInterfaceAttribute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyNetworkInterfaceAttribute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyNetworkInterfaceAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyNetworkInterfaceAttribute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyNetworkInterfaceAttribute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyNetworkInterfaceAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyNetworkInterfaceAttribute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyNetworkInterfaceAttribute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyNetworkInterfaceAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyNetworkInterfaceAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyNetworkInterfaceAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyNetworkInterfaceAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyNetworkInterfaceAttribute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyNetworkInterfaceAttribute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyNetworkInterfaceAttribute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyNetworkInterfaceAttribute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyNetworkInterfaceAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyNetworkInterfaceAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyNetworkInterfaceAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyNetworkInterfaceAttribute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyNetworkInterfaceAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyNetworkInterfaceAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyNetworkInterfaceAttribute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyNetworkInterfaceAttribute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyNetworkInterfaceAttribute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyNetworkInterfaceAttribute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyNetworkInterfaceAttribute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyNetworkInterfaceAttribute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyNetworkInterfaceAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyNetworkInterfaceAttribute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyNetworkInterfaceAttribute'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyNetworkInterfaceAttribute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyNetworkInterfaceAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyNetworkInterfaceAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyPrivateDnsNameOptions
{{baseUrl}}/#Action=ModifyPrivateDnsNameOptions
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyPrivateDnsNameOptions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyPrivateDnsNameOptions" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyPrivateDnsNameOptions"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyPrivateDnsNameOptions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyPrivateDnsNameOptions");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyPrivateDnsNameOptions"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyPrivateDnsNameOptions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyPrivateDnsNameOptions"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyPrivateDnsNameOptions")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyPrivateDnsNameOptions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyPrivateDnsNameOptions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyPrivateDnsNameOptions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyPrivateDnsNameOptions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyPrivateDnsNameOptions',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyPrivateDnsNameOptions")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyPrivateDnsNameOptions',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyPrivateDnsNameOptions');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyPrivateDnsNameOptions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyPrivateDnsNameOptions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyPrivateDnsNameOptions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyPrivateDnsNameOptions" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyPrivateDnsNameOptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyPrivateDnsNameOptions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyPrivateDnsNameOptions');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyPrivateDnsNameOptions');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyPrivateDnsNameOptions' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyPrivateDnsNameOptions' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyPrivateDnsNameOptions"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyPrivateDnsNameOptions"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyPrivateDnsNameOptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyPrivateDnsNameOptions";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyPrivateDnsNameOptions'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyPrivateDnsNameOptions'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyPrivateDnsNameOptions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyPrivateDnsNameOptions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyReservedInstances
{{baseUrl}}/#Action=ModifyReservedInstances
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyReservedInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyReservedInstances" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyReservedInstances"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyReservedInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyReservedInstances");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyReservedInstances"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyReservedInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyReservedInstances"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyReservedInstances")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyReservedInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyReservedInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyReservedInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyReservedInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyReservedInstances',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyReservedInstances")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyReservedInstances',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyReservedInstances');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyReservedInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyReservedInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyReservedInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyReservedInstances" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyReservedInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyReservedInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyReservedInstances');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyReservedInstances');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyReservedInstances' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyReservedInstances' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyReservedInstances"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyReservedInstances"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyReservedInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyReservedInstances";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyReservedInstances'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyReservedInstances'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyReservedInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyReservedInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifySecurityGroupRules
{{baseUrl}}/#Action=ModifySecurityGroupRules
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifySecurityGroupRules");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifySecurityGroupRules" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifySecurityGroupRules"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifySecurityGroupRules"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifySecurityGroupRules");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifySecurityGroupRules"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifySecurityGroupRules")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifySecurityGroupRules"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifySecurityGroupRules")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifySecurityGroupRules")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifySecurityGroupRules');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifySecurityGroupRules',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifySecurityGroupRules';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifySecurityGroupRules',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifySecurityGroupRules")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifySecurityGroupRules',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifySecurityGroupRules');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifySecurityGroupRules',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifySecurityGroupRules';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifySecurityGroupRules"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifySecurityGroupRules" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifySecurityGroupRules",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifySecurityGroupRules');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifySecurityGroupRules');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifySecurityGroupRules');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifySecurityGroupRules' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifySecurityGroupRules' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifySecurityGroupRules"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifySecurityGroupRules"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifySecurityGroupRules")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifySecurityGroupRules";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifySecurityGroupRules'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifySecurityGroupRules'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifySecurityGroupRules'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifySecurityGroupRules")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifySnapshotAttribute
{{baseUrl}}/#Action=ModifySnapshotAttribute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifySnapshotAttribute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotAttribute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotAttribute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotAttribute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotAttribute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotAttribute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifySnapshotAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotAttribute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotAttribute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifySnapshotAttribute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifySnapshotAttribute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifySnapshotAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotAttribute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifySnapshotAttribute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifySnapshotAttribute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotAttribute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotAttribute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifySnapshotAttribute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifySnapshotAttribute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifySnapshotAttribute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotAttribute'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotAttribute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifySnapshotTier
{{baseUrl}}/#Action=ModifySnapshotTier
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotTier");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifySnapshotTier" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotTier"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotTier"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotTier");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotTier"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotTier")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotTier"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotTier")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotTier")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotTier');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifySnapshotTier',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotTier';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotTier',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotTier")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifySnapshotTier',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifySnapshotTier');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifySnapshotTier',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotTier';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotTier"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotTier" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotTier",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotTier');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifySnapshotTier');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifySnapshotTier');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotTier' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotTier' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifySnapshotTier"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifySnapshotTier"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotTier")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifySnapshotTier";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotTier'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotTier'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotTier'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifySnapshotTier")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifySpotFleetRequest
{{baseUrl}}/#Action=ModifySpotFleetRequest
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifySpotFleetRequest");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifySpotFleetRequest" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifySpotFleetRequest"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifySpotFleetRequest"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifySpotFleetRequest");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifySpotFleetRequest"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifySpotFleetRequest")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifySpotFleetRequest"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifySpotFleetRequest")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifySpotFleetRequest")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifySpotFleetRequest');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifySpotFleetRequest',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifySpotFleetRequest';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifySpotFleetRequest',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifySpotFleetRequest")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifySpotFleetRequest',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifySpotFleetRequest');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifySpotFleetRequest',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifySpotFleetRequest';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifySpotFleetRequest"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifySpotFleetRequest" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifySpotFleetRequest",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifySpotFleetRequest');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifySpotFleetRequest');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifySpotFleetRequest');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifySpotFleetRequest' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifySpotFleetRequest' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifySpotFleetRequest"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifySpotFleetRequest"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifySpotFleetRequest")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifySpotFleetRequest";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifySpotFleetRequest'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifySpotFleetRequest'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifySpotFleetRequest'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifySpotFleetRequest")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"Return": true
}
POST
POST_ModifySubnetAttribute
{{baseUrl}}/#Action=ModifySubnetAttribute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifySubnetAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifySubnetAttribute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifySubnetAttribute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifySubnetAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifySubnetAttribute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifySubnetAttribute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifySubnetAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifySubnetAttribute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifySubnetAttribute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifySubnetAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifySubnetAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifySubnetAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifySubnetAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifySubnetAttribute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifySubnetAttribute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifySubnetAttribute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifySubnetAttribute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifySubnetAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifySubnetAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifySubnetAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifySubnetAttribute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifySubnetAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifySubnetAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifySubnetAttribute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifySubnetAttribute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifySubnetAttribute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifySubnetAttribute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifySubnetAttribute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifySubnetAttribute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifySubnetAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifySubnetAttribute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifySubnetAttribute'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifySubnetAttribute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifySubnetAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifySubnetAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyTrafficMirrorFilterNetworkServices
{{baseUrl}}/#Action=ModifyTrafficMirrorFilterNetworkServices
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyTrafficMirrorFilterNetworkServices" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyTrafficMirrorFilterNetworkServices',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyTrafficMirrorFilterNetworkServices',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyTrafficMirrorFilterNetworkServices');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyTrafficMirrorFilterNetworkServices',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyTrafficMirrorFilterNetworkServices');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyTrafficMirrorFilterNetworkServices');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyTrafficMirrorFilterNetworkServices"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyTrafficMirrorFilterNetworkServices"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyTrafficMirrorFilterNetworkServices";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterNetworkServices")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyTrafficMirrorFilterRule
{{baseUrl}}/#Action=ModifyTrafficMirrorFilterRule
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterRule");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyTrafficMirrorFilterRule" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterRule"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterRule"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterRule");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterRule"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterRule")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterRule"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterRule")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterRule")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterRule');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyTrafficMirrorFilterRule',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterRule';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterRule',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterRule")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyTrafficMirrorFilterRule',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyTrafficMirrorFilterRule');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyTrafficMirrorFilterRule',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterRule';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterRule"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterRule" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterRule",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterRule');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyTrafficMirrorFilterRule');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyTrafficMirrorFilterRule');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterRule' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterRule' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyTrafficMirrorFilterRule"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyTrafficMirrorFilterRule"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterRule")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyTrafficMirrorFilterRule";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterRule'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterRule'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterRule'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorFilterRule")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyTrafficMirrorSession
{{baseUrl}}/#Action=ModifyTrafficMirrorSession
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorSession");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyTrafficMirrorSession" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorSession"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorSession"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorSession");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorSession"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorSession")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorSession"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorSession")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorSession")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorSession');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyTrafficMirrorSession',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorSession';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorSession',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorSession")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyTrafficMirrorSession',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyTrafficMirrorSession');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyTrafficMirrorSession',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorSession';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorSession"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorSession" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorSession",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorSession');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyTrafficMirrorSession');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyTrafficMirrorSession');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorSession' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorSession' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyTrafficMirrorSession"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyTrafficMirrorSession"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorSession")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyTrafficMirrorSession";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorSession'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorSession'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorSession'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyTrafficMirrorSession")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyTransitGateway
{{baseUrl}}/#Action=ModifyTransitGateway
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGateway");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyTransitGateway" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGateway"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGateway"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGateway");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGateway"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGateway")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGateway"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGateway")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGateway")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGateway');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyTransitGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGateway',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGateway")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyTransitGateway',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyTransitGateway');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyTransitGateway',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGateway';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGateway"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGateway" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGateway",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGateway');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyTransitGateway');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyTransitGateway');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGateway' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGateway' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyTransitGateway"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyTransitGateway"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGateway")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyTransitGateway";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGateway'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGateway'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGateway'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGateway")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyTransitGatewayPrefixListReference
{{baseUrl}}/#Action=ModifyTransitGatewayPrefixListReference
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayPrefixListReference");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyTransitGatewayPrefixListReference" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayPrefixListReference"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayPrefixListReference"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayPrefixListReference");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayPrefixListReference"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayPrefixListReference")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayPrefixListReference"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayPrefixListReference")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayPrefixListReference")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayPrefixListReference');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyTransitGatewayPrefixListReference',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayPrefixListReference';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayPrefixListReference',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayPrefixListReference")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyTransitGatewayPrefixListReference',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyTransitGatewayPrefixListReference');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyTransitGatewayPrefixListReference',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayPrefixListReference';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayPrefixListReference"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayPrefixListReference" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayPrefixListReference",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayPrefixListReference');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyTransitGatewayPrefixListReference');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyTransitGatewayPrefixListReference');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayPrefixListReference' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayPrefixListReference' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyTransitGatewayPrefixListReference"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyTransitGatewayPrefixListReference"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayPrefixListReference")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyTransitGatewayPrefixListReference";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayPrefixListReference'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayPrefixListReference'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayPrefixListReference'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayPrefixListReference")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyTransitGatewayVpcAttachment
{{baseUrl}}/#Action=ModifyTransitGatewayVpcAttachment
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayVpcAttachment");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyTransitGatewayVpcAttachment" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayVpcAttachment"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayVpcAttachment"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayVpcAttachment");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayVpcAttachment"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayVpcAttachment")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayVpcAttachment"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayVpcAttachment")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayVpcAttachment")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayVpcAttachment');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyTransitGatewayVpcAttachment',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayVpcAttachment';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayVpcAttachment',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayVpcAttachment")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyTransitGatewayVpcAttachment',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyTransitGatewayVpcAttachment');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyTransitGatewayVpcAttachment',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayVpcAttachment';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayVpcAttachment"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayVpcAttachment" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayVpcAttachment",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayVpcAttachment');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyTransitGatewayVpcAttachment');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyTransitGatewayVpcAttachment');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayVpcAttachment' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayVpcAttachment' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyTransitGatewayVpcAttachment"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyTransitGatewayVpcAttachment"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayVpcAttachment")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyTransitGatewayVpcAttachment";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayVpcAttachment'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayVpcAttachment'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayVpcAttachment'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyTransitGatewayVpcAttachment")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyVerifiedAccessEndpoint
{{baseUrl}}/#Action=ModifyVerifiedAccessEndpoint
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpoint");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyVerifiedAccessEndpoint" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpoint"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpoint"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpoint");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpoint"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpoint")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpoint"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpoint")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpoint")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpoint');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessEndpoint',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpoint';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpoint',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpoint")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessEndpoint',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyVerifiedAccessEndpoint');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessEndpoint',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpoint';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpoint"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpoint" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpoint",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpoint');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVerifiedAccessEndpoint');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVerifiedAccessEndpoint');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpoint' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpoint' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVerifiedAccessEndpoint"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVerifiedAccessEndpoint"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpoint")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVerifiedAccessEndpoint";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpoint'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpoint'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpoint'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpoint")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyVerifiedAccessEndpointPolicy
{{baseUrl}}/#Action=ModifyVerifiedAccessEndpointPolicy
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyVerifiedAccessEndpointPolicy" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessEndpointPolicy',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessEndpointPolicy',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyVerifiedAccessEndpointPolicy');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessEndpointPolicy',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVerifiedAccessEndpointPolicy');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVerifiedAccessEndpointPolicy');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVerifiedAccessEndpointPolicy"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVerifiedAccessEndpointPolicy"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVerifiedAccessEndpointPolicy";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessEndpointPolicy")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyVerifiedAccessGroup
{{baseUrl}}/#Action=ModifyVerifiedAccessGroup
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroup");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyVerifiedAccessGroup" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroup"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroup"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroup");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroup"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroup")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroup"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroup")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroup")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroup');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessGroup',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroup';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroup',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroup")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessGroup',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyVerifiedAccessGroup');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessGroup',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroup';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroup"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroup" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroup');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVerifiedAccessGroup');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVerifiedAccessGroup');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroup' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroup' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVerifiedAccessGroup"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVerifiedAccessGroup"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVerifiedAccessGroup";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroup'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroup'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroup'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroup")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyVerifiedAccessGroupPolicy
{{baseUrl}}/#Action=ModifyVerifiedAccessGroupPolicy
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyVerifiedAccessGroupPolicy" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessGroupPolicy',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessGroupPolicy',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyVerifiedAccessGroupPolicy');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessGroupPolicy',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVerifiedAccessGroupPolicy');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVerifiedAccessGroupPolicy');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVerifiedAccessGroupPolicy"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVerifiedAccessGroupPolicy"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVerifiedAccessGroupPolicy";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessGroupPolicy")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyVerifiedAccessInstance
{{baseUrl}}/#Action=ModifyVerifiedAccessInstance
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstance");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyVerifiedAccessInstance" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstance"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstance"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstance");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstance"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstance")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstance"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstance")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstance")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstance');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessInstance',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstance';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstance',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstance")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessInstance',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyVerifiedAccessInstance');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessInstance',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstance';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstance"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstance" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstance",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstance');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVerifiedAccessInstance');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVerifiedAccessInstance');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstance' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstance' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVerifiedAccessInstance"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVerifiedAccessInstance"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstance")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVerifiedAccessInstance";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstance'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstance'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstance'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstance")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyVerifiedAccessInstanceLoggingConfiguration
{{baseUrl}}/#Action=ModifyVerifiedAccessInstanceLoggingConfiguration
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyVerifiedAccessInstanceLoggingConfiguration" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessInstanceLoggingConfiguration',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessInstanceLoggingConfiguration',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyVerifiedAccessInstanceLoggingConfiguration');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessInstanceLoggingConfiguration',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVerifiedAccessInstanceLoggingConfiguration');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVerifiedAccessInstanceLoggingConfiguration');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVerifiedAccessInstanceLoggingConfiguration"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVerifiedAccessInstanceLoggingConfiguration"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVerifiedAccessInstanceLoggingConfiguration";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessInstanceLoggingConfiguration")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyVerifiedAccessTrustProvider
{{baseUrl}}/#Action=ModifyVerifiedAccessTrustProvider
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessTrustProvider");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyVerifiedAccessTrustProvider" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessTrustProvider"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessTrustProvider"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessTrustProvider");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessTrustProvider"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessTrustProvider")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessTrustProvider"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessTrustProvider")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessTrustProvider")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessTrustProvider');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessTrustProvider',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessTrustProvider';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessTrustProvider',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessTrustProvider")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessTrustProvider',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyVerifiedAccessTrustProvider');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVerifiedAccessTrustProvider',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessTrustProvider';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessTrustProvider"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessTrustProvider" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessTrustProvider",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessTrustProvider');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVerifiedAccessTrustProvider');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVerifiedAccessTrustProvider');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessTrustProvider' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessTrustProvider' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVerifiedAccessTrustProvider"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVerifiedAccessTrustProvider"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessTrustProvider")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVerifiedAccessTrustProvider";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessTrustProvider'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessTrustProvider'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessTrustProvider'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyVerifiedAccessTrustProvider")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyVolume
{{baseUrl}}/#Action=ModifyVolume
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyVolume");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyVolume" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyVolume"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyVolume"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyVolume");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyVolume"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyVolume")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyVolume"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVolume")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyVolume")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVolume');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVolume',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVolume';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyVolume',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVolume")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVolume',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyVolume');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVolume',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVolume';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyVolume"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyVolume" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyVolume",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVolume');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVolume');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVolume');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVolume' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVolume' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVolume"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVolume"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyVolume")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVolume";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyVolume'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyVolume'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyVolume'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyVolume")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyVolumeAttribute
{{baseUrl}}/#Action=ModifyVolumeAttribute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyVolumeAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyVolumeAttribute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyVolumeAttribute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyVolumeAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyVolumeAttribute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyVolumeAttribute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyVolumeAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyVolumeAttribute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVolumeAttribute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyVolumeAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVolumeAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVolumeAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVolumeAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyVolumeAttribute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVolumeAttribute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVolumeAttribute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyVolumeAttribute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVolumeAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVolumeAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyVolumeAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyVolumeAttribute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyVolumeAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVolumeAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVolumeAttribute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVolumeAttribute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVolumeAttribute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVolumeAttribute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVolumeAttribute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVolumeAttribute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyVolumeAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVolumeAttribute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyVolumeAttribute'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyVolumeAttribute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyVolumeAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyVolumeAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyVpcAttribute
{{baseUrl}}/#Action=ModifyVpcAttribute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyVpcAttribute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcAttribute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcAttribute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcAttribute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcAttribute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcAttribute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpcAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcAttribute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcAttribute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpcAttribute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyVpcAttribute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpcAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyVpcAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcAttribute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyVpcAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVpcAttribute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVpcAttribute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcAttribute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcAttribute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVpcAttribute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVpcAttribute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVpcAttribute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcAttribute'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcAttribute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyVpcEndpoint
{{baseUrl}}/#Action=ModifyVpcEndpoint
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpoint");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyVpcEndpoint" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpoint"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpoint"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpoint");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpoint"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpoint")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpoint"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpoint")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpoint")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpoint');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpcEndpoint',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpoint';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpoint',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpoint")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpcEndpoint',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyVpcEndpoint');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpcEndpoint',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpoint';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpoint"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpoint" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpoint",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpoint');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVpcEndpoint');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVpcEndpoint');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpoint' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpoint' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVpcEndpoint"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVpcEndpoint"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpoint")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVpcEndpoint";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpoint'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpoint'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpoint'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpoint")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyVpcEndpointConnectionNotification
{{baseUrl}}/#Action=ModifyVpcEndpointConnectionNotification
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointConnectionNotification");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyVpcEndpointConnectionNotification" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointConnectionNotification"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointConnectionNotification"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointConnectionNotification");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointConnectionNotification"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointConnectionNotification")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointConnectionNotification"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointConnectionNotification")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointConnectionNotification")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointConnectionNotification');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpcEndpointConnectionNotification',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointConnectionNotification';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointConnectionNotification',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointConnectionNotification")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpcEndpointConnectionNotification',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyVpcEndpointConnectionNotification');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpcEndpointConnectionNotification',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointConnectionNotification';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointConnectionNotification"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointConnectionNotification" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointConnectionNotification",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointConnectionNotification');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVpcEndpointConnectionNotification');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVpcEndpointConnectionNotification');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointConnectionNotification' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointConnectionNotification' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVpcEndpointConnectionNotification"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVpcEndpointConnectionNotification"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointConnectionNotification")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVpcEndpointConnectionNotification";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointConnectionNotification'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointConnectionNotification'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointConnectionNotification'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointConnectionNotification")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyVpcEndpointServiceConfiguration
{{baseUrl}}/#Action=ModifyVpcEndpointServiceConfiguration
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyVpcEndpointServiceConfiguration" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpcEndpointServiceConfiguration',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpcEndpointServiceConfiguration',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyVpcEndpointServiceConfiguration');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpcEndpointServiceConfiguration',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVpcEndpointServiceConfiguration');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVpcEndpointServiceConfiguration');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVpcEndpointServiceConfiguration"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVpcEndpointServiceConfiguration"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVpcEndpointServiceConfiguration";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServiceConfiguration")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyVpcEndpointServicePayerResponsibility
{{baseUrl}}/#Action=ModifyVpcEndpointServicePayerResponsibility
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyVpcEndpointServicePayerResponsibility" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpcEndpointServicePayerResponsibility',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpcEndpointServicePayerResponsibility',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyVpcEndpointServicePayerResponsibility');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpcEndpointServicePayerResponsibility',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVpcEndpointServicePayerResponsibility');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVpcEndpointServicePayerResponsibility');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVpcEndpointServicePayerResponsibility"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVpcEndpointServicePayerResponsibility"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVpcEndpointServicePayerResponsibility";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePayerResponsibility")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyVpcEndpointServicePermissions
{{baseUrl}}/#Action=ModifyVpcEndpointServicePermissions
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePermissions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyVpcEndpointServicePermissions" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePermissions"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePermissions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePermissions");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePermissions"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePermissions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePermissions"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePermissions")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePermissions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePermissions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpcEndpointServicePermissions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePermissions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePermissions',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePermissions")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpcEndpointServicePermissions',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyVpcEndpointServicePermissions');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpcEndpointServicePermissions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePermissions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePermissions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePermissions" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePermissions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePermissions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVpcEndpointServicePermissions');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVpcEndpointServicePermissions');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePermissions' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePermissions' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVpcEndpointServicePermissions"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVpcEndpointServicePermissions"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePermissions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVpcEndpointServicePermissions";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePermissions'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePermissions'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePermissions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcEndpointServicePermissions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyVpcPeeringConnectionOptions
{{baseUrl}}/#Action=ModifyVpcPeeringConnectionOptions
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcPeeringConnectionOptions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyVpcPeeringConnectionOptions" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcPeeringConnectionOptions"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcPeeringConnectionOptions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcPeeringConnectionOptions");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcPeeringConnectionOptions"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcPeeringConnectionOptions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcPeeringConnectionOptions"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcPeeringConnectionOptions")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcPeeringConnectionOptions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcPeeringConnectionOptions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpcPeeringConnectionOptions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcPeeringConnectionOptions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcPeeringConnectionOptions',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcPeeringConnectionOptions")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpcPeeringConnectionOptions',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyVpcPeeringConnectionOptions');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpcPeeringConnectionOptions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcPeeringConnectionOptions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyVpcPeeringConnectionOptions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcPeeringConnectionOptions" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyVpcPeeringConnectionOptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcPeeringConnectionOptions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVpcPeeringConnectionOptions');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVpcPeeringConnectionOptions');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcPeeringConnectionOptions' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcPeeringConnectionOptions' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVpcPeeringConnectionOptions"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVpcPeeringConnectionOptions"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcPeeringConnectionOptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVpcPeeringConnectionOptions";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcPeeringConnectionOptions'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcPeeringConnectionOptions'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcPeeringConnectionOptions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcPeeringConnectionOptions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyVpcTenancy
{{baseUrl}}/#Action=ModifyVpcTenancy
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcTenancy");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyVpcTenancy" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcTenancy"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcTenancy"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcTenancy");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcTenancy"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcTenancy")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcTenancy"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcTenancy")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcTenancy")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcTenancy');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpcTenancy',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcTenancy';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcTenancy',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcTenancy")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpcTenancy',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyVpcTenancy');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpcTenancy',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcTenancy';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyVpcTenancy"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcTenancy" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyVpcTenancy",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcTenancy');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVpcTenancy');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVpcTenancy');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcTenancy' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcTenancy' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVpcTenancy"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVpcTenancy"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyVpcTenancy")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVpcTenancy";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcTenancy'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcTenancy'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyVpcTenancy'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyVpcTenancy")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyVpnConnection
{{baseUrl}}/#Action=ModifyVpnConnection
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnection");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyVpnConnection" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnection"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnection"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnection");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnection"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnection")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnection"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnection")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnection")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnection');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpnConnection',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnection';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnection',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnection")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpnConnection',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyVpnConnection');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpnConnection',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnection';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnection"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnection" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnection",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnection');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVpnConnection');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVpnConnection');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnection' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnection' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVpnConnection"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVpnConnection"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnection")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVpnConnection";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnection'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnection'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnection'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnection")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyVpnConnectionOptions
{{baseUrl}}/#Action=ModifyVpnConnectionOptions
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnectionOptions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyVpnConnectionOptions" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnectionOptions"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnectionOptions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnectionOptions");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnectionOptions"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnectionOptions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnectionOptions"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnectionOptions")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnectionOptions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnectionOptions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpnConnectionOptions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnectionOptions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnectionOptions',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnectionOptions")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpnConnectionOptions',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyVpnConnectionOptions');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpnConnectionOptions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnectionOptions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnectionOptions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnectionOptions" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnectionOptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnectionOptions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVpnConnectionOptions');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVpnConnectionOptions');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnectionOptions' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnectionOptions' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVpnConnectionOptions"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVpnConnectionOptions"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnectionOptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVpnConnectionOptions";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnectionOptions'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnectionOptions'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnectionOptions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyVpnConnectionOptions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyVpnTunnelCertificate
{{baseUrl}}/#Action=ModifyVpnTunnelCertificate
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelCertificate");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyVpnTunnelCertificate" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelCertificate"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelCertificate"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelCertificate");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelCertificate"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelCertificate")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelCertificate"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelCertificate")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelCertificate")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelCertificate');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpnTunnelCertificate',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelCertificate';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelCertificate',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelCertificate")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpnTunnelCertificate',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyVpnTunnelCertificate');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpnTunnelCertificate',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelCertificate';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelCertificate"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelCertificate" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelCertificate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelCertificate');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVpnTunnelCertificate');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVpnTunnelCertificate');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelCertificate' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelCertificate' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVpnTunnelCertificate"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVpnTunnelCertificate"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelCertificate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVpnTunnelCertificate";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelCertificate'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelCertificate'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelCertificate'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelCertificate")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ModifyVpnTunnelOptions
{{baseUrl}}/#Action=ModifyVpnTunnelOptions
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelOptions");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ModifyVpnTunnelOptions" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelOptions"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelOptions"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelOptions");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelOptions"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelOptions")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelOptions"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelOptions")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelOptions")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelOptions');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpnTunnelOptions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelOptions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelOptions',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelOptions")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpnTunnelOptions',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ModifyVpnTunnelOptions');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ModifyVpnTunnelOptions',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelOptions';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelOptions"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelOptions" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelOptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelOptions');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ModifyVpnTunnelOptions');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ModifyVpnTunnelOptions');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelOptions' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelOptions' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ModifyVpnTunnelOptions"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ModifyVpnTunnelOptions"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelOptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ModifyVpnTunnelOptions";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelOptions'
http POST '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelOptions'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelOptions'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ModifyVpnTunnelOptions")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_MonitorInstances
{{baseUrl}}/#Action=MonitorInstances
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=MonitorInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=MonitorInstances" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=MonitorInstances"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=MonitorInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=MonitorInstances");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=MonitorInstances"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=MonitorInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=MonitorInstances"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=MonitorInstances")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=MonitorInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=MonitorInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=MonitorInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=MonitorInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=MonitorInstances',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=MonitorInstances")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=MonitorInstances',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=MonitorInstances');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=MonitorInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=MonitorInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=MonitorInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=MonitorInstances" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=MonitorInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=MonitorInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=MonitorInstances');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=MonitorInstances');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=MonitorInstances' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=MonitorInstances' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=MonitorInstances"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=MonitorInstances"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=MonitorInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=MonitorInstances";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=MonitorInstances'
http POST '{{baseUrl}}/?Action=&Version=#Action=MonitorInstances'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=MonitorInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=MonitorInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_MoveAddressToVpc
{{baseUrl}}/#Action=MoveAddressToVpc
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=MoveAddressToVpc");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=MoveAddressToVpc" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=MoveAddressToVpc"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=MoveAddressToVpc"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=MoveAddressToVpc");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=MoveAddressToVpc"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=MoveAddressToVpc")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=MoveAddressToVpc"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=MoveAddressToVpc")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=MoveAddressToVpc")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=MoveAddressToVpc');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=MoveAddressToVpc',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=MoveAddressToVpc';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=MoveAddressToVpc',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=MoveAddressToVpc")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=MoveAddressToVpc',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=MoveAddressToVpc');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=MoveAddressToVpc',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=MoveAddressToVpc';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=MoveAddressToVpc"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=MoveAddressToVpc" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=MoveAddressToVpc",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=MoveAddressToVpc');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=MoveAddressToVpc');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=MoveAddressToVpc');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=MoveAddressToVpc' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=MoveAddressToVpc' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=MoveAddressToVpc"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=MoveAddressToVpc"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=MoveAddressToVpc")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=MoveAddressToVpc";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=MoveAddressToVpc'
http POST '{{baseUrl}}/?Action=&Version=#Action=MoveAddressToVpc'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=MoveAddressToVpc'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=MoveAddressToVpc")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"Status": "MoveInProgress"
}
POST
POST_MoveByoipCidrToIpam
{{baseUrl}}/#Action=MoveByoipCidrToIpam
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=MoveByoipCidrToIpam");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=MoveByoipCidrToIpam" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=MoveByoipCidrToIpam"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=MoveByoipCidrToIpam"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=MoveByoipCidrToIpam");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=MoveByoipCidrToIpam"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=MoveByoipCidrToIpam")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=MoveByoipCidrToIpam"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=MoveByoipCidrToIpam")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=MoveByoipCidrToIpam")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=MoveByoipCidrToIpam');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=MoveByoipCidrToIpam',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=MoveByoipCidrToIpam';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=MoveByoipCidrToIpam',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=MoveByoipCidrToIpam")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=MoveByoipCidrToIpam',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=MoveByoipCidrToIpam');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=MoveByoipCidrToIpam',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=MoveByoipCidrToIpam';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=MoveByoipCidrToIpam"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=MoveByoipCidrToIpam" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=MoveByoipCidrToIpam",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=MoveByoipCidrToIpam');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=MoveByoipCidrToIpam');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=MoveByoipCidrToIpam');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=MoveByoipCidrToIpam' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=MoveByoipCidrToIpam' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=MoveByoipCidrToIpam"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=MoveByoipCidrToIpam"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=MoveByoipCidrToIpam")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=MoveByoipCidrToIpam";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=MoveByoipCidrToIpam'
http POST '{{baseUrl}}/?Action=&Version=#Action=MoveByoipCidrToIpam'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=MoveByoipCidrToIpam'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=MoveByoipCidrToIpam")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ProvisionByoipCidr
{{baseUrl}}/#Action=ProvisionByoipCidr
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ProvisionByoipCidr");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ProvisionByoipCidr" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ProvisionByoipCidr"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ProvisionByoipCidr"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ProvisionByoipCidr");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ProvisionByoipCidr"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ProvisionByoipCidr")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ProvisionByoipCidr"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ProvisionByoipCidr")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ProvisionByoipCidr")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ProvisionByoipCidr');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ProvisionByoipCidr',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ProvisionByoipCidr';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ProvisionByoipCidr',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ProvisionByoipCidr")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ProvisionByoipCidr',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ProvisionByoipCidr');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ProvisionByoipCidr',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ProvisionByoipCidr';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ProvisionByoipCidr"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ProvisionByoipCidr" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ProvisionByoipCidr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ProvisionByoipCidr');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ProvisionByoipCidr');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ProvisionByoipCidr');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ProvisionByoipCidr' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ProvisionByoipCidr' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ProvisionByoipCidr"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ProvisionByoipCidr"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ProvisionByoipCidr")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ProvisionByoipCidr";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ProvisionByoipCidr'
http POST '{{baseUrl}}/?Action=&Version=#Action=ProvisionByoipCidr'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ProvisionByoipCidr'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ProvisionByoipCidr")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ProvisionIpamPoolCidr
{{baseUrl}}/#Action=ProvisionIpamPoolCidr
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ProvisionIpamPoolCidr");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ProvisionIpamPoolCidr" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ProvisionIpamPoolCidr"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ProvisionIpamPoolCidr"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ProvisionIpamPoolCidr");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ProvisionIpamPoolCidr"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ProvisionIpamPoolCidr")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ProvisionIpamPoolCidr"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ProvisionIpamPoolCidr")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ProvisionIpamPoolCidr")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ProvisionIpamPoolCidr');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ProvisionIpamPoolCidr',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ProvisionIpamPoolCidr';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ProvisionIpamPoolCidr',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ProvisionIpamPoolCidr")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ProvisionIpamPoolCidr',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ProvisionIpamPoolCidr');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ProvisionIpamPoolCidr',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ProvisionIpamPoolCidr';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ProvisionIpamPoolCidr"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ProvisionIpamPoolCidr" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ProvisionIpamPoolCidr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ProvisionIpamPoolCidr');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ProvisionIpamPoolCidr');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ProvisionIpamPoolCidr');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ProvisionIpamPoolCidr' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ProvisionIpamPoolCidr' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ProvisionIpamPoolCidr"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ProvisionIpamPoolCidr"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ProvisionIpamPoolCidr")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ProvisionIpamPoolCidr";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ProvisionIpamPoolCidr'
http POST '{{baseUrl}}/?Action=&Version=#Action=ProvisionIpamPoolCidr'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ProvisionIpamPoolCidr'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ProvisionIpamPoolCidr")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ProvisionPublicIpv4PoolCidr
{{baseUrl}}/#Action=ProvisionPublicIpv4PoolCidr
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ProvisionPublicIpv4PoolCidr");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ProvisionPublicIpv4PoolCidr" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ProvisionPublicIpv4PoolCidr"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ProvisionPublicIpv4PoolCidr"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ProvisionPublicIpv4PoolCidr");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ProvisionPublicIpv4PoolCidr"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ProvisionPublicIpv4PoolCidr")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ProvisionPublicIpv4PoolCidr"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ProvisionPublicIpv4PoolCidr")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ProvisionPublicIpv4PoolCidr")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ProvisionPublicIpv4PoolCidr');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ProvisionPublicIpv4PoolCidr',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ProvisionPublicIpv4PoolCidr';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ProvisionPublicIpv4PoolCidr',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ProvisionPublicIpv4PoolCidr")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ProvisionPublicIpv4PoolCidr',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ProvisionPublicIpv4PoolCidr');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ProvisionPublicIpv4PoolCidr',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ProvisionPublicIpv4PoolCidr';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ProvisionPublicIpv4PoolCidr"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ProvisionPublicIpv4PoolCidr" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ProvisionPublicIpv4PoolCidr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ProvisionPublicIpv4PoolCidr');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ProvisionPublicIpv4PoolCidr');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ProvisionPublicIpv4PoolCidr');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ProvisionPublicIpv4PoolCidr' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ProvisionPublicIpv4PoolCidr' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ProvisionPublicIpv4PoolCidr"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ProvisionPublicIpv4PoolCidr"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ProvisionPublicIpv4PoolCidr")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ProvisionPublicIpv4PoolCidr";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ProvisionPublicIpv4PoolCidr'
http POST '{{baseUrl}}/?Action=&Version=#Action=ProvisionPublicIpv4PoolCidr'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ProvisionPublicIpv4PoolCidr'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ProvisionPublicIpv4PoolCidr")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_PurchaseHostReservation
{{baseUrl}}/#Action=PurchaseHostReservation
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=PurchaseHostReservation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=PurchaseHostReservation" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=PurchaseHostReservation"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=PurchaseHostReservation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=PurchaseHostReservation");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=PurchaseHostReservation"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=PurchaseHostReservation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=PurchaseHostReservation"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=PurchaseHostReservation")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=PurchaseHostReservation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=PurchaseHostReservation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=PurchaseHostReservation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=PurchaseHostReservation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=PurchaseHostReservation',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=PurchaseHostReservation")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=PurchaseHostReservation',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=PurchaseHostReservation');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=PurchaseHostReservation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=PurchaseHostReservation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=PurchaseHostReservation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=PurchaseHostReservation" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=PurchaseHostReservation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=PurchaseHostReservation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=PurchaseHostReservation');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=PurchaseHostReservation');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=PurchaseHostReservation' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=PurchaseHostReservation' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=PurchaseHostReservation"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=PurchaseHostReservation"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=PurchaseHostReservation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=PurchaseHostReservation";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=PurchaseHostReservation'
http POST '{{baseUrl}}/?Action=&Version=#Action=PurchaseHostReservation'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=PurchaseHostReservation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=PurchaseHostReservation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_PurchaseReservedInstancesOffering
{{baseUrl}}/#Action=PurchaseReservedInstancesOffering
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=PurchaseReservedInstancesOffering");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=PurchaseReservedInstancesOffering" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=PurchaseReservedInstancesOffering"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=PurchaseReservedInstancesOffering"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=PurchaseReservedInstancesOffering");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=PurchaseReservedInstancesOffering"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=PurchaseReservedInstancesOffering")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=PurchaseReservedInstancesOffering"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=PurchaseReservedInstancesOffering")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=PurchaseReservedInstancesOffering")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=PurchaseReservedInstancesOffering');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=PurchaseReservedInstancesOffering',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=PurchaseReservedInstancesOffering';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=PurchaseReservedInstancesOffering',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=PurchaseReservedInstancesOffering")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=PurchaseReservedInstancesOffering',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=PurchaseReservedInstancesOffering');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=PurchaseReservedInstancesOffering',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=PurchaseReservedInstancesOffering';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=PurchaseReservedInstancesOffering"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=PurchaseReservedInstancesOffering" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=PurchaseReservedInstancesOffering",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=PurchaseReservedInstancesOffering');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=PurchaseReservedInstancesOffering');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=PurchaseReservedInstancesOffering');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=PurchaseReservedInstancesOffering' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=PurchaseReservedInstancesOffering' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=PurchaseReservedInstancesOffering"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=PurchaseReservedInstancesOffering"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=PurchaseReservedInstancesOffering")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=PurchaseReservedInstancesOffering";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=PurchaseReservedInstancesOffering'
http POST '{{baseUrl}}/?Action=&Version=#Action=PurchaseReservedInstancesOffering'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=PurchaseReservedInstancesOffering'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=PurchaseReservedInstancesOffering")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_PurchaseScheduledInstances
{{baseUrl}}/#Action=PurchaseScheduledInstances
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=PurchaseScheduledInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=PurchaseScheduledInstances" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=PurchaseScheduledInstances"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=PurchaseScheduledInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=PurchaseScheduledInstances");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=PurchaseScheduledInstances"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=PurchaseScheduledInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=PurchaseScheduledInstances"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=PurchaseScheduledInstances")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=PurchaseScheduledInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=PurchaseScheduledInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=PurchaseScheduledInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=PurchaseScheduledInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=PurchaseScheduledInstances',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=PurchaseScheduledInstances")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=PurchaseScheduledInstances',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=PurchaseScheduledInstances');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=PurchaseScheduledInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=PurchaseScheduledInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=PurchaseScheduledInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=PurchaseScheduledInstances" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=PurchaseScheduledInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=PurchaseScheduledInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=PurchaseScheduledInstances');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=PurchaseScheduledInstances');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=PurchaseScheduledInstances' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=PurchaseScheduledInstances' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=PurchaseScheduledInstances"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=PurchaseScheduledInstances"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=PurchaseScheduledInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=PurchaseScheduledInstances";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=PurchaseScheduledInstances'
http POST '{{baseUrl}}/?Action=&Version=#Action=PurchaseScheduledInstances'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=PurchaseScheduledInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=PurchaseScheduledInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"ScheduledInstanceSet": [
{
"AvailabilityZone": "us-west-2b",
"CreateDate": "2016-01-25T21:43:38.612Z",
"HourlyPrice": "0.095",
"InstanceCount": 1,
"InstanceType": "c4.large",
"NetworkPlatform": "EC2-VPC",
"NextSlotStartTime": "2016-01-31T09:00:00Z",
"Platform": "Linux/UNIX",
"Recurrence": {
"Frequency": "Weekly",
"Interval": 1,
"OccurrenceDaySet": [
1
],
"OccurrenceRelativeToEnd": false,
"OccurrenceUnit": ""
},
"ScheduledInstanceId": "sci-1234-1234-1234-1234-123456789012",
"SlotDurationInHours": 32,
"TermEndDate": "2017-01-31T09:00:00Z",
"TermStartDate": "2016-01-31T09:00:00Z",
"TotalScheduledInstanceHours": 1696
}
]
}
POST
POST_RebootInstances
{{baseUrl}}/#Action=RebootInstances
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=RebootInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=RebootInstances" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=RebootInstances"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=RebootInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=RebootInstances");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=RebootInstances"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=RebootInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=RebootInstances"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RebootInstances")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=RebootInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=RebootInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RebootInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=RebootInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=RebootInstances',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RebootInstances")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RebootInstances',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=RebootInstances');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RebootInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=RebootInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=RebootInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=RebootInstances" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=RebootInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=RebootInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RebootInstances');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RebootInstances');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=RebootInstances' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=RebootInstances' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RebootInstances"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RebootInstances"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=RebootInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RebootInstances";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=RebootInstances'
http POST '{{baseUrl}}/?Action=&Version=#Action=RebootInstances'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=RebootInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=RebootInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_RegisterImage
{{baseUrl}}/#Action=RegisterImage
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=RegisterImage");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=RegisterImage" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=RegisterImage"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=RegisterImage"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=RegisterImage");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=RegisterImage"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=RegisterImage")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=RegisterImage"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RegisterImage")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=RegisterImage")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=RegisterImage');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RegisterImage',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=RegisterImage';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=RegisterImage',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RegisterImage")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RegisterImage',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=RegisterImage');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RegisterImage',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=RegisterImage';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=RegisterImage"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=RegisterImage" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=RegisterImage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=RegisterImage');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RegisterImage');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RegisterImage');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=RegisterImage' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=RegisterImage' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RegisterImage"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RegisterImage"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=RegisterImage")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RegisterImage";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=RegisterImage'
http POST '{{baseUrl}}/?Action=&Version=#Action=RegisterImage'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=RegisterImage'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=RegisterImage")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_RegisterInstanceEventNotificationAttributes
{{baseUrl}}/#Action=RegisterInstanceEventNotificationAttributes
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=RegisterInstanceEventNotificationAttributes" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RegisterInstanceEventNotificationAttributes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RegisterInstanceEventNotificationAttributes',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=RegisterInstanceEventNotificationAttributes');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RegisterInstanceEventNotificationAttributes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RegisterInstanceEventNotificationAttributes');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RegisterInstanceEventNotificationAttributes');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RegisterInstanceEventNotificationAttributes"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RegisterInstanceEventNotificationAttributes"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RegisterInstanceEventNotificationAttributes";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes'
http POST '{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=RegisterInstanceEventNotificationAttributes")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_RegisterTransitGatewayMulticastGroupMembers
{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupMembers
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupMembers" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupMembers',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupMembers',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupMembers');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupMembers',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupMembers');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupMembers');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupMembers"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupMembers"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupMembers";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers'
http POST '{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupMembers")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_RegisterTransitGatewayMulticastGroupSources
{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupSources
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupSources" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupSources',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupSources',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupSources');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupSources',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupSources');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupSources');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupSources"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupSources"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RegisterTransitGatewayMulticastGroupSources";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources'
http POST '{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=RegisterTransitGatewayMulticastGroupSources")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_RejectTransitGatewayMulticastDomainAssociations
{{baseUrl}}/#Action=RejectTransitGatewayMulticastDomainAssociations
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=RejectTransitGatewayMulticastDomainAssociations" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RejectTransitGatewayMulticastDomainAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RejectTransitGatewayMulticastDomainAssociations',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=RejectTransitGatewayMulticastDomainAssociations');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RejectTransitGatewayMulticastDomainAssociations',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RejectTransitGatewayMulticastDomainAssociations');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RejectTransitGatewayMulticastDomainAssociations');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RejectTransitGatewayMulticastDomainAssociations"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RejectTransitGatewayMulticastDomainAssociations"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RejectTransitGatewayMulticastDomainAssociations";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations'
http POST '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayMulticastDomainAssociations")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_RejectTransitGatewayPeeringAttachment
{{baseUrl}}/#Action=RejectTransitGatewayPeeringAttachment
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayPeeringAttachment");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=RejectTransitGatewayPeeringAttachment" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayPeeringAttachment"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayPeeringAttachment"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayPeeringAttachment");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayPeeringAttachment"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayPeeringAttachment")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayPeeringAttachment"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayPeeringAttachment")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayPeeringAttachment")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayPeeringAttachment');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RejectTransitGatewayPeeringAttachment',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayPeeringAttachment';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayPeeringAttachment',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayPeeringAttachment")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RejectTransitGatewayPeeringAttachment',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=RejectTransitGatewayPeeringAttachment');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RejectTransitGatewayPeeringAttachment',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayPeeringAttachment';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayPeeringAttachment"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayPeeringAttachment" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayPeeringAttachment",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayPeeringAttachment');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RejectTransitGatewayPeeringAttachment');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RejectTransitGatewayPeeringAttachment');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayPeeringAttachment' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayPeeringAttachment' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RejectTransitGatewayPeeringAttachment"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RejectTransitGatewayPeeringAttachment"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayPeeringAttachment")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RejectTransitGatewayPeeringAttachment";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayPeeringAttachment'
http POST '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayPeeringAttachment'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayPeeringAttachment'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayPeeringAttachment")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_RejectTransitGatewayVpcAttachment
{{baseUrl}}/#Action=RejectTransitGatewayVpcAttachment
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayVpcAttachment");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=RejectTransitGatewayVpcAttachment" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayVpcAttachment"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayVpcAttachment"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayVpcAttachment");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayVpcAttachment"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayVpcAttachment")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayVpcAttachment"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayVpcAttachment")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayVpcAttachment")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayVpcAttachment');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RejectTransitGatewayVpcAttachment',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayVpcAttachment';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayVpcAttachment',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayVpcAttachment")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RejectTransitGatewayVpcAttachment',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=RejectTransitGatewayVpcAttachment');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RejectTransitGatewayVpcAttachment',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayVpcAttachment';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayVpcAttachment"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayVpcAttachment" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayVpcAttachment",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayVpcAttachment');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RejectTransitGatewayVpcAttachment');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RejectTransitGatewayVpcAttachment');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayVpcAttachment' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayVpcAttachment' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RejectTransitGatewayVpcAttachment"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RejectTransitGatewayVpcAttachment"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayVpcAttachment")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RejectTransitGatewayVpcAttachment";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayVpcAttachment'
http POST '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayVpcAttachment'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayVpcAttachment'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=RejectTransitGatewayVpcAttachment")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_RejectVpcEndpointConnections
{{baseUrl}}/#Action=RejectVpcEndpointConnections
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=RejectVpcEndpointConnections");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=RejectVpcEndpointConnections" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=RejectVpcEndpointConnections"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=RejectVpcEndpointConnections"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=RejectVpcEndpointConnections");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=RejectVpcEndpointConnections"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=RejectVpcEndpointConnections")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=RejectVpcEndpointConnections"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RejectVpcEndpointConnections")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=RejectVpcEndpointConnections")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=RejectVpcEndpointConnections');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RejectVpcEndpointConnections',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=RejectVpcEndpointConnections';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=RejectVpcEndpointConnections',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RejectVpcEndpointConnections")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RejectVpcEndpointConnections',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=RejectVpcEndpointConnections');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RejectVpcEndpointConnections',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=RejectVpcEndpointConnections';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=RejectVpcEndpointConnections"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=RejectVpcEndpointConnections" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=RejectVpcEndpointConnections",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=RejectVpcEndpointConnections');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RejectVpcEndpointConnections');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RejectVpcEndpointConnections');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=RejectVpcEndpointConnections' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=RejectVpcEndpointConnections' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RejectVpcEndpointConnections"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RejectVpcEndpointConnections"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=RejectVpcEndpointConnections")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RejectVpcEndpointConnections";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=RejectVpcEndpointConnections'
http POST '{{baseUrl}}/?Action=&Version=#Action=RejectVpcEndpointConnections'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=RejectVpcEndpointConnections'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=RejectVpcEndpointConnections")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_RejectVpcPeeringConnection
{{baseUrl}}/#Action=RejectVpcPeeringConnection
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=RejectVpcPeeringConnection");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=RejectVpcPeeringConnection" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=RejectVpcPeeringConnection"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=RejectVpcPeeringConnection"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=RejectVpcPeeringConnection");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=RejectVpcPeeringConnection"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=RejectVpcPeeringConnection")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=RejectVpcPeeringConnection"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RejectVpcPeeringConnection")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=RejectVpcPeeringConnection")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=RejectVpcPeeringConnection');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RejectVpcPeeringConnection',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=RejectVpcPeeringConnection';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=RejectVpcPeeringConnection',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RejectVpcPeeringConnection")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RejectVpcPeeringConnection',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=RejectVpcPeeringConnection');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RejectVpcPeeringConnection',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=RejectVpcPeeringConnection';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=RejectVpcPeeringConnection"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=RejectVpcPeeringConnection" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=RejectVpcPeeringConnection",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=RejectVpcPeeringConnection');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RejectVpcPeeringConnection');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RejectVpcPeeringConnection');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=RejectVpcPeeringConnection' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=RejectVpcPeeringConnection' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RejectVpcPeeringConnection"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RejectVpcPeeringConnection"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=RejectVpcPeeringConnection")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RejectVpcPeeringConnection";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=RejectVpcPeeringConnection'
http POST '{{baseUrl}}/?Action=&Version=#Action=RejectVpcPeeringConnection'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=RejectVpcPeeringConnection'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=RejectVpcPeeringConnection")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ReleaseAddress
{{baseUrl}}/#Action=ReleaseAddress
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ReleaseAddress" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReleaseAddress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReleaseAddress',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ReleaseAddress');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReleaseAddress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ReleaseAddress');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ReleaseAddress');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ReleaseAddress"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ReleaseAddress"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ReleaseAddress";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress'
http POST '{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ReleaseAddress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ReleaseHosts
{{baseUrl}}/#Action=ReleaseHosts
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ReleaseHosts");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ReleaseHosts" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ReleaseHosts"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ReleaseHosts"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ReleaseHosts");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ReleaseHosts"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ReleaseHosts")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ReleaseHosts"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ReleaseHosts")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ReleaseHosts")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ReleaseHosts');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReleaseHosts',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ReleaseHosts';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ReleaseHosts',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ReleaseHosts")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReleaseHosts',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ReleaseHosts');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReleaseHosts',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ReleaseHosts';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ReleaseHosts"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ReleaseHosts" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ReleaseHosts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ReleaseHosts');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ReleaseHosts');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ReleaseHosts');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ReleaseHosts' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ReleaseHosts' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ReleaseHosts"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ReleaseHosts"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ReleaseHosts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ReleaseHosts";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ReleaseHosts'
http POST '{{baseUrl}}/?Action=&Version=#Action=ReleaseHosts'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ReleaseHosts'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ReleaseHosts")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ReleaseIpamPoolAllocation
{{baseUrl}}/#Action=ReleaseIpamPoolAllocation
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ReleaseIpamPoolAllocation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ReleaseIpamPoolAllocation" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ReleaseIpamPoolAllocation"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ReleaseIpamPoolAllocation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ReleaseIpamPoolAllocation");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ReleaseIpamPoolAllocation"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ReleaseIpamPoolAllocation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ReleaseIpamPoolAllocation"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ReleaseIpamPoolAllocation")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ReleaseIpamPoolAllocation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ReleaseIpamPoolAllocation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReleaseIpamPoolAllocation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ReleaseIpamPoolAllocation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ReleaseIpamPoolAllocation',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ReleaseIpamPoolAllocation")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReleaseIpamPoolAllocation',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ReleaseIpamPoolAllocation');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReleaseIpamPoolAllocation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ReleaseIpamPoolAllocation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ReleaseIpamPoolAllocation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ReleaseIpamPoolAllocation" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ReleaseIpamPoolAllocation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ReleaseIpamPoolAllocation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ReleaseIpamPoolAllocation');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ReleaseIpamPoolAllocation');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ReleaseIpamPoolAllocation' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ReleaseIpamPoolAllocation' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ReleaseIpamPoolAllocation"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ReleaseIpamPoolAllocation"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ReleaseIpamPoolAllocation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ReleaseIpamPoolAllocation";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ReleaseIpamPoolAllocation'
http POST '{{baseUrl}}/?Action=&Version=#Action=ReleaseIpamPoolAllocation'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ReleaseIpamPoolAllocation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ReleaseIpamPoolAllocation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ReplaceIamInstanceProfileAssociation
{{baseUrl}}/#Action=ReplaceIamInstanceProfileAssociation
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ReplaceIamInstanceProfileAssociation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ReplaceIamInstanceProfileAssociation" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ReplaceIamInstanceProfileAssociation"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ReplaceIamInstanceProfileAssociation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ReplaceIamInstanceProfileAssociation");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ReplaceIamInstanceProfileAssociation"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ReplaceIamInstanceProfileAssociation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ReplaceIamInstanceProfileAssociation"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ReplaceIamInstanceProfileAssociation")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ReplaceIamInstanceProfileAssociation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ReplaceIamInstanceProfileAssociation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReplaceIamInstanceProfileAssociation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ReplaceIamInstanceProfileAssociation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ReplaceIamInstanceProfileAssociation',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ReplaceIamInstanceProfileAssociation")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReplaceIamInstanceProfileAssociation',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ReplaceIamInstanceProfileAssociation');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReplaceIamInstanceProfileAssociation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ReplaceIamInstanceProfileAssociation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ReplaceIamInstanceProfileAssociation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ReplaceIamInstanceProfileAssociation" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ReplaceIamInstanceProfileAssociation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ReplaceIamInstanceProfileAssociation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ReplaceIamInstanceProfileAssociation');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ReplaceIamInstanceProfileAssociation');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ReplaceIamInstanceProfileAssociation' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ReplaceIamInstanceProfileAssociation' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ReplaceIamInstanceProfileAssociation"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ReplaceIamInstanceProfileAssociation"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ReplaceIamInstanceProfileAssociation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ReplaceIamInstanceProfileAssociation";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ReplaceIamInstanceProfileAssociation'
http POST '{{baseUrl}}/?Action=&Version=#Action=ReplaceIamInstanceProfileAssociation'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ReplaceIamInstanceProfileAssociation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ReplaceIamInstanceProfileAssociation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ReplaceNetworkAclAssociation
{{baseUrl}}/#Action=ReplaceNetworkAclAssociation
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclAssociation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ReplaceNetworkAclAssociation" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclAssociation"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclAssociation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclAssociation");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclAssociation"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclAssociation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclAssociation"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclAssociation")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclAssociation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclAssociation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReplaceNetworkAclAssociation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclAssociation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclAssociation',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclAssociation")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReplaceNetworkAclAssociation',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ReplaceNetworkAclAssociation');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReplaceNetworkAclAssociation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclAssociation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclAssociation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclAssociation" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclAssociation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclAssociation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ReplaceNetworkAclAssociation');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ReplaceNetworkAclAssociation');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclAssociation' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclAssociation' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ReplaceNetworkAclAssociation"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ReplaceNetworkAclAssociation"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclAssociation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ReplaceNetworkAclAssociation";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclAssociation'
http POST '{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclAssociation'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclAssociation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclAssociation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"NewAssociationId": "aclassoc-3999875b"
}
POST
POST_ReplaceNetworkAclEntry
{{baseUrl}}/#Action=ReplaceNetworkAclEntry
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclEntry");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ReplaceNetworkAclEntry" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclEntry"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclEntry"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclEntry");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclEntry"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclEntry")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclEntry"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclEntry")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclEntry")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclEntry');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReplaceNetworkAclEntry',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclEntry';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclEntry',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclEntry")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReplaceNetworkAclEntry',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ReplaceNetworkAclEntry');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReplaceNetworkAclEntry',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclEntry';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclEntry"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclEntry" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclEntry",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclEntry');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ReplaceNetworkAclEntry');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ReplaceNetworkAclEntry');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclEntry' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclEntry' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ReplaceNetworkAclEntry"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ReplaceNetworkAclEntry"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclEntry")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ReplaceNetworkAclEntry";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclEntry'
http POST '{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclEntry'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclEntry'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ReplaceNetworkAclEntry")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ReplaceRoute
{{baseUrl}}/#Action=ReplaceRoute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ReplaceRoute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ReplaceRoute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ReplaceRoute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ReplaceRoute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ReplaceRoute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ReplaceRoute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ReplaceRoute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ReplaceRoute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ReplaceRoute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ReplaceRoute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ReplaceRoute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReplaceRoute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ReplaceRoute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ReplaceRoute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ReplaceRoute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReplaceRoute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ReplaceRoute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReplaceRoute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ReplaceRoute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ReplaceRoute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ReplaceRoute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ReplaceRoute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ReplaceRoute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ReplaceRoute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ReplaceRoute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ReplaceRoute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ReplaceRoute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ReplaceRoute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ReplaceRoute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ReplaceRoute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ReplaceRoute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ReplaceRoute'
http POST '{{baseUrl}}/?Action=&Version=#Action=ReplaceRoute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ReplaceRoute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ReplaceRoute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ReplaceRouteTableAssociation
{{baseUrl}}/#Action=ReplaceRouteTableAssociation
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ReplaceRouteTableAssociation");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ReplaceRouteTableAssociation" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ReplaceRouteTableAssociation"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ReplaceRouteTableAssociation"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ReplaceRouteTableAssociation");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ReplaceRouteTableAssociation"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ReplaceRouteTableAssociation")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ReplaceRouteTableAssociation"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ReplaceRouteTableAssociation")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ReplaceRouteTableAssociation")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ReplaceRouteTableAssociation');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReplaceRouteTableAssociation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ReplaceRouteTableAssociation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ReplaceRouteTableAssociation',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ReplaceRouteTableAssociation")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReplaceRouteTableAssociation',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ReplaceRouteTableAssociation');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReplaceRouteTableAssociation',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ReplaceRouteTableAssociation';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ReplaceRouteTableAssociation"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ReplaceRouteTableAssociation" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ReplaceRouteTableAssociation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ReplaceRouteTableAssociation');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ReplaceRouteTableAssociation');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ReplaceRouteTableAssociation');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ReplaceRouteTableAssociation' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ReplaceRouteTableAssociation' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ReplaceRouteTableAssociation"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ReplaceRouteTableAssociation"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ReplaceRouteTableAssociation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ReplaceRouteTableAssociation";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ReplaceRouteTableAssociation'
http POST '{{baseUrl}}/?Action=&Version=#Action=ReplaceRouteTableAssociation'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ReplaceRouteTableAssociation'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ReplaceRouteTableAssociation")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"NewAssociationId": "rtbassoc-3a1f0f58"
}
POST
POST_ReplaceTransitGatewayRoute
{{baseUrl}}/#Action=ReplaceTransitGatewayRoute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ReplaceTransitGatewayRoute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ReplaceTransitGatewayRoute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ReplaceTransitGatewayRoute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ReplaceTransitGatewayRoute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ReplaceTransitGatewayRoute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ReplaceTransitGatewayRoute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ReplaceTransitGatewayRoute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ReplaceTransitGatewayRoute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ReplaceTransitGatewayRoute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ReplaceTransitGatewayRoute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ReplaceTransitGatewayRoute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReplaceTransitGatewayRoute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ReplaceTransitGatewayRoute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ReplaceTransitGatewayRoute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ReplaceTransitGatewayRoute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReplaceTransitGatewayRoute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ReplaceTransitGatewayRoute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReplaceTransitGatewayRoute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ReplaceTransitGatewayRoute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ReplaceTransitGatewayRoute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ReplaceTransitGatewayRoute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ReplaceTransitGatewayRoute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ReplaceTransitGatewayRoute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ReplaceTransitGatewayRoute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ReplaceTransitGatewayRoute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ReplaceTransitGatewayRoute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ReplaceTransitGatewayRoute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ReplaceTransitGatewayRoute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ReplaceTransitGatewayRoute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ReplaceTransitGatewayRoute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ReplaceTransitGatewayRoute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ReplaceTransitGatewayRoute'
http POST '{{baseUrl}}/?Action=&Version=#Action=ReplaceTransitGatewayRoute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ReplaceTransitGatewayRoute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ReplaceTransitGatewayRoute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ReplaceVpnTunnel
{{baseUrl}}/#Action=ReplaceVpnTunnel
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ReplaceVpnTunnel");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ReplaceVpnTunnel" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ReplaceVpnTunnel"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ReplaceVpnTunnel"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ReplaceVpnTunnel");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ReplaceVpnTunnel"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ReplaceVpnTunnel")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ReplaceVpnTunnel"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ReplaceVpnTunnel")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ReplaceVpnTunnel")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ReplaceVpnTunnel');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReplaceVpnTunnel',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ReplaceVpnTunnel';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ReplaceVpnTunnel',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ReplaceVpnTunnel")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReplaceVpnTunnel',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ReplaceVpnTunnel');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReplaceVpnTunnel',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ReplaceVpnTunnel';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ReplaceVpnTunnel"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ReplaceVpnTunnel" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ReplaceVpnTunnel",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ReplaceVpnTunnel');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ReplaceVpnTunnel');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ReplaceVpnTunnel');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ReplaceVpnTunnel' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ReplaceVpnTunnel' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ReplaceVpnTunnel"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ReplaceVpnTunnel"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ReplaceVpnTunnel")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ReplaceVpnTunnel";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ReplaceVpnTunnel'
http POST '{{baseUrl}}/?Action=&Version=#Action=ReplaceVpnTunnel'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ReplaceVpnTunnel'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ReplaceVpnTunnel")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ReportInstanceStatus
{{baseUrl}}/#Action=ReportInstanceStatus
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ReportInstanceStatus");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ReportInstanceStatus" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ReportInstanceStatus"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ReportInstanceStatus"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ReportInstanceStatus");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ReportInstanceStatus"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ReportInstanceStatus")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ReportInstanceStatus"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ReportInstanceStatus")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ReportInstanceStatus")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ReportInstanceStatus');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReportInstanceStatus',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ReportInstanceStatus';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ReportInstanceStatus',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ReportInstanceStatus")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReportInstanceStatus',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ReportInstanceStatus');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ReportInstanceStatus',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ReportInstanceStatus';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ReportInstanceStatus"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ReportInstanceStatus" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ReportInstanceStatus",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ReportInstanceStatus');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ReportInstanceStatus');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ReportInstanceStatus');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ReportInstanceStatus' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ReportInstanceStatus' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ReportInstanceStatus"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ReportInstanceStatus"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ReportInstanceStatus")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ReportInstanceStatus";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ReportInstanceStatus'
http POST '{{baseUrl}}/?Action=&Version=#Action=ReportInstanceStatus'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ReportInstanceStatus'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ReportInstanceStatus")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_RequestSpotFleet
{{baseUrl}}/#Action=RequestSpotFleet
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=RequestSpotFleet");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=RequestSpotFleet" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=RequestSpotFleet"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=RequestSpotFleet"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=RequestSpotFleet");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=RequestSpotFleet"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=RequestSpotFleet")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=RequestSpotFleet"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RequestSpotFleet")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=RequestSpotFleet")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=RequestSpotFleet');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RequestSpotFleet',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=RequestSpotFleet';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=RequestSpotFleet',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RequestSpotFleet")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RequestSpotFleet',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=RequestSpotFleet');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RequestSpotFleet',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=RequestSpotFleet';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=RequestSpotFleet"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=RequestSpotFleet" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=RequestSpotFleet",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=RequestSpotFleet');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RequestSpotFleet');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RequestSpotFleet');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=RequestSpotFleet' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=RequestSpotFleet' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RequestSpotFleet"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RequestSpotFleet"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=RequestSpotFleet")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RequestSpotFleet";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=RequestSpotFleet'
http POST '{{baseUrl}}/?Action=&Version=#Action=RequestSpotFleet'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=RequestSpotFleet'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=RequestSpotFleet")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE"
}
POST
POST_RequestSpotInstances
{{baseUrl}}/#Action=RequestSpotInstances
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=RequestSpotInstances" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RequestSpotInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RequestSpotInstances',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=RequestSpotInstances');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RequestSpotInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RequestSpotInstances');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RequestSpotInstances');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RequestSpotInstances"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RequestSpotInstances"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RequestSpotInstances";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances'
http POST '{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=RequestSpotInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ResetAddressAttribute
{{baseUrl}}/#Action=ResetAddressAttribute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ResetAddressAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ResetAddressAttribute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ResetAddressAttribute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ResetAddressAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ResetAddressAttribute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ResetAddressAttribute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ResetAddressAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ResetAddressAttribute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ResetAddressAttribute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ResetAddressAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ResetAddressAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ResetAddressAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ResetAddressAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ResetAddressAttribute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ResetAddressAttribute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ResetAddressAttribute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ResetAddressAttribute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ResetAddressAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ResetAddressAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ResetAddressAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ResetAddressAttribute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ResetAddressAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ResetAddressAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ResetAddressAttribute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ResetAddressAttribute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ResetAddressAttribute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ResetAddressAttribute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ResetAddressAttribute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ResetAddressAttribute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ResetAddressAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ResetAddressAttribute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ResetAddressAttribute'
http POST '{{baseUrl}}/?Action=&Version=#Action=ResetAddressAttribute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ResetAddressAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ResetAddressAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ResetEbsDefaultKmsKeyId
{{baseUrl}}/#Action=ResetEbsDefaultKmsKeyId
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ResetEbsDefaultKmsKeyId" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ResetEbsDefaultKmsKeyId',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ResetEbsDefaultKmsKeyId',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ResetEbsDefaultKmsKeyId');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ResetEbsDefaultKmsKeyId',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ResetEbsDefaultKmsKeyId');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ResetEbsDefaultKmsKeyId');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ResetEbsDefaultKmsKeyId"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ResetEbsDefaultKmsKeyId"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ResetEbsDefaultKmsKeyId";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId'
http POST '{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ResetEbsDefaultKmsKeyId")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ResetFpgaImageAttribute
{{baseUrl}}/#Action=ResetFpgaImageAttribute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ResetFpgaImageAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ResetFpgaImageAttribute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ResetFpgaImageAttribute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ResetFpgaImageAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ResetFpgaImageAttribute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ResetFpgaImageAttribute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ResetFpgaImageAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ResetFpgaImageAttribute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ResetFpgaImageAttribute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ResetFpgaImageAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ResetFpgaImageAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ResetFpgaImageAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ResetFpgaImageAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ResetFpgaImageAttribute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ResetFpgaImageAttribute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ResetFpgaImageAttribute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ResetFpgaImageAttribute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ResetFpgaImageAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ResetFpgaImageAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ResetFpgaImageAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ResetFpgaImageAttribute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ResetFpgaImageAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ResetFpgaImageAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ResetFpgaImageAttribute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ResetFpgaImageAttribute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ResetFpgaImageAttribute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ResetFpgaImageAttribute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ResetFpgaImageAttribute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ResetFpgaImageAttribute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ResetFpgaImageAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ResetFpgaImageAttribute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ResetFpgaImageAttribute'
http POST '{{baseUrl}}/?Action=&Version=#Action=ResetFpgaImageAttribute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ResetFpgaImageAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ResetFpgaImageAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ResetImageAttribute
{{baseUrl}}/#Action=ResetImageAttribute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ResetImageAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ResetImageAttribute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ResetImageAttribute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ResetImageAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ResetImageAttribute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ResetImageAttribute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ResetImageAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ResetImageAttribute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ResetImageAttribute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ResetImageAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ResetImageAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ResetImageAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ResetImageAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ResetImageAttribute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ResetImageAttribute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ResetImageAttribute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ResetImageAttribute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ResetImageAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ResetImageAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ResetImageAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ResetImageAttribute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ResetImageAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ResetImageAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ResetImageAttribute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ResetImageAttribute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ResetImageAttribute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ResetImageAttribute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ResetImageAttribute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ResetImageAttribute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ResetImageAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ResetImageAttribute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ResetImageAttribute'
http POST '{{baseUrl}}/?Action=&Version=#Action=ResetImageAttribute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ResetImageAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ResetImageAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ResetInstanceAttribute
{{baseUrl}}/#Action=ResetInstanceAttribute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ResetInstanceAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ResetInstanceAttribute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ResetInstanceAttribute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ResetInstanceAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ResetInstanceAttribute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ResetInstanceAttribute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ResetInstanceAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ResetInstanceAttribute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ResetInstanceAttribute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ResetInstanceAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ResetInstanceAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ResetInstanceAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ResetInstanceAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ResetInstanceAttribute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ResetInstanceAttribute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ResetInstanceAttribute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ResetInstanceAttribute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ResetInstanceAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ResetInstanceAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ResetInstanceAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ResetInstanceAttribute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ResetInstanceAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ResetInstanceAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ResetInstanceAttribute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ResetInstanceAttribute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ResetInstanceAttribute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ResetInstanceAttribute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ResetInstanceAttribute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ResetInstanceAttribute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ResetInstanceAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ResetInstanceAttribute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ResetInstanceAttribute'
http POST '{{baseUrl}}/?Action=&Version=#Action=ResetInstanceAttribute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ResetInstanceAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ResetInstanceAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ResetNetworkInterfaceAttribute
{{baseUrl}}/#Action=ResetNetworkInterfaceAttribute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ResetNetworkInterfaceAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ResetNetworkInterfaceAttribute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ResetNetworkInterfaceAttribute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ResetNetworkInterfaceAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ResetNetworkInterfaceAttribute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ResetNetworkInterfaceAttribute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ResetNetworkInterfaceAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ResetNetworkInterfaceAttribute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ResetNetworkInterfaceAttribute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ResetNetworkInterfaceAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ResetNetworkInterfaceAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ResetNetworkInterfaceAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ResetNetworkInterfaceAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ResetNetworkInterfaceAttribute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ResetNetworkInterfaceAttribute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ResetNetworkInterfaceAttribute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ResetNetworkInterfaceAttribute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ResetNetworkInterfaceAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ResetNetworkInterfaceAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ResetNetworkInterfaceAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ResetNetworkInterfaceAttribute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ResetNetworkInterfaceAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ResetNetworkInterfaceAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ResetNetworkInterfaceAttribute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ResetNetworkInterfaceAttribute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ResetNetworkInterfaceAttribute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ResetNetworkInterfaceAttribute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ResetNetworkInterfaceAttribute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ResetNetworkInterfaceAttribute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ResetNetworkInterfaceAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ResetNetworkInterfaceAttribute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ResetNetworkInterfaceAttribute'
http POST '{{baseUrl}}/?Action=&Version=#Action=ResetNetworkInterfaceAttribute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ResetNetworkInterfaceAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ResetNetworkInterfaceAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_ResetSnapshotAttribute
{{baseUrl}}/#Action=ResetSnapshotAttribute
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=ResetSnapshotAttribute");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=ResetSnapshotAttribute" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=ResetSnapshotAttribute"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=ResetSnapshotAttribute"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=ResetSnapshotAttribute");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=ResetSnapshotAttribute"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=ResetSnapshotAttribute")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=ResetSnapshotAttribute"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ResetSnapshotAttribute")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=ResetSnapshotAttribute")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=ResetSnapshotAttribute');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ResetSnapshotAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=ResetSnapshotAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=ResetSnapshotAttribute',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=ResetSnapshotAttribute")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ResetSnapshotAttribute',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=ResetSnapshotAttribute');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=ResetSnapshotAttribute',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=ResetSnapshotAttribute';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=ResetSnapshotAttribute"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=ResetSnapshotAttribute" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=ResetSnapshotAttribute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=ResetSnapshotAttribute');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=ResetSnapshotAttribute');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=ResetSnapshotAttribute');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=ResetSnapshotAttribute' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=ResetSnapshotAttribute' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=ResetSnapshotAttribute"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=ResetSnapshotAttribute"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=ResetSnapshotAttribute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=ResetSnapshotAttribute";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=ResetSnapshotAttribute'
http POST '{{baseUrl}}/?Action=&Version=#Action=ResetSnapshotAttribute'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=ResetSnapshotAttribute'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=ResetSnapshotAttribute")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_RestoreAddressToClassic
{{baseUrl}}/#Action=RestoreAddressToClassic
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=RestoreAddressToClassic");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=RestoreAddressToClassic" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=RestoreAddressToClassic"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=RestoreAddressToClassic"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=RestoreAddressToClassic");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=RestoreAddressToClassic"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=RestoreAddressToClassic")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=RestoreAddressToClassic"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RestoreAddressToClassic")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=RestoreAddressToClassic")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=RestoreAddressToClassic');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RestoreAddressToClassic',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=RestoreAddressToClassic';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=RestoreAddressToClassic',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RestoreAddressToClassic")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RestoreAddressToClassic',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=RestoreAddressToClassic');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RestoreAddressToClassic',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=RestoreAddressToClassic';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=RestoreAddressToClassic"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=RestoreAddressToClassic" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=RestoreAddressToClassic",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=RestoreAddressToClassic');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RestoreAddressToClassic');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RestoreAddressToClassic');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=RestoreAddressToClassic' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=RestoreAddressToClassic' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RestoreAddressToClassic"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RestoreAddressToClassic"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=RestoreAddressToClassic")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RestoreAddressToClassic";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=RestoreAddressToClassic'
http POST '{{baseUrl}}/?Action=&Version=#Action=RestoreAddressToClassic'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=RestoreAddressToClassic'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=RestoreAddressToClassic")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"PublicIp": "198.51.100.0",
"Status": "MoveInProgress"
}
POST
POST_RestoreImageFromRecycleBin
{{baseUrl}}/#Action=RestoreImageFromRecycleBin
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=RestoreImageFromRecycleBin");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=RestoreImageFromRecycleBin" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=RestoreImageFromRecycleBin"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=RestoreImageFromRecycleBin"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=RestoreImageFromRecycleBin");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=RestoreImageFromRecycleBin"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=RestoreImageFromRecycleBin")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=RestoreImageFromRecycleBin"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RestoreImageFromRecycleBin")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=RestoreImageFromRecycleBin")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=RestoreImageFromRecycleBin');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RestoreImageFromRecycleBin',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=RestoreImageFromRecycleBin';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=RestoreImageFromRecycleBin',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RestoreImageFromRecycleBin")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RestoreImageFromRecycleBin',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=RestoreImageFromRecycleBin');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RestoreImageFromRecycleBin',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=RestoreImageFromRecycleBin';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=RestoreImageFromRecycleBin"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=RestoreImageFromRecycleBin" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=RestoreImageFromRecycleBin",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=RestoreImageFromRecycleBin');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RestoreImageFromRecycleBin');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RestoreImageFromRecycleBin');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=RestoreImageFromRecycleBin' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=RestoreImageFromRecycleBin' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RestoreImageFromRecycleBin"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RestoreImageFromRecycleBin"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=RestoreImageFromRecycleBin")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RestoreImageFromRecycleBin";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=RestoreImageFromRecycleBin'
http POST '{{baseUrl}}/?Action=&Version=#Action=RestoreImageFromRecycleBin'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=RestoreImageFromRecycleBin'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=RestoreImageFromRecycleBin")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_RestoreManagedPrefixListVersion
{{baseUrl}}/#Action=RestoreManagedPrefixListVersion
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=RestoreManagedPrefixListVersion");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=RestoreManagedPrefixListVersion" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=RestoreManagedPrefixListVersion"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=RestoreManagedPrefixListVersion"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=RestoreManagedPrefixListVersion");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=RestoreManagedPrefixListVersion"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=RestoreManagedPrefixListVersion")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=RestoreManagedPrefixListVersion"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RestoreManagedPrefixListVersion")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=RestoreManagedPrefixListVersion")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=RestoreManagedPrefixListVersion');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RestoreManagedPrefixListVersion',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=RestoreManagedPrefixListVersion';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=RestoreManagedPrefixListVersion',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RestoreManagedPrefixListVersion")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RestoreManagedPrefixListVersion',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=RestoreManagedPrefixListVersion');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RestoreManagedPrefixListVersion',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=RestoreManagedPrefixListVersion';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=RestoreManagedPrefixListVersion"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=RestoreManagedPrefixListVersion" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=RestoreManagedPrefixListVersion",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=RestoreManagedPrefixListVersion');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RestoreManagedPrefixListVersion');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RestoreManagedPrefixListVersion');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=RestoreManagedPrefixListVersion' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=RestoreManagedPrefixListVersion' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RestoreManagedPrefixListVersion"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RestoreManagedPrefixListVersion"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=RestoreManagedPrefixListVersion")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RestoreManagedPrefixListVersion";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=RestoreManagedPrefixListVersion'
http POST '{{baseUrl}}/?Action=&Version=#Action=RestoreManagedPrefixListVersion'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=RestoreManagedPrefixListVersion'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=RestoreManagedPrefixListVersion")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_RestoreSnapshotFromRecycleBin
{{baseUrl}}/#Action=RestoreSnapshotFromRecycleBin
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotFromRecycleBin");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=RestoreSnapshotFromRecycleBin" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotFromRecycleBin"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotFromRecycleBin"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotFromRecycleBin");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotFromRecycleBin"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotFromRecycleBin")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotFromRecycleBin"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotFromRecycleBin")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotFromRecycleBin")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotFromRecycleBin');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RestoreSnapshotFromRecycleBin',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotFromRecycleBin';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotFromRecycleBin',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotFromRecycleBin")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RestoreSnapshotFromRecycleBin',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=RestoreSnapshotFromRecycleBin');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RestoreSnapshotFromRecycleBin',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotFromRecycleBin';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotFromRecycleBin"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotFromRecycleBin" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotFromRecycleBin",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotFromRecycleBin');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RestoreSnapshotFromRecycleBin');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RestoreSnapshotFromRecycleBin');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotFromRecycleBin' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotFromRecycleBin' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RestoreSnapshotFromRecycleBin"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RestoreSnapshotFromRecycleBin"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotFromRecycleBin")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RestoreSnapshotFromRecycleBin";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotFromRecycleBin'
http POST '{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotFromRecycleBin'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotFromRecycleBin'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotFromRecycleBin")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_RestoreSnapshotTier
{{baseUrl}}/#Action=RestoreSnapshotTier
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotTier");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=RestoreSnapshotTier" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotTier"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotTier"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotTier");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotTier"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotTier")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotTier"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotTier")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotTier")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotTier');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RestoreSnapshotTier',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotTier';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotTier',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotTier")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RestoreSnapshotTier',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=RestoreSnapshotTier');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RestoreSnapshotTier',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotTier';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotTier"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotTier" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotTier",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotTier');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RestoreSnapshotTier');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RestoreSnapshotTier');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotTier' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotTier' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RestoreSnapshotTier"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RestoreSnapshotTier"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotTier")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RestoreSnapshotTier";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotTier'
http POST '{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotTier'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotTier'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=RestoreSnapshotTier")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_RevokeClientVpnIngress
{{baseUrl}}/#Action=RevokeClientVpnIngress
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=RevokeClientVpnIngress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=RevokeClientVpnIngress" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=RevokeClientVpnIngress"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=RevokeClientVpnIngress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=RevokeClientVpnIngress");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=RevokeClientVpnIngress"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=RevokeClientVpnIngress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=RevokeClientVpnIngress"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RevokeClientVpnIngress")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=RevokeClientVpnIngress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=RevokeClientVpnIngress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RevokeClientVpnIngress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=RevokeClientVpnIngress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=RevokeClientVpnIngress',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RevokeClientVpnIngress")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RevokeClientVpnIngress',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=RevokeClientVpnIngress');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RevokeClientVpnIngress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=RevokeClientVpnIngress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=RevokeClientVpnIngress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=RevokeClientVpnIngress" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=RevokeClientVpnIngress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=RevokeClientVpnIngress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RevokeClientVpnIngress');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RevokeClientVpnIngress');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=RevokeClientVpnIngress' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=RevokeClientVpnIngress' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RevokeClientVpnIngress"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RevokeClientVpnIngress"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=RevokeClientVpnIngress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RevokeClientVpnIngress";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=RevokeClientVpnIngress'
http POST '{{baseUrl}}/?Action=&Version=#Action=RevokeClientVpnIngress'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=RevokeClientVpnIngress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=RevokeClientVpnIngress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_RevokeSecurityGroupEgress
{{baseUrl}}/#Action=RevokeSecurityGroupEgress
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupEgress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=RevokeSecurityGroupEgress" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupEgress"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupEgress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupEgress");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupEgress"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupEgress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupEgress"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupEgress")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupEgress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupEgress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RevokeSecurityGroupEgress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupEgress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupEgress',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupEgress")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RevokeSecurityGroupEgress',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=RevokeSecurityGroupEgress');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RevokeSecurityGroupEgress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupEgress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupEgress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupEgress" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupEgress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupEgress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RevokeSecurityGroupEgress');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RevokeSecurityGroupEgress');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupEgress' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupEgress' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RevokeSecurityGroupEgress"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RevokeSecurityGroupEgress"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupEgress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RevokeSecurityGroupEgress";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupEgress'
http POST '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupEgress'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupEgress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupEgress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_RevokeSecurityGroupIngress
{{baseUrl}}/#Action=RevokeSecurityGroupIngress
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=RevokeSecurityGroupIngress" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RevokeSecurityGroupIngress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RevokeSecurityGroupIngress',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=RevokeSecurityGroupIngress');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RevokeSecurityGroupIngress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RevokeSecurityGroupIngress');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RevokeSecurityGroupIngress');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RevokeSecurityGroupIngress"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RevokeSecurityGroupIngress"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RevokeSecurityGroupIngress";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress'
http POST '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=RevokeSecurityGroupIngress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_RunInstances
{{baseUrl}}/#Action=RunInstances
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=RunInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=RunInstances" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=RunInstances"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=RunInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=RunInstances");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=RunInstances"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=RunInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=RunInstances"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RunInstances")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=RunInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=RunInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RunInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=RunInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=RunInstances',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RunInstances")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RunInstances',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=RunInstances');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RunInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=RunInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=RunInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=RunInstances" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=RunInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=RunInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RunInstances');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RunInstances');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=RunInstances' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=RunInstances' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RunInstances"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RunInstances"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=RunInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RunInstances";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=RunInstances'
http POST '{{baseUrl}}/?Action=&Version=#Action=RunInstances'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=RunInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=RunInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{}
POST
POST_RunScheduledInstances
{{baseUrl}}/#Action=RunScheduledInstances
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=RunScheduledInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=RunScheduledInstances" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=RunScheduledInstances"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=RunScheduledInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=RunScheduledInstances");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=RunScheduledInstances"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=RunScheduledInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=RunScheduledInstances"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RunScheduledInstances")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=RunScheduledInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=RunScheduledInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RunScheduledInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=RunScheduledInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=RunScheduledInstances',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=RunScheduledInstances")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RunScheduledInstances',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=RunScheduledInstances');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=RunScheduledInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=RunScheduledInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=RunScheduledInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=RunScheduledInstances" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=RunScheduledInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=RunScheduledInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=RunScheduledInstances');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=RunScheduledInstances');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=RunScheduledInstances' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=RunScheduledInstances' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=RunScheduledInstances"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=RunScheduledInstances"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=RunScheduledInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=RunScheduledInstances";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=RunScheduledInstances'
http POST '{{baseUrl}}/?Action=&Version=#Action=RunScheduledInstances'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=RunScheduledInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=RunScheduledInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"InstanceIdSet": [
"i-1234567890abcdef0"
]
}
POST
POST_SearchLocalGatewayRoutes
{{baseUrl}}/#Action=SearchLocalGatewayRoutes
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=SearchLocalGatewayRoutes");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=SearchLocalGatewayRoutes" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=SearchLocalGatewayRoutes"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=SearchLocalGatewayRoutes"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=SearchLocalGatewayRoutes");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=SearchLocalGatewayRoutes"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=SearchLocalGatewayRoutes")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=SearchLocalGatewayRoutes"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=SearchLocalGatewayRoutes")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=SearchLocalGatewayRoutes")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=SearchLocalGatewayRoutes');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=SearchLocalGatewayRoutes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=SearchLocalGatewayRoutes';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=SearchLocalGatewayRoutes',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=SearchLocalGatewayRoutes")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=SearchLocalGatewayRoutes',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=SearchLocalGatewayRoutes');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=SearchLocalGatewayRoutes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=SearchLocalGatewayRoutes';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=SearchLocalGatewayRoutes"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=SearchLocalGatewayRoutes" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=SearchLocalGatewayRoutes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=SearchLocalGatewayRoutes');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=SearchLocalGatewayRoutes');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=SearchLocalGatewayRoutes');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=SearchLocalGatewayRoutes' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=SearchLocalGatewayRoutes' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=SearchLocalGatewayRoutes"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=SearchLocalGatewayRoutes"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=SearchLocalGatewayRoutes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=SearchLocalGatewayRoutes";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=SearchLocalGatewayRoutes'
http POST '{{baseUrl}}/?Action=&Version=#Action=SearchLocalGatewayRoutes'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=SearchLocalGatewayRoutes'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=SearchLocalGatewayRoutes")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_SearchTransitGatewayMulticastGroups
{{baseUrl}}/#Action=SearchTransitGatewayMulticastGroups
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayMulticastGroups");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=SearchTransitGatewayMulticastGroups" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayMulticastGroups"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayMulticastGroups"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayMulticastGroups");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayMulticastGroups"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayMulticastGroups")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayMulticastGroups"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayMulticastGroups")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayMulticastGroups")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayMulticastGroups');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=SearchTransitGatewayMulticastGroups',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayMulticastGroups';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayMulticastGroups',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayMulticastGroups")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=SearchTransitGatewayMulticastGroups',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=SearchTransitGatewayMulticastGroups');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=SearchTransitGatewayMulticastGroups',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayMulticastGroups';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayMulticastGroups"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayMulticastGroups" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayMulticastGroups",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayMulticastGroups');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=SearchTransitGatewayMulticastGroups');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=SearchTransitGatewayMulticastGroups');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayMulticastGroups' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayMulticastGroups' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=SearchTransitGatewayMulticastGroups"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=SearchTransitGatewayMulticastGroups"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayMulticastGroups")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=SearchTransitGatewayMulticastGroups";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayMulticastGroups'
http POST '{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayMulticastGroups'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayMulticastGroups'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayMulticastGroups")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_SearchTransitGatewayRoutes
{{baseUrl}}/#Action=SearchTransitGatewayRoutes
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayRoutes");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=SearchTransitGatewayRoutes" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayRoutes"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayRoutes"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayRoutes");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayRoutes"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayRoutes")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayRoutes"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayRoutes")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayRoutes")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayRoutes');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=SearchTransitGatewayRoutes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayRoutes';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayRoutes',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayRoutes")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=SearchTransitGatewayRoutes',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=SearchTransitGatewayRoutes');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=SearchTransitGatewayRoutes',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayRoutes';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayRoutes"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayRoutes" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayRoutes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayRoutes');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=SearchTransitGatewayRoutes');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=SearchTransitGatewayRoutes');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayRoutes' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayRoutes' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=SearchTransitGatewayRoutes"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=SearchTransitGatewayRoutes"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayRoutes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=SearchTransitGatewayRoutes";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayRoutes'
http POST '{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayRoutes'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayRoutes'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=SearchTransitGatewayRoutes")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_SendDiagnosticInterrupt
{{baseUrl}}/#Action=SendDiagnosticInterrupt
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=SendDiagnosticInterrupt");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=SendDiagnosticInterrupt" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=SendDiagnosticInterrupt"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=SendDiagnosticInterrupt"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=SendDiagnosticInterrupt");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=SendDiagnosticInterrupt"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=SendDiagnosticInterrupt")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=SendDiagnosticInterrupt"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=SendDiagnosticInterrupt")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=SendDiagnosticInterrupt")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=SendDiagnosticInterrupt');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=SendDiagnosticInterrupt',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=SendDiagnosticInterrupt';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=SendDiagnosticInterrupt',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=SendDiagnosticInterrupt")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=SendDiagnosticInterrupt',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=SendDiagnosticInterrupt');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=SendDiagnosticInterrupt',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=SendDiagnosticInterrupt';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=SendDiagnosticInterrupt"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=SendDiagnosticInterrupt" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=SendDiagnosticInterrupt",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=SendDiagnosticInterrupt');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=SendDiagnosticInterrupt');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=SendDiagnosticInterrupt');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=SendDiagnosticInterrupt' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=SendDiagnosticInterrupt' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=SendDiagnosticInterrupt"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=SendDiagnosticInterrupt"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=SendDiagnosticInterrupt")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=SendDiagnosticInterrupt";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=SendDiagnosticInterrupt'
http POST '{{baseUrl}}/?Action=&Version=#Action=SendDiagnosticInterrupt'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=SendDiagnosticInterrupt'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=SendDiagnosticInterrupt")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_StartInstances
{{baseUrl}}/#Action=StartInstances
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=StartInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=StartInstances" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=StartInstances"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=StartInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=StartInstances");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=StartInstances"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=StartInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=StartInstances"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=StartInstances")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=StartInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=StartInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=StartInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=StartInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=StartInstances',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=StartInstances")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=StartInstances',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=StartInstances');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=StartInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=StartInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=StartInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=StartInstances" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=StartInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=StartInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=StartInstances');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=StartInstances');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=StartInstances' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=StartInstances' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=StartInstances"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=StartInstances"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=StartInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=StartInstances";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=StartInstances'
http POST '{{baseUrl}}/?Action=&Version=#Action=StartInstances'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=StartInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=StartInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"StartingInstances": [
{
"CurrentState": {
"Code": 0,
"Name": "pending"
},
"InstanceId": "i-1234567890abcdef0",
"PreviousState": {
"Code": 80,
"Name": "stopped"
}
}
]
}
POST
POST_StartNetworkInsightsAccessScopeAnalysis
{{baseUrl}}/#Action=StartNetworkInsightsAccessScopeAnalysis
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=StartNetworkInsightsAccessScopeAnalysis" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=StartNetworkInsightsAccessScopeAnalysis',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=StartNetworkInsightsAccessScopeAnalysis',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=StartNetworkInsightsAccessScopeAnalysis');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=StartNetworkInsightsAccessScopeAnalysis',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=StartNetworkInsightsAccessScopeAnalysis');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=StartNetworkInsightsAccessScopeAnalysis');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=StartNetworkInsightsAccessScopeAnalysis"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=StartNetworkInsightsAccessScopeAnalysis"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=StartNetworkInsightsAccessScopeAnalysis";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis'
http POST '{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAccessScopeAnalysis")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_StartNetworkInsightsAnalysis
{{baseUrl}}/#Action=StartNetworkInsightsAnalysis
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAnalysis");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=StartNetworkInsightsAnalysis" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAnalysis"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAnalysis"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAnalysis");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAnalysis"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAnalysis")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAnalysis"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAnalysis")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAnalysis")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAnalysis');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=StartNetworkInsightsAnalysis',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAnalysis';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAnalysis',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAnalysis")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=StartNetworkInsightsAnalysis',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=StartNetworkInsightsAnalysis');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=StartNetworkInsightsAnalysis',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAnalysis';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAnalysis"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAnalysis" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAnalysis",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAnalysis');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=StartNetworkInsightsAnalysis');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=StartNetworkInsightsAnalysis');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAnalysis' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAnalysis' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=StartNetworkInsightsAnalysis"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=StartNetworkInsightsAnalysis"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAnalysis")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=StartNetworkInsightsAnalysis";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAnalysis'
http POST '{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAnalysis'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAnalysis'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=StartNetworkInsightsAnalysis")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_StartVpcEndpointServicePrivateDnsVerification
{{baseUrl}}/#Action=StartVpcEndpointServicePrivateDnsVerification
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=StartVpcEndpointServicePrivateDnsVerification" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=StartVpcEndpointServicePrivateDnsVerification',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=StartVpcEndpointServicePrivateDnsVerification',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=StartVpcEndpointServicePrivateDnsVerification');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=StartVpcEndpointServicePrivateDnsVerification',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=StartVpcEndpointServicePrivateDnsVerification');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=StartVpcEndpointServicePrivateDnsVerification');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=StartVpcEndpointServicePrivateDnsVerification"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=StartVpcEndpointServicePrivateDnsVerification"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=StartVpcEndpointServicePrivateDnsVerification";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification'
http POST '{{baseUrl}}/?Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=StartVpcEndpointServicePrivateDnsVerification")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_StopInstances
{{baseUrl}}/#Action=StopInstances
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=StopInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=StopInstances" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=StopInstances"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=StopInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=StopInstances");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=StopInstances"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=StopInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=StopInstances"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=StopInstances")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=StopInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=StopInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=StopInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=StopInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=StopInstances',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=StopInstances")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=StopInstances',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=StopInstances');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=StopInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=StopInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=StopInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=StopInstances" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=StopInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=StopInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=StopInstances');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=StopInstances');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=StopInstances' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=StopInstances' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=StopInstances"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=StopInstances"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=StopInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=StopInstances";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=StopInstances'
http POST '{{baseUrl}}/?Action=&Version=#Action=StopInstances'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=StopInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=StopInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"StoppingInstances": [
{
"CurrentState": {
"Code": 64,
"Name": "stopping"
},
"InstanceId": "i-1234567890abcdef0",
"PreviousState": {
"Code": 16,
"Name": "running"
}
}
]
}
POST
POST_TerminateClientVpnConnections
{{baseUrl}}/#Action=TerminateClientVpnConnections
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=TerminateClientVpnConnections");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=TerminateClientVpnConnections" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=TerminateClientVpnConnections"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=TerminateClientVpnConnections"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=TerminateClientVpnConnections");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=TerminateClientVpnConnections"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=TerminateClientVpnConnections")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=TerminateClientVpnConnections"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=TerminateClientVpnConnections")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=TerminateClientVpnConnections")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=TerminateClientVpnConnections');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=TerminateClientVpnConnections',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=TerminateClientVpnConnections';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=TerminateClientVpnConnections',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=TerminateClientVpnConnections")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=TerminateClientVpnConnections',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=TerminateClientVpnConnections');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=TerminateClientVpnConnections',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=TerminateClientVpnConnections';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=TerminateClientVpnConnections"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=TerminateClientVpnConnections" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=TerminateClientVpnConnections",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=TerminateClientVpnConnections');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=TerminateClientVpnConnections');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=TerminateClientVpnConnections');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=TerminateClientVpnConnections' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=TerminateClientVpnConnections' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=TerminateClientVpnConnections"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=TerminateClientVpnConnections"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=TerminateClientVpnConnections")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=TerminateClientVpnConnections";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=TerminateClientVpnConnections'
http POST '{{baseUrl}}/?Action=&Version=#Action=TerminateClientVpnConnections'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=TerminateClientVpnConnections'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=TerminateClientVpnConnections")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_TerminateInstances
{{baseUrl}}/#Action=TerminateInstances
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=TerminateInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=TerminateInstances" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=TerminateInstances"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=TerminateInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=TerminateInstances");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=TerminateInstances"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=TerminateInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=TerminateInstances"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=TerminateInstances")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=TerminateInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=TerminateInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=TerminateInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=TerminateInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=TerminateInstances',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=TerminateInstances")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=TerminateInstances',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=TerminateInstances');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=TerminateInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=TerminateInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=TerminateInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=TerminateInstances" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=TerminateInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=TerminateInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=TerminateInstances');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=TerminateInstances');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=TerminateInstances' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=TerminateInstances' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=TerminateInstances"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=TerminateInstances"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=TerminateInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=TerminateInstances";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=TerminateInstances'
http POST '{{baseUrl}}/?Action=&Version=#Action=TerminateInstances'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=TerminateInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=TerminateInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{
"TerminatingInstances": [
{
"CurrentState": {
"Code": 32,
"Name": "shutting-down"
},
"InstanceId": "i-1234567890abcdef0",
"PreviousState": {
"Code": 16,
"Name": "running"
}
}
]
}
POST
POST_UnassignIpv6Addresses
{{baseUrl}}/#Action=UnassignIpv6Addresses
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=UnassignIpv6Addresses");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=UnassignIpv6Addresses" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=UnassignIpv6Addresses"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=UnassignIpv6Addresses"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=UnassignIpv6Addresses");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=UnassignIpv6Addresses"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=UnassignIpv6Addresses")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=UnassignIpv6Addresses"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=UnassignIpv6Addresses")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=UnassignIpv6Addresses")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=UnassignIpv6Addresses');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=UnassignIpv6Addresses',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=UnassignIpv6Addresses';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=UnassignIpv6Addresses',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=UnassignIpv6Addresses")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=UnassignIpv6Addresses',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=UnassignIpv6Addresses');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=UnassignIpv6Addresses',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=UnassignIpv6Addresses';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=UnassignIpv6Addresses"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=UnassignIpv6Addresses" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=UnassignIpv6Addresses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=UnassignIpv6Addresses');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=UnassignIpv6Addresses');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=UnassignIpv6Addresses');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=UnassignIpv6Addresses' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=UnassignIpv6Addresses' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=UnassignIpv6Addresses"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=UnassignIpv6Addresses"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=UnassignIpv6Addresses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=UnassignIpv6Addresses";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=UnassignIpv6Addresses'
http POST '{{baseUrl}}/?Action=&Version=#Action=UnassignIpv6Addresses'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=UnassignIpv6Addresses'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=UnassignIpv6Addresses")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_UnassignPrivateIpAddresses
{{baseUrl}}/#Action=UnassignPrivateIpAddresses
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateIpAddresses");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=UnassignPrivateIpAddresses" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateIpAddresses"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateIpAddresses"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateIpAddresses");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateIpAddresses"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateIpAddresses")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateIpAddresses"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateIpAddresses")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateIpAddresses")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateIpAddresses');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=UnassignPrivateIpAddresses',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateIpAddresses';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateIpAddresses',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateIpAddresses")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=UnassignPrivateIpAddresses',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=UnassignPrivateIpAddresses');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=UnassignPrivateIpAddresses',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateIpAddresses';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateIpAddresses"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateIpAddresses" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateIpAddresses",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateIpAddresses');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=UnassignPrivateIpAddresses');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=UnassignPrivateIpAddresses');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateIpAddresses' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateIpAddresses' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=UnassignPrivateIpAddresses"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=UnassignPrivateIpAddresses"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateIpAddresses")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=UnassignPrivateIpAddresses";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateIpAddresses'
http POST '{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateIpAddresses'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateIpAddresses'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateIpAddresses")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_UnassignPrivateNatGatewayAddress
{{baseUrl}}/#Action=UnassignPrivateNatGatewayAddress
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateNatGatewayAddress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=UnassignPrivateNatGatewayAddress" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateNatGatewayAddress"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateNatGatewayAddress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateNatGatewayAddress");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateNatGatewayAddress"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateNatGatewayAddress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateNatGatewayAddress"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateNatGatewayAddress")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateNatGatewayAddress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateNatGatewayAddress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=UnassignPrivateNatGatewayAddress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateNatGatewayAddress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateNatGatewayAddress',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateNatGatewayAddress")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=UnassignPrivateNatGatewayAddress',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=UnassignPrivateNatGatewayAddress');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=UnassignPrivateNatGatewayAddress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateNatGatewayAddress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateNatGatewayAddress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateNatGatewayAddress" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateNatGatewayAddress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateNatGatewayAddress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=UnassignPrivateNatGatewayAddress');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=UnassignPrivateNatGatewayAddress');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateNatGatewayAddress' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateNatGatewayAddress' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=UnassignPrivateNatGatewayAddress"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=UnassignPrivateNatGatewayAddress"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateNatGatewayAddress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=UnassignPrivateNatGatewayAddress";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateNatGatewayAddress'
http POST '{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateNatGatewayAddress'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateNatGatewayAddress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=UnassignPrivateNatGatewayAddress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_UnmonitorInstances
{{baseUrl}}/#Action=UnmonitorInstances
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=UnmonitorInstances");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=UnmonitorInstances" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=UnmonitorInstances"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=UnmonitorInstances"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=UnmonitorInstances");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=UnmonitorInstances"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=UnmonitorInstances")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=UnmonitorInstances"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=UnmonitorInstances")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=UnmonitorInstances")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=UnmonitorInstances');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=UnmonitorInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=UnmonitorInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=UnmonitorInstances',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=UnmonitorInstances")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=UnmonitorInstances',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=UnmonitorInstances');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=UnmonitorInstances',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=UnmonitorInstances';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=UnmonitorInstances"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=UnmonitorInstances" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=UnmonitorInstances",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=UnmonitorInstances');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=UnmonitorInstances');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=UnmonitorInstances');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=UnmonitorInstances' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=UnmonitorInstances' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=UnmonitorInstances"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=UnmonitorInstances"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=UnmonitorInstances")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=UnmonitorInstances";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=UnmonitorInstances'
http POST '{{baseUrl}}/?Action=&Version=#Action=UnmonitorInstances'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=UnmonitorInstances'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=UnmonitorInstances")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
POST
POST_UpdateSecurityGroupRuleDescriptionsEgress
{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsEgress
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsEgress" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsEgress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsEgress',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsEgress');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsEgress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsEgress');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsEgress');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsEgress"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsEgress"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsEgress";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress'
http POST '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsEgress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{}
POST
POST_UpdateSecurityGroupRuleDescriptionsIngress
{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsIngress
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsIngress" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsIngress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsIngress',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsIngress');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsIngress',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsIngress');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsIngress');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
payload = ""
conn.request("POST", "/baseUrl/?Action=&Version=", payload)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsIngress"
querystring = {"Action":"","Version":""}
payload = ""
response = requests.post(url, data=payload, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsIngress"
queryString <- list(
Action = "",
Version = ""
)
payload <- ""
response <- VERB("POST", url, body = payload, query = queryString, content_type(""))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=UpdateSecurityGroupRuleDescriptionsIngress";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress'
http POST '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=UpdateSecurityGroupRuleDescriptionsIngress")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()
RESPONSE HEADERS
Content-Type
text/xml
RESPONSE BODY xml
{}
POST
POST_WithdrawByoipCidr
{{baseUrl}}/#Action=WithdrawByoipCidr
QUERY PARAMS
Action
Version
Examples
REQUEST
CURL *hnd = curl_easy_init();
curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/?Action=&Version=#Action=WithdrawByoipCidr");
CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])
(client/post "{{baseUrl}}/#Action=WithdrawByoipCidr" {:query-params {:Action ""
:Version ""}})
require "http/client"
url = "{{baseUrl}}/?Action=&Version=#Action=WithdrawByoipCidr"
response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("{{baseUrl}}/?Action=&Version=#Action=WithdrawByoipCidr"),
};
using (var response = await client.SendAsync(request))
{
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/?Action=&Version=#Action=WithdrawByoipCidr");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{baseUrl}}/?Action=&Version=#Action=WithdrawByoipCidr"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
POST /baseUrl/?Action=&Version= HTTP/1.1
Host: example.com
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/?Action=&Version=#Action=WithdrawByoipCidr")
.execute()
.toCompletableFuture()
.thenAccept(System.out::println)
.join();
client.close();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("{{baseUrl}}/?Action=&Version=#Action=WithdrawByoipCidr"))
.method("POST", HttpRequest.BodyPublishers.noBody())
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=WithdrawByoipCidr")
.post(null)
.build();
Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/?Action=&Version=#Action=WithdrawByoipCidr")
.asString();
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('POST', '{{baseUrl}}/?Action=&Version=#Action=WithdrawByoipCidr');
xhr.send(data);
import axios from 'axios';
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=WithdrawByoipCidr',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const url = '{{baseUrl}}/?Action=&Version=#Action=WithdrawByoipCidr';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
const settings = {
async: true,
crossDomain: true,
url: '{{baseUrl}}/?Action=&Version=#Action=WithdrawByoipCidr',
method: 'POST',
headers: {}
};
$.ajax(settings).done(function (response) {
console.log(response);
});
val client = OkHttpClient()
val request = Request.Builder()
.url("{{baseUrl}}/?Action=&Version=#Action=WithdrawByoipCidr")
.post(null)
.build()
val response = client.newCall(request).execute()
const http = require('https');
const options = {
method: 'POST',
hostname: 'example.com',
port: null,
path: '/baseUrl/?Action=&Version=',
headers: {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on('data', function (chunk) {
chunks.push(chunk);
});
res.on('end', function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
const request = require('request');
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=WithdrawByoipCidr',
qs: {Action: '', Version: ''}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
const unirest = require('unirest');
const req = unirest('POST', '{{baseUrl}}/#Action=WithdrawByoipCidr');
req.query({
Action: '',
Version: ''
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});
const axios = require('axios').default;
const options = {
method: 'POST',
url: '{{baseUrl}}/#Action=WithdrawByoipCidr',
params: {Action: '', Version: ''}
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
const fetch = require('node-fetch');
const url = '{{baseUrl}}/?Action=&Version=#Action=WithdrawByoipCidr';
const options = {method: 'POST'};
try {
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
} catch (error) {
console.error(error);
}
#import
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/?Action=&Version=#Action=WithdrawByoipCidr"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt
let uri = Uri.of_string "{{baseUrl}}/?Action=&Version=#Action=WithdrawByoipCidr" in
Client.call `POST uri
>>= fun (res, body_stream) ->
(* Do stuff with the result *)
"{{baseUrl}}/?Action=&Version=#Action=WithdrawByoipCidr",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
request('POST', '{{baseUrl}}/?Action=&Version=#Action=WithdrawByoipCidr');
echo $response->getBody();
setUrl('{{baseUrl}}/#Action=WithdrawByoipCidr');
$request->setMethod(HTTP_METH_POST);
$request->setQueryData([
'Action' => '',
'Version' => ''
]);
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
setRequestUrl('{{baseUrl}}/#Action=WithdrawByoipCidr');
$request->setRequestMethod('POST');
$request->setQuery(new http\QueryString([
'Action' => '',
'Version' => ''
]));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/?Action=&Version=#Action=WithdrawByoipCidr' -Method POST
$response = Invoke-RestMethod -Uri '{{baseUrl}}/?Action=&Version=#Action=WithdrawByoipCidr' -Method POST
import http.client
conn = http.client.HTTPSConnection("example.com")
conn.request("POST", "/baseUrl/?Action=&Version=")
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
import requests
url = "{{baseUrl}}/#Action=WithdrawByoipCidr"
querystring = {"Action":"","Version":""}
response = requests.post(url, params=querystring)
print(response.json())
library(httr)
url <- "{{baseUrl}}/#Action=WithdrawByoipCidr"
queryString <- list(
Action = "",
Version = ""
)
response <- VERB("POST", url, query = queryString, content_type("application/octet-stream"))
content(response, "text")
require 'uri'
require 'net/http'
url = URI("{{baseUrl}}/?Action=&Version=#Action=WithdrawByoipCidr")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body
require 'faraday'
conn = Faraday.new(
url: 'https://example.com',
)
response = conn.post('/baseUrl/') do |req|
req.params['Action'] = ''
req.params['Version'] = ''
end
puts response.status
puts response.body
use reqwest;
#[tokio::main]
pub async fn main() {
let url = "{{baseUrl}}/#Action=WithdrawByoipCidr";
let querystring = [
("Action", ""),
("Version", ""),
];
let client = reqwest::Client::new();
let response = client.post(url)
.query(&querystring)
.send()
.await;
let results = response.unwrap()
.json::()
.await
.unwrap();
dbg!(results);
}
curl --request POST \
--url '{{baseUrl}}/?Action=&Version=#Action=WithdrawByoipCidr'
http POST '{{baseUrl}}/?Action=&Version=#Action=WithdrawByoipCidr'
wget --quiet \
--method POST \
--output-document \
- '{{baseUrl}}/?Action=&Version=#Action=WithdrawByoipCidr'
import Foundation
let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/?Action=&Version=#Action=WithdrawByoipCidr")! as URL,
cachePolicy: .useProtocolCachePolicy,
timeoutInterval: 10.0)
request.httpMethod = "POST"
let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
if (error != nil) {
print(error as Any)
} else {
let httpResponse = response as? HTTPURLResponse
print(httpResponse)
}
})
dataTask.resume()